Commit Graph

794 Commits

Author SHA1 Message Date
Marcus Huderle
9a64e43b43 sub_47030 2025-07-21 19:04:29 -05:00
Marcus Huderle
c7007c27f5 sub_47100, sub_47110, sub_47160 2025-07-21 15:18:40 -05:00
Marcus Huderle
e357bc98d3 sub_472E4 2025-07-21 14:38:36 -05:00
Marcus Huderle
1e5f7b9cc0 sub_47344 2025-07-21 14:06:11 -05:00
Marcus Huderle
8687824e48 sub_474F4 2025-07-21 13:27:06 -05:00
Marcus Huderle
52918a5b30 sub_47670
Some checks are pending
CI / build (push) Waiting to run
2025-07-21 11:48:16 -05:00
Marcus Huderle
ec3568d127 sub_478D8 2025-07-21 11:30:37 -05:00
Marcus Huderle
336962908e sub_47FBC 2025-07-21 08:18:58 -05:00
Marcus Huderle
b97c600b82 sub_47FF8 2025-07-21 08:04:50 -05:00
Marcus Huderle
a5175f1c40 sub_48124 2025-07-21 07:52:07 -05:00
Marcus Huderle
2318665986 sub_48190
Some checks are pending
CI / build (push) Waiting to run
2025-07-20 20:26:20 -05:00
Smileynator
4ea532e5eb
Decompile sub_17898 (#136)
* Decompile sub_17898

* moved global variables in order

* Decompile sub_17898
2025-07-20 16:30:46 -05:00
WhenGryphonsFly
93d703d55c
Merge pull request #135 from WhenGryphonsFly/working
Some checks failed
CI / build (push) Has been cancelled
Resolve expected_objs section bug
2025-07-18 23:13:52 -05:00
WhenGryphonsFly
da381b1728 Update sections of expected_objs 2025-07-18 22:59:20 -05:00
WhenGryphonsFly
f96adc5f40 Rename first section of rom_11B9C.s to .text 2025-07-18 22:35:26 -05:00
Marcus Huderle
8bf9ead07d sub_495A0
Some checks are pending
CI / build (push) Waiting to run
2025-07-18 19:46:27 -05:00
Marcus Huderle
35527350bb sub_497BC
Some checks failed
CI / build (push) Has been cancelled
2025-07-17 08:49:48 -05:00
Marcus Huderle
a26be688c1 sub_49850 2025-07-17 08:43:40 -05:00
Marcus Huderle
dbd3da4781 delete expected_objs/sub_49A34 2025-07-17 08:19:22 -05:00
Marcus Huderle
4e436cc355 sub_49A34 2025-07-17 08:17:14 -05:00
Retnuhytnuob
53a64bc33c
Decomp sub 34450 (#134)
Some checks are pending
CI / build (push) Waiting to run
* working in decomp me

* decomp function

* Fix unk5AC type

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-16 08:30:17 -05:00
Retnuhytnuob
ce8bb30b36
Data Dump for multiple small arrays; Corrections in Game obj; Add decomp reference aide (#128)
Some checks are pending
CI / build (push) Waiting to run
* initial data

* cleanup incorrect marker in pinballGame object

* Fix raw pointers

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-15 08:12:10 -05:00
Retnuhytnuob
2e873e095e
Rename gUnknown_0200... refs that point to the gMain space (#129)
* mark gMain variable refs

* removed address grid reference for spriteGroup; included on separate pr

* adjust labels in rom files
2025-07-15 07:44:36 -05:00
Retnuhytnuob
473dfc06d2
Dump dusclops bonus related graphics (#133)
* dump dusclops bonus stage graphics

* document oam usage

* dusclops bonus graphic

* remove comment

* change out tail half tile for space directive
2025-07-15 07:42:03 -05:00
Marcus Huderle
9b8360eaf4 Add packed_sprite_oam macro and dumping script, dump duskull spritesheet oam entries 2025-07-14 09:17:17 -05:00
Retnuhytnuob
4c8d5a9871
DataDump Pokedex entries, (0x0805C8B4) with preproc support, and english dex glyphs (0x08092FA0) (#132)
* text graphics

* add dex preproc, data dump

* remove temp test data from rom.s

* cleanup temp files

* remove dump of 086AE5EC for focus

* correct file reference

* utf handling.

* add second colon

* Align dex entry structs to 4 bytes

* Fix dex text glyphs gfx:

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-13 08:18:51 -05:00
Smileynator
32cd26024c
Decompile sub_176B0 (#131)
Some checks failed
CI / build (push) Has been cancelled
* Decompile sub_176B0

* removed exp object
2025-07-06 10:31:13 -05:00
Δelta
a1ddcdc356
Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127)
Some checks are pending
CI / build (push) Waiting to run
* Decompiled sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, and sub_50B80 added gUnknown_0200C668,gUnknown_0200EA58,gUnknown_0200BAE8,gUnknown_0200BBA0 to variables.h

* Correct PinballGame struct field at offset 0x1BC thanks to @Retn
Correct struct access in sub_50B80
Remove section .text50AD4 from linker script

* Deleted expected objects

* cleanup

---------

Co-authored-by: THCFree <me@thcfree.dev>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-05 10:27:15 -05:00
Retnuhytnuob
71b5a5def6
define several const vals (#120)
Some checks failed
CI / build (push) Has been cancelled
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:52:00 -05:00
Smileynator
724241a2ea
Decomp sub_B7F8 (#126)
* Decomp sub_B7F8
By the power of greyskull, we have the power!

* use gMain.spriteGroups instead of direct label

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:48:49 -05:00
Smileynator
e218431b2e
Decompile sub_195C4, sub_19734 and sub_19894 (#125)
* Decompile sub_195C4

* Cleaned up mumble comment

* Formatting

* Decompile sub_19734
Fixed some small things

* Decomp sub_19894
Closed the gap between rom_18784 and rom_19B64

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:40:49 -05:00
Wendy Moniuk
86ff8dd6fa
Decompile sub_1ad84 (#123)
* decompile sub_50AD4

* decompile sub_1AD84

* small cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:32:44 -05:00
WhenGryphonsFly
873b7abfec
Decompile sub_13B28 (#124)
Some checks failed
CI / build (push) Has been cancelled
* Decompile sub_13B28

Co-Authored-By: WhenGryphonsFly <84215159+WhenGryphonsFly@users.noreply.github.com>
Co-Authored-By: Marcus Huderle <huderlem@gmail.com>

* Update rom_1332C.c

---------

Co-authored-by: colecovision <4404252+colecovision@users.noreply.github.com>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-28 17:13:43 -05:00
Wendy Moniuk
88d9ab43bc
decompile sub_50AD4 (#122)
Some checks are pending
CI / build (push) Waiting to run
* decompile sub_50AD4

* small cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-28 11:17:23 -05:00
Wendy Moniuk
67671a8c64
decompile sub_30480 (#121)
* decompile sub_30480

* remove expected objects file

* change numeric literals to values that make more sense.
2025-06-28 09:21:22 -05:00
Smileynator
e6ffbd8312
Decompile sub_19490 (#119)
Some checks are pending
CI / build (push) Waiting to run
* Fixed wrong DmaCopy in sub_93F8

* Decompile sub_19490

* Removed expected_obj

* Added sane tile mapping constants instead of magic values.

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-27 18:56:03 -05:00
Marcus Huderle
a99816b8d5 sub_36CB4 2025-06-27 18:41:07 -05:00
WhenGryphonsFly
af00d32bf5
Reset expected_objs directory (#118)
Some checks are pending
CI / build (push) Waiting to run
* [WIP] Delete all expected_objs

Easier to reset than to try and figure out what individual objects need to be deleted

* [WIP] Re-add most expected_objs

Still need to re-add expected_objs associated with asm_unified

* Re-add expected_objs for asm_unified
2025-06-26 18:09:45 -05:00
Eduardo Quezada
00acbaa9c6
Some documentation (#117)
Some checks are pending
CI / build (push) Waiting to run
* Split save and cry files + some doc

* Some Bonus stage documentation
2025-06-25 20:02:14 -05:00
Marcus Huderle
319ebf1647 sub_35D54
Some checks are pending
CI / build (push) Waiting to run
2025-06-24 21:00:06 -05:00
Smileynator
8fae79dd62
Decomp sub_1931C (#116)
Some checks failed
CI / build (push) Has been cancelled
* Decomp sub_1931C

* Remove comments

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-22 08:39:37 -05:00
Marcus Huderle
9f79d92a22 sub_35AA4 2025-06-22 08:31:45 -05:00
Marcus Huderle
b30ec50e11 sub_356A0, sub_357B8, and sub_35860
Some checks are pending
CI / build (push) Waiting to run
2025-06-21 13:53:31 -05:00
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
a18ce7ed26
Name flipper toggled elements (PinballGame -> unk1E2, unk710-713, unk718-71A) (#112)
* Name flipper toggled elements

* rename outlane to have pika in name, for readability
2025-06-19 10:06:50 -05:00
Retnuhytnuob
7e7c48d01f
Name known ball related fields (unk10; unk28; unk2C; renames position, prevPosition) and unk132c (#111)
* name known ball related fields

* pr feedback: positionQ#, rather than separate naming

* remove unneeded/out-of-date comments

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:05:23 -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
Retnuhytnuob
43302a9134
Define gUnknown_086BB910 (#107)
* define gUnknown_086BB910

* remove unintended name for Substate 9

* Document buttonConfigs 2d array
2025-06-13 16:31:19 -05:00