// // sub_52628 from 0x52628 to 0x526a6 (126 bytes) // // 0 xrefs: // // 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_52628(_DWORD *a1, int a2, int a3) { int v6; // r6 _DWORD *v7; // r5 int v8; // r0 int v10; // [sp+4h] [bp-24h] BYREF char v11; // [sp+8h] [bp-20h] int v12; // [sp+Ch] [bp-1Ch] BYREF v12 = 0; v6 = sub_BFFC4(&v12); if ( !v6 ) { *(_DWORD *)(a2 + 4) = v12 - a1[9]; if ( !a3 ) { v10 = a1[8]; j_FMOD_OS_CriticalSection_Enter(v10); v11 = 1; v7 = a1 + 2; while ( 1 ) { v7 = (_DWORD *)*v7; if ( v7 == a1 + 2 ) break; v8 = sub_6B376(v7, a2); if ( v8 ) { v6 = v8; sub_44984((int)&v10); return v6; } } sub_44984((int)&v10); return 0; } v6 = sub_6B376(a3, a2); if ( !v6 ) return 0; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source