Xeeynamo / sotn-decomp

Decompilation of Castlevania: Symphony of the Night (PSX+Saturn)
https://sotn.xee.dev/
GNU Affero General Public License v3.0
508 stars 55 forks source link

decompile func_us_8018C90C #1634

Closed Pyromuffin closed 1 month ago

Pyromuffin commented 1 month ago

not sure where to put these externs, I didnt see a header file for this.

also, the D_us_8019AF2A[0] ^= 1; construct is sus for two reasons: 1) this is A bytes away from g_CutsceneFlags, and 2) I could only get a matching decompile by making these arrays and accessing the first element, even though a ptr would make more sense to me.

Pyromuffin commented 1 month ago

thanks everyone for helping me refine this code!