Commit Graph

56 Commits

Author SHA1 Message Date
gijs 119ba26445 Move `func_8008A354` and `func_8008A37C` closer to `nuContReadDataImpl` 2023-10-22 13:49:54 +02:00
gijs 0d150f7271 Clean up `nuContQueryImpl` 2023-10-22 13:48:26 +02:00
gijs 1f79bf2bb2 Rename `__real_read_controller` to `nuContQueryImpl` 2023-10-22 13:47:25 +02:00
gijs 07265b8744 Clean up `nuContReadImpl` 2023-10-22 13:46:17 +02:00
gijs c71a4b27ee Clean up `nuContReadNWImpl` 2023-10-22 13:45:36 +02:00
gijs 7bd27f68e3 Rename `__calls_read_controller_2` to `nuContReadNWImpl` 2023-10-22 13:40:27 +02:00
gijs 7da0c3f44d Rename `__calls_read_controller_1` to `nuContReadImpl` 2023-10-22 13:39:22 +02:00
gijs c37f5f48fd Rename `nuContRetrace` to `nuContRetraceImpl` 2023-10-22 13:36:37 +02:00
gijs 496a52b76c Rename `__read_controller` to `nuContReadDataImpl` 2023-10-22 13:36:08 +02:00
gijs 4b68acc1bf Rename `nuContPakFileFread` to `nuContPakFileOpenJis` 2023-10-22 12:59:01 +02:00
gijs ba6bc84aba Decompile `nuContPakCodeSet` 2023-10-22 12:56:04 +02:00
gijs 9dafb4f418 Rename `1AD10` to `nucontpakconv.c` 2023-10-22 12:49:23 +02:00
gijs d68db110f1 Rename `func_8008AD60` to `nuContPakFileFread`
Add `nucontpakfilefread.c`
2023-10-22 12:42:35 +02:00
gijs e493592fc2 Decompile `nuContPakRepairId` 2023-10-22 12:37:41 +02:00
gijs 7a27f83401 Clean up `nuContPakFileState` 2023-10-22 12:35:55 +02:00
gijs 3898d55536 Decompile `nuContPakFileState` 2023-10-22 12:34:06 +02:00
gijs bfcff8047b Decompile `nuContPakFileDelete` 2023-10-22 12:31:24 +02:00
gijs 361d4d7ffd Decompile `nuContPakFileReadWrite` 2023-10-22 12:25:50 +02:00
gijs 3114542ad4 Decompile `nuContPakGetFree` 2023-10-22 12:15:14 +02:00
gijs bfb4394cee Decompile `nuContPakOpen` 2023-10-22 11:59:06 +02:00
gijs 012990335c Split `nucontpak` files
Add `nucontpakopen.c`
Add `nucontpakgetfree.c`
Add `nucontpakrepairid.c`
Add `nucontpakfileopen.c`
Add `nucontpakfilereadwrite.c`
Add `nucontpakfiledelete.c`
Add `nucontpakfilestate.c`
2023-10-22 11:53:42 +02:00
gijs bf2367a63b Rename `nuContPak` functions Impl
These functions are not actually named this, but are called through the message queue
2023-10-22 11:40:45 +02:00
gijs 5c21f71aaa Rename `SP_THREAD_800BE1C0` to `nuStackGfxThread`
Fix the stack of `gfxThread`
2023-10-22 01:08:08 +02:00
gijs 0872cce98b Fix proper stack sizes
Add `DECLARE_STACK` and `STACK_START` macros
Fix addresses so `nuStackIdle` and `obStackMain` are 0x2000 in size
2023-10-22 00:07:08 +02:00
gijs b035cebc4f Add proper symbol for `nuStackSiMgrThread` 2023-10-21 23:24:00 +02:00
gijs 7668b38b44 Rename `_ob_painful_roll` to `nugfxswapcfb` 2023-10-21 20:06:31 +02:00
gijs a30c8fe5d1 Decompile `nuSiCallBackRemove` 2023-10-21 20:04:51 +02:00
gijs 9ace1366f9 Decompile `nuSiCallBackAdd` 2023-10-21 20:04:22 +02:00
gijs ad75b6d5f3 Split `1B530`, remove `nuIdle` definition
Move `nuSiCallBackAdd` to `nusicallbackadd.c`
Move `nuSiCallBackRemove` to `nusicallbackremove.c`
2023-10-21 19:53:42 +02:00
gijs e5f075888a Rename `func_8008A6E0` to `nuContPakOpen` 2023-10-21 19:10:03 +02:00
gijs 1616b6a0b1 Rename `func_8008A730` to `nuContPakGetFree` 2023-10-21 19:08:09 +02:00
gijs 37d8a3185b Rename `func_8008A758` to `nuContPakFileReadWrite` 2023-10-21 19:06:12 +02:00
gijs 16339aaa7c Rename `func_8008A798` to `nuContPakFileOpen` 2023-10-21 19:04:59 +02:00
gijs f38c7a0f3e Rename `func_8008A850` to `nuContPakFileDelete` 2023-10-21 18:17:27 +02:00
gijs c62b4a3636 Rename `func_8008A8BC` to `nuContPakFileNum` 2023-10-21 18:15:56 +02:00
gijs 9c23db285b Rename `func_8008A890` to `nuContPakFileState` 2023-10-21 18:13:39 +02:00
gijs 32c7a5b95d Rename `func_8008A8E8` to `nuContPakRepairId` 2023-10-21 18:12:30 +02:00
gijs d4b40689b4 Rename `_ob_dull_silver.c` to `nucontpakmgr.c`
Rename `func_8008A6A0` to `nuContPakMgrInit`
Rename `func_8008A6C0` to `nuContPakMgrRemove`
Rename `D_800AA040` to `nuContPakCallBack`
2023-10-21 18:11:30 +02:00
gijs 30721ffd6c Clean up around `nuContRetrace`
Rename `__calls_read_controller_0` to `nuContRetrace`
Rename `D_800A9FE0` to `nuContReadFunc`
Rename `__set_fp_8008A660` to `nuContReadFuncSet`
Rename `_ob_proper_regret.c` to `nucontreadfuncset.c`
2023-10-21 18:05:22 +02:00
gijs 19551728c2 Split `_ob_classy_fold.c`
Rename `_ob_classy_fold.c` to `nucontmgr.c`
Rename `__GLOBAL_CONTROLLER_DATA` to `nuContData`
Rename `__copy_global_controller_data` to `nuContDataGetAll`
Split `nuContQueryRead` to it's own file
Split `nuContDataGetAll` to it's own file
2023-10-21 17:54:44 +02:00
gijs 3dab52ce7d Rename `_ob_silly_cactus.c` to `nucontdatalock.c` 2023-10-21 17:39:57 +02:00
gijs 37df9533bc Rename `D_800C4B30` to `nuContDataLockKey` 2023-10-21 17:39:09 +02:00
gijs 24e91ef028 Rename `_ob_prized_reading.c` to `nucontmgr.c` 2023-10-21 17:37:13 +02:00
gijs f03558ef48 Rename a couple files and split them into their own
Rename `_ob_icy_coast.c` to `nusimgr.c`
Add decompiled `nuPiInit` to `nupiinit.c`
Add decompiled `nuPiReadRom` to `nupireadrom.c`
2023-10-21 17:33:47 +02:00
gijs a5a10f03cd Rename `_ob_grumpy_island.c` to `nugfxthread.c` and move it to `nu` folder 2023-10-21 17:25:30 +02:00
gijs 56ba9040f4 Move `nuGfxInitEX2` to it's own C file 2023-10-20 17:49:28 +02:00
gijs 094f68127e Rename `func_80089C50` to `nuGfxDisplayOn` and move it into it's own C file 2023-10-20 17:48:01 +02:00
gijs 73120a55ab Rename `black.c` to `nugfxdisplayoff.c` 2023-10-20 17:43:26 +02:00
gijs 9d669a11af Split `nuGfxTaskAllEndWait` into it's own C file 2023-10-20 17:35:53 +02:00
gijs 42c160f7b9 Rename `_ob_past_brick.c` to `nusched.c` 2023-10-20 17:33:14 +02:00