Sync math operator/utility functions from pokeheartgold

Compared/synced by hand from the pokeheartgold asm.

Some of the functions had labels corresponding to libgcc counterparts;
rename them all for consistency.

Note that some of the functions have multiple names in pokeheartgold
(of which at most one is actually used). Instead of polluting the xMAP
files with multiple symbols (some with zero length), which makes it
really hard for scripts to parse, just add these alternate names as
comments. This makes them searchable without having an effect on build
artifacts.
This commit is contained in:
UsernameFodder
2023-12-27 01:08:08 -06:00
parent e2425df3c7
commit 32998ca899
29 changed files with 538 additions and 501 deletions

View File

@@ -4,8 +4,8 @@
.public _0380B408
.public _0380B434
.public _0380B460
.public __divsi3
.public __udivsi3
.public _s32_div_f
.public _u32_div_f
.public ClearIeFlag
.public EnableIrqFlag
.public GetCurrentPlaybackTime