Commit Graph

224 Commits

Author SHA1 Message Date
gijs 05b93a6faa Decompile `nuScWaitTaskReady` 2023-10-20 12:25:45 +02:00
gijs ad4a954aab Rename `func_8008949C` to `nuScWaitTaskReady` 2023-10-20 12:25:29 +02:00
gijs edec5a8ec0 Decompile `nuScResetClientMesgType` 2023-10-20 12:21:58 +02:00
gijs a0e093a589 Rename `func_800890E4` to `nuScResetClientMesgType` 2023-10-20 12:21:30 +02:00
gijs 19ad06ddec Decompile `nuScEventBroadcast` 2023-10-20 12:19:04 +02:00
gijs 34c7cfa70d Decompile `nuScRemoveClient` 2023-10-20 12:18:28 +02:00
gijs 774f762631 Decompile `nuScAddClient` 2023-10-20 12:16:24 +02:00
gijs 901ff5dc63 Rename `__dma_load_loop` to `nuGfxRetraceWait` 2023-10-20 12:14:16 +02:00
gijs 0d4532eda3 Rename `Stack__dma_load_loop_delete` to `nuScRemoveClient` 2023-10-20 12:09:18 +02:00
gijs 5635db776f Rename `func_80089528` to `nuScSetFrameBufferNum` 2023-10-20 12:07:11 +02:00
gijs 0adce00abb Rename `Stack__dma_load_loop_new` to `nuScAddClient` 2023-10-20 12:03:50 +02:00
gijs 420bf3ce0c Rename `func_80088EFC` to `nuScGetGfxMQ` 2023-10-20 11:59:57 +02:00
gijs 26bd797aa0 Rename `func_80088EF0` to `nuScGetAudioMQ` 2023-10-20 11:57:13 +02:00
gijs a9ae2448a7 Correct `nusched` address 2023-10-20 11:48:26 +02:00
gijs c53a8b95e5 Identified `nuScPreNMIFunc` 2023-10-20 11:27:37 +02:00
gijs 3595244a44 Rename `func_800891A0` to `nuScEventBroadcast` 2023-10-20 11:11:25 +02:00
gijs 05dbe6d9e5 Rename `__MAIN_NOT_NULL_INF_LOOP` to `nuScPreNMIFlag` 2023-10-20 11:02:49 +02:00
gijs f1b5fa0528 Rename `D_800C4BCC` to `nuScRetraceCounter` 2023-10-20 11:01:00 +02:00
gijs 5f804ef0db Rename `__thread_800893C0` to `nuScExecuteGraphics` 2023-10-20 10:55:05 +02:00
gijs 0e2f7a99ad Rename `__thread_80089200` to `nuScExecuteAudio` 2023-10-20 10:53:50 +02:00
gijs f9188543c7 Rename `__thread_80088F08` to `nuScEventHandler` 2023-10-20 10:51:34 +02:00
gijs 2a3e5aaf05 Clean up use of `nusched.graphicsRequestBuf` 2023-10-20 10:48:49 +02:00
gijs eeddbc0da8 Rename `D_800E7A18` to `nuIdleFunc` 2023-10-20 10:46:50 +02:00
gijs d570045631 Rename `boot` to `nuBoot` 2023-10-20 10:43:13 +02:00
gijs 60f66d3b43 Change a couple functions which are now identified as coming from `nuSystem` 2023-10-20 10:35:17 +02:00
gijs ffce6e7f11 Change `main.c` to use defines in `__set_vi_mode` 2023-10-19 19:43:03 +02:00
gijs a34eed808c Rename `func_8007AB7C` to `obSendUnpackMesg` 2023-10-19 19:30:19 +02:00
gijs a5afbd93be Decompile `func_8007AB7C` 2023-10-19 19:28:58 +02:00
gijs 9227a20d5a Move stack struct of `UnpackProc` to `common.h` with name OBUnpackMesg 2023-10-19 19:27:32 +02:00
gijs 97c9f3041a Move definition of `obGetCurrentTimeF` to `common.h` 2023-10-19 19:15:17 +02:00
gijs 2e0df3b558 Rename `func_8007FD10` to `obGetCurrentTimeF` 2023-10-19 19:13:27 +02:00
gijs d4ba1d723e Decompile `func_8007FD10` 2023-10-19 19:10:19 +02:00
gijs 1bb8976741 Decompile `func_8007FD10` 2023-10-19 19:08:54 +02:00
gijs 6a14ae87ed Rename `func_8009C7CC` to `obGetCurrentTime` and move definition to `common.h` 2023-10-19 19:07:42 +02:00
gijs d36a01419a Rename `func_8009C7C0` to `obSetCurrentTime` and move definition to `common.h` 2023-10-19 19:03:13 +02:00
gijs a6217e604c Decompile `func_8009C7C0` 2023-10-19 18:57:02 +02:00
gijs 39db969fd9 Split segment `0x2CBC0` into it's own C file 2023-10-19 18:54:28 +02:00
gijs 2d464a78a4 Clean up and move definitions to `common.h` 2023-10-19 18:50:20 +02:00
gijs 6f3f544f26 Decompile `func_8007382C` 2023-10-19 18:42:31 +02:00
gijs 8a0544efc3 Clean up arguments and move definitions to `common.h` 2023-10-19 18:42:17 +02:00
gijs ef9826c23e Decompiled `__set_vi_mode` 2023-10-19 18:08:18 +02:00
gijs 3a78de26ae Cleaned up `main.c` for consistent formatting 2023-10-19 17:58:39 +02:00
gijs 120e13f0c0 Decompiled `func_80073398`
Changed some other types related to this function
Removed `obMain` for now
2023-10-19 17:11:57 +02:00
gijs b406ea3ad3 Decompiled `func_80071288`
Almost got `obMain`, still needs some fixing
2023-10-18 18:27:11 +02:00
gijs 97b0b10970 Changed `obStackMain` to be used differently in different functions as I think it's an alias 2023-10-18 17:33:01 +02:00
gijs 4f499b1f0f Decompiled `func_800764E0` and fixed `func_80077494` a bit 2023-10-18 17:05:12 +02:00
gijs 9875a517ee Fixed `__read_controller` call 2023-10-18 16:04:32 +02:00
gijs 8afad0eccf Fixed typing of `__GLOBAL_CONTROLLER_DATA_COPY` 2023-10-18 15:37:45 +02:00
gijs 1cb760c99a Decompiled `func_80076E2C` 2023-10-18 14:12:08 +02:00
gijs 6c7da7abc9 Removed address of `__osViSwapBuffer_3` 2023-10-18 13:44:37 +02:00
gijs a7b4a9c109 Decompiled `func_80077494` 2023-10-18 13:30:09 +02:00
gijs ce7f900afd Decompiled `func_80072710` 2023-10-10 13:47:34 +02:00
gijs 961718f707 Decompiled `func_800727D8` 2023-10-10 13:36:03 +02:00
gijs 20a36e05df Decompiled `func_8007337C` 2023-10-10 13:30:01 +02:00
gijs d59bf67d23 Decompiled `func_8007338C` 2023-10-10 13:28:33 +02:00
gijs 8aca547092 Tried decompiling func_8007896C but it didn't match.. 2023-10-10 13:06:42 +02:00
gijs c30c278972 Before I do something stupid... 2023-09-30 09:58:59 +02:00
gijs 2efd0cbbe9 Merged `__read_u32_le` and `UnpackProc` from `lha.c` to `_ob_rabid_jar` 2023-09-30 00:58:19 +02:00
gijs 9e1dd54094 Merged old `_ob_overconfident_mother` with `_ob_rabid_jar` 2023-09-29 18:54:56 +02:00
gijs dccd234f4a Decompiled `UnusedMallocNo` 2023-09-29 18:53:09 +02:00
gijs 80fbf0175e Cleaned up `overlay_table.c` a bit 2023-09-29 13:09:57 +02:00
gijs c63870ac14 Migrated `__OVERLAY_TABLE` to `c` 2023-09-29 12:30:44 +02:00
gijs fd34166b82 Added struct names to several `__OVERLAY_INFO` structures 2023-09-29 12:00:39 +02:00
gijs dd47587e8b Merged previously decompiled functions to named files 2023-09-29 11:47:22 +02:00
gijs cf67e12f81 Delete files without any decompiled functions
Merge some existing decompiled functions into it's actual c file
2023-09-29 11:35:16 +02:00
gijs 9d2e65d8fb Merge `class.c`, `ability.c` and `equipment.c` into `_ob_fierce_selection`
Refactor class function names
2023-09-29 11:32:58 +02:00
gijs f839da2581 Decompiled `func_8017B5BC` 2023-09-29 02:07:05 +02:00
gijs 1c2a037909 Decompiled `func_8017BA2C` 2023-09-29 02:00:16 +02:00
gijs 721b5a2236 Changed `OverlaySomething` to contain function pointer 2023-09-29 01:56:50 +02:00
gijs 26f00605e9 Decompiled `__setup_overlay_79730` 2023-09-29 01:51:49 +02:00
gijs 50717285b5 Confidently figured out the whole `overlay_87200` 2023-09-29 01:46:01 +02:00
gijs 0bcbe130a8 Added more macros for segment symbols 2023-09-29 01:16:00 +02:00
gijs 18af6601e3 Migrated some overlay data 2023-09-29 01:15:41 +02:00
gijs f403aed69a Decompiled `__get_overlay_info_71280_65C8C` 2023-09-28 23:53:55 +02:00
gijs d1b43725bc Changed signature of `__calls_romCopy_8009DA50` 2023-09-28 23:15:59 +02:00
gijs 90b8997de6 Split and migrated `rodata` of `overlay_188B60` 2023-09-28 20:02:08 +02:00
gijs 04dd85feee Fixed `asm` segment `28A7B0` to C in `overlay_286BD0` 2023-09-27 16:38:36 +02:00
gijs 8c4808f801 Migrated `rodata` for `overlay_17F9C0` 2023-09-27 01:53:46 +02:00
gijs 975f45149f Forgot to split a segment in `overlay_286BD0` 2023-09-27 01:47:44 +02:00
gijs fa7b76925a Migrated `rodata` for `overlay_177ED0` 2023-09-27 01:45:08 +02:00
gijs becb22e146 Renamed `func_overlay_145210_801F9EC8_14B0A8` to `__big_render_func_801F9EC8` 2023-09-27 01:38:28 +02:00
gijs aec46b9023 Migrated gfx from `14E530` 2023-09-27 01:34:06 +02:00
gijs 8cef1c9e6f Address to symbol for DISPLAY_LIST_801869C8 2023-09-27 01:10:34 +02:00
gijs 408cdaf436 Decompiled `func_80080798` 2023-09-27 01:07:06 +02:00
gijs 7fd4294f59 Decompiled `func_80080768` 2023-09-27 01:05:10 +02:00
gijs 957de22ea5 Decompiled `func_80080304` 2023-09-27 01:01:37 +02:00
gijs 2861309bd6 Discovered `obPtrPtrDisplayList` 2023-09-27 00:49:40 +02:00
gijs 253726d9f9 Decompiled `func_overlay_145210_801F4C38_145E18` 2023-09-27 00:27:33 +02:00
gijs fabe829cbf Decompiled `func_800737A0` 2023-09-27 00:12:20 +02:00
gijs 4c35308c05 Decompiled `func_80073ED8` 2023-09-26 23:22:45 +02:00
gijs 1fe21e35fe Migrated `rodata` for `segment_song` 2023-09-26 23:10:16 +02:00
gijs 2688fc498a Partially migrated `rodata` for `overlay_286BD0` 2023-09-26 22:42:16 +02:00
gijs a7cb4b67b8 Migrated `rodata` for `overlay_29A4C0` 2023-09-26 21:50:42 +02:00
gijs 6a3df0c7b5 Migrate `rodata` for `overlay_2A8D20` 2023-09-26 21:40:32 +02:00
gijs fda5b9afd9 Migrate `rodata` for `overlay_2AE3C0` 2023-09-26 21:36:42 +02:00
gijs 57499a5a09 Migrated `rodata` for `overlay_FA5E0` 2023-09-26 21:09:13 +02:00
gijs d6cb74bc70 Migrated `rodata` for `overlay_14EBE0` 2023-09-26 21:07:49 +02:00
gijs 9d7aea8819 Enabled `rodata` migration on `overlay_171EA0` 2023-09-26 21:00:48 +02:00
gijs 8ba64e87ab Enabled `rodata` migration on `overlay_165FC0` 2023-09-26 20:57:12 +02:00
gijs 1b31dcb739 Enabled `rodata` migration on `overlay_145210` 2023-09-26 20:40:51 +02:00