// // sub_54DBC from 0x54dbc to 0x54e18 (92 bytes) // // 1 xrefs: // > FMOD::SoundGroup::getSound @ 0xb6d34 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_54DBC(int a1, int a2, _DWORD *a3) { int v6; // r0 _DWORD *v7; // r2 int v8; // r4 if ( !a3 ) return 31; *a3 = 0; j_FMOD_OS_CriticalSection_Enter(*(int *)((char *)&dword_10C + (_DWORD)off_E8000)); v6 = a2 + 1; v7 = (_DWORD *)(a1 + 20); while ( 1 ) { v7 = (_DWORD *)*v7; if ( v7 == (_DWORD *)(a1 + 20) ) break; if ( !--v6 ) { *a3 = v7[2]; v8 = 0; goto LABEL_8; } } v8 = 31; LABEL_8: j_FMOD_OS_CriticalSection_Leave(*(int *)((char *)&dword_10C + (_DWORD)off_E8000)); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source