Commit Graph

121 Commits

Author SHA1 Message Date
Retnuhytnuob
e8822d07ab
Decompile sub_13D24; sub_14074; add 'anglemath.h' (#115)
Some checks are pending
CI / build (push) Waiting to run
* Decompile sub_13D24

* remove temp names from extern function definition

* decompile sub_14074

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:31:39 -05:00
Smileynator
1c0a9314f8
Decompile sub_19048, IdlePinballGameMain, sub_19190, sub_19288 and sub_19304 (#114)
* decompile IdlePinballGameMain
documented gMain.subState
Broken state due to gIdlePinballGameStateFuncs definition

* Fixed definition of gIdlePinballGameStateFuncs

* Decimpile sub_19048

* Decomp sub_19190

* Fixed the io_reg macro name for joystick without LR as an input check.

* used proper macro's for field checks

* Decompile sub_19288 and sub_19304

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:17:05 -05:00
Retnuhytnuob
6987620218
Decompiled sub 1 aaa0 (#110)
Some checks failed
CI / build (push) Has been cancelled
* decompiled sub_1AAA0

* additional documentation

* remove decomp note

* minor cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-13 16:37:25 -05:00
Smileynator
b67e21775e
Decompile sub_18DAC (#109)
* Decompile sub_18DAC

* Also decompiled sub_18F38 while at it
2025-06-13 16:33:00 -05:00
Smileynator
cbb8a73c51
Decompile sub_18B50 (#106)
* Decompiled sub_18B50

* Fixed pointer formatting in editor

* Fixed logical check, and bracket placements

* small cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-08 07:26:03 -05:00
Wendy Moniuk
9c4ee2ac15
decompile sub_4E598. (#104)
* decompile sub_4E598.

* cleanup

* remove dead section

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:35:24 -05:00
Smileynator
a631bf157d
Decompile sub_18784 and sub_187F4 (#103)
* Decompile sub_18784

* first bit of work on sub_187F4

* Matched sub_187F4

* Got a verified match due to 1 missing sign, oops.

* Removed file fragmentation

* cleanup

* tabs

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:13:29 -05:00
Δelta
1b7e0b8843
Decompiled functions: sub_50FAC,50FD4,51058,51090,51128,51150511F8 (#102)
* Decompile sub_2E67C

* Decompile sub_17634

* Delete sub_17634.o expected object

* Delete sub_2E67C.o expected object

* Decompiled function sub_50FAC(void) and added SpriteSetTableEntry variable(gUnknown_086B155C[])  and struct SpriteSetTableEntry

* Deleted sub_50FAC.o

* Decompiled sub_50FD4 and deleted its object

* Decompiled sub_51068 and deleted its object

* Decompiled sub_51090 and deleted its object

* Decompiled sub_51128 and deleted its object

* Decompiled sub_51150 and deleted its object

* Decompiled sub_511F8 and deleted its object

* Removed header comments

* Use correct struct access

* Use correct struct access here too

* cleanup

---------

Co-authored-by: THCFree <me@thcfree.dev>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:00:37 -05:00
Smileynator
589b962b68
Decompile sub_18A4C and sub_18AE0 (#101)
* Decompiled sub_18A4C and sub_18AE0

* Renamed rom file to reflect starting address

* fixup ld_script and style

* spaces

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-05-30 16:11:09 -05:00
ColinT
81f0629785
Decompile sub_31BE8 (#98)
* Decompile sub_31be8

* fix matching
2025-05-26 14:01:58 -05:00
Marcus Huderle
b16a450d83 Merge pokedex.c and pokedex_end.c 2025-05-20 08:43:00 -05:00
ColinT
bb86e54902
decompile sub_31CF8 (#97)
Some checks failed
CI / build (push) Has been cancelled
* decompile sub_31CF8

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-05-19 08:20:03 -05:00
ColinT
09403d1e89
Decompile sub_12BF8 (#96)
* Decompile sub_12BF8

* Fix up types and DmaCopy calls

* formatting cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-05-19 08:07:30 -05:00
ColinT
e9378c83b6
Decompile function 27E08 (#95)
* temp

* Decomp 27E08

* Delete expected_obj

* Rewrite as for loop

* Fix non-matching code

* Delete asm of decompiled function

* Fix styles
2025-04-27 08:19:34 -05:00
WhenGryphonsFly
46bab41bdc
Merge pull request #85 from Hyenate/master
Decompile sub_19C04 and sub_19CC8
2025-03-02 12:17:31 -06:00
WhenGryphonsFly
bca0708e77
Merge pull request #83 from Gameonlp/sub_1332C
Decompile Sub_1332C
2025-03-02 12:13:54 -06:00
Nate Bouchat
12d16d88d4 Decompile sub_19CC8 2025-03-01 21:48:25 -05:00
Nate Bouchat
16b857a46a Decompile sub_19B90
Some checks are pending
CI / build (push) Waiting to run
2025-02-25 08:07:38 -06:00
Gameonlp
d98ef88443 decompiled sub_1332C 2025-02-23 19:31:48 +01:00
Marcus Huderle
9686ef500b nullsub_18, and remove pinball_game_main.s
Some checks are pending
CI / build (push) Waiting to run
2025-02-19 20:41:32 -06:00
Nate Bouchat
b7b0dd0eab Decompile sub_19B10 2025-02-17 22:56:57 -05:00
Nate Bouchat
f5db94df11 Decompile sub_1AA38 2025-02-16 22:25:54 -05:00
Marcus Huderle
916062e81b Split out pinball_game_main.c 2025-02-15 13:09:37 -06:00
PikalaxALT
a0b7de3e3c Decompile sub_2414 2025-02-15 10:52:04 -06:00
Nate Bouchat
3d092d257f Decompile sub_1A98C 2025-02-14 16:40:00 -05:00
Nate Bouchat
11b3259545 Modify section names to match styles 2025-02-14 15:44:46 -05:00
Marcus Huderle
00a260987e Delete asm/intro.s
Some checks failed
CI / build (push) Has been cancelled
2025-02-11 08:58:50 -06:00
Seyed Mahdi Hosseini
5fd3fa5173 decompile rest of high_score 2025-02-10 10:23:21 +09:00
WhenGryphonsFly
d0f8513057 Decompile sub_19D04 2025-02-09 15:52:44 -06:00
Nate Bouchat
23a3753808 Decompile sub_19B64 2025-02-08 13:47:59 -05:00
Adewotta
4ba4c73dc8
Decompile sub_11B9C (#63)
* Decompile function

* Cleanup

* Remove comment

* Update names

* Style

* Update array size

* Suggested changes

---------

Co-authored-by: Adewotta <dylanwestbro01@gmail.com>
2025-02-05 17:52:06 -06:00
WhenGryphonsFly
b4aa0b9f34 Finish gbplayer.s 2024-10-22 18:13:17 -05:00
WhenGryphonsFly
c40a0df952 Move rom_3219C.c to rom_31F6C.c 2024-09-17 16:28:26 -05:00
WhenGryphonsFly
d178105648 Decompile link.s 2024-08-11 15:35:39 -05:00
WhenGryphonsFly
9a15a3a038 Split rom_9BC
Split rom_9BC.s/.c into its known components gbplayer.c/.s and link.s, as well as its unknown component rom_2414.s/.c
2024-08-04 20:44:45 -05:00
Seth Barberee
0d447f6ee3 inital intro work 2024-01-15 21:03:04 -08:00
WhenGryphonsFly
5e9b285773 Complete ereader.s 2024-01-06 18:08:12 -06:00
Seth Barberee
bba1157f96 first attempt at high scores decomp 2023-08-25 10:43:10 -07:00
WhenGryphonsFly
1903a6e32e Decompile PokedexMain 2023-08-22 17:50:13 -05:00
WhenGryphonsFly
299eae4828 Decompile ResetPokedex
There are some instructions that don't quite line up, but I'm hoping it's just the push/pop messing things up
2023-08-13 12:43:03 -05:00
WhenGryphonsFly
a1a8e1710c Update ld_script.txt 2023-06-25 15:20:53 -05:00
Seth Barberee
f67da66678 initial work of ereader and document bg music songs 2023-06-25 10:26:50 -07:00
WhenGryphonsFly
3efabd8be2 Revoke execute permissions 2023-06-16 20:18:38 -05:00
PikalaxALT
810224959f Fixup 2021-07-23 09:32:38 -05:00
PikalaxALT
a1ad5cb2d9 through sub_2768 2021-07-23 09:32:38 -05:00
Marcus Huderle
9b8813a72e Start decompiling bonus_field_select.c 2020-07-05 20:55:30 -05:00
Marcus Huderle
d49b981915 Decompile some functions in options.c 2020-07-05 17:07:48 -05:00
Cameron Hall
0de7fdc613 decompile field_select.s 2019-08-11 18:28:44 -05:00
Cameron Hall
b0870ee7fb decompile through sub_51C3C 2019-08-11 13:11:32 -05:00
Cameron Hall
254f7f6a21 decompile rom_528AC.s 2019-08-07 17:44:24 -05:00
Cameron Hall
66780ab02c decompile rom_1068C.s 2019-08-05 21:48:30 -05:00
Cameron Hall
bcd0c961fa import strlen 2019-08-04 23:42:54 -05:00
Cameron Hall
890edd5103 import agb_sram library 2019-08-04 23:24:09 -05:00
Cameron Hall
a6e0483749 finish decompiling titlescreen.s 2019-08-04 22:40:08 -05:00
Cameron Hall
ea69c98caa replace raw addresses in m4a code 2019-08-04 18:52:05 -05:00
Cameron Hall
aa6920a31c fix function pointers misidentified as data, and remove undefined_rom.txt hack 2019-08-04 18:35:37 -05:00
Cameron Hall
f352ab8d0d migrate IWRAM symbols to ld script 2019-08-04 11:51:23 -05:00
Cameron Hall
9ae0e5b3ba migrate EWRAM symbols to ld script 2019-08-04 11:36:14 -05:00
Cameron Hall
a2331ea91e convert hardcoded IWRAM addresses to symbols in asm 2019-08-04 10:41:23 -05:00
Cameron Hall
3c23dc2aa0 convert hardcoded EWRAM addresses to symbols in asm 2019-08-04 10:38:27 -05:00
Cameron Hall
a4a7a13d9f convert hardcoded ROM addresses to symbols in asm 2019-08-04 10:34:11 -05:00
Cameron Hall
b97a0894bf update m4a library 2019-08-01 23:23:43 -05:00
Cameron Hall
840dc3e1c2 define SoundMainRAM_Buffer 2019-08-01 23:00:58 -05:00
Cameron Hall
c04e14d2fe m4a COMMON syms 2019-08-01 22:52:18 -05:00
Marcus Huderle
c427a4af00 Attempt to decompile sub_3219C 2018-10-24 18:16:57 -05:00
Marcus Huderle
41baa271c3 More decompiling + gbplayer lib code 2018-10-24 18:16:51 -05:00
Marcus Huderle
d943da35b4 Decompile some more functions up to AgbMain 2018-10-21 17:03:33 -05:00
Marcus Huderle
c028df7ce7 Decompile a couple functions in titlescreen, and label gMain 2018-10-15 19:57:26 -05:00
Marcus Huderle
5a87582cc1 Split some main files 2018-10-15 17:58:42 -05:00
Marcus Huderle
c4fc85ce9e Add graphics capabilities 2018-10-13 15:49:44 -05:00
Marcus Huderle
0c6c4ec14a Use pret-style linkerscript 2018-10-13 14:14:45 -05:00