// // sub_58A7C from 0x58a7c to 0x58ade (98 bytes) // // 1 xrefs: // > FMOD::System::createDSPByPlugin @ 0xb82a0 // // 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_58A7C(int a1, int a2, int *a3) { int *v4; // r5 int result; // r0 int v6; // r0 unsigned int *v7; // r0 unsigned int v8; // r1 _DWORD *v9; // [sp+4h] [bp-Ch] BYREF v9 = nullptr; if ( !*(_DWORD *)(a1 + 68272) ) return 67; if ( !a3 ) return 31; v4 = (int *)(a1 + 68272); *a3 = 0; result = sub_51A4C(*(_DWORD *)(a1 + 68272), a2, &v9); if ( !result ) { result = sub_51CA4(*v4, v9, nullptr, a3); if ( !result ) { v6 = *a3; __dmb(0xBu); v7 = (unsigned int *)(v6 + 92); do v8 = __ldrex(v7); while ( __strex(v8 | 4, v7) ); __dmb(0xBu); ++v9[10]; return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source