// // sub_54B9E from 0x54b9e to 0x54bfc (94 bytes) // // 1 xrefs: // > FMOD::SoundGroup::setMaxAudibleBehavior @ 0xb6904 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:40:45 +0000 // int __fastcall sub_54B9E(_DWORD *a1, unsigned int a2) { int v5; // r1 _DWORD *v6; // r2 _DWORD *v7; // r0 int v8; // r4 _DWORD *v9; // r5 bool v10; // cc if ( a2 > 2 ) return 31; if ( a2 != 1 && a1[14] == 1 ) { v5 = 0; v6 = (_DWORD *)a1[8]; while ( v6 != a1 + 8 ) { v7 = (_DWORD *)v6[2]; v8 = v5 + 1; v9 = (_DWORD *)*v6; v7[92] = 1065353216; v7[93] = 1065353216; v10 = v5 < a1[13]; v6 = v9; ++v5; if ( !v10 ) { (*(void (__fastcall **)(_DWORD *))(*v7 + 4))(v7); v6 = v9; v5 = v8; } } } a1[14] = a2; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source