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

decompiling func_us_801753E4 #1856

Closed Onenutmcgee closed 2 weeks ago

Onenutmcgee commented 2 weeks ago

D_us_80172BE4 seems like it should be an array of a struct, but the psp version uses math to move around the single dim array of s32. I messed with it, but couldn't figure out a way to do it where we kept all the left shifts in the psp version.

No condition for loop is weird, but it's what is needed. (or a while(1), but I really don't like that either).

PSX: https://decomp.me/scratch/r7VMm PSP: https://decomp.me/scratch/zX0Ly