// // sub_52286 from 0x52286 to 0x522ec (102 bytes) // // 1 xrefs: // > sub_522EC @ 0x52458 // // 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 // bool __fastcall sub_52286(int a1, int a2) { _DWORD *v4; // r9 int v5; // r4 _DWORD *v6; // r5 _DWORD *i; // r6 int j; // r6 _BOOL4 v9; // r4 int v11; // [sp+0h] [bp-20h] BYREF char v12; // [sp+4h] [bp-1Ch] v11 = *(_DWORD *)(a1 + 32); j_FMOD_OS_CriticalSection_Enter(v11); v4 = (_DWORD *)(a1 + 8); v5 = 0; v12 = 1; v6 = v4; for ( i = v4; ; v5 += sub_6B748(i, a2) ) { i = (_DWORD *)*i; if ( i == v4 ) break; } if ( v5 ) { for ( j = 0; ; j += sub_6B782(v6, a2) ) { v6 = (_DWORD *)*v6; if ( v6 == v4 ) break; } v9 = j == v5; } else { v9 = 0; } sub_44984((int)&v11); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source