// // sub_59CE4 from 0x59ce4 to 0x59d8e (170 bytes) // // 1 xrefs: // > FMOD::System::mixerSuspend @ 0xb8fa0 // // 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_59CE4(int a1) { int result; // r0 int v3; // r0 int v4; // r6 int v5; // r5 int v6; // r0 int (__fastcall *v7)(int); // r3 int (__fastcall *v8)(int, int); // r2 if ( !*(_BYTE *)(a1 + 4) || *(_BYTE *)(a1 + 68936) ) return 0; v3 = *(_DWORD *)(a1 + 1112); if ( *(_DWORD *)(v3 + 812) ) { v4 = 0; v5 = 40; while ( v4 < *(_DWORD *)(a1 + 1144) ) { if ( *(_DWORD *)(*(_DWORD *)(a1 + 1156) + v5) ) { v6 = *(_DWORD *)(a1 + 1112); v7 = *(int (__fastcall **)(int))(v6 + 812); if ( v6 ) v6 += 4; result = v7(v6); if ( result ) return result; } v5 += 44; ++v4; } v3 = *(_DWORD *)(a1 + 1112); } v8 = *(int (__fastcall **)(int, int))(v3 + 780); if ( v8 ) { if ( v3 ) v3 += 4; result = v8(v3, 1); if ( result ) return result; v3 = *(_DWORD *)(a1 + 1112); } if ( !*(_BYTE *)(v3 + 776) || (result = sub_612DC(a1)) == 0 ) { result = sub_64EC0(a1, 12); if ( !result ) { result = sub_4ED5E((int *)off_E8000); if ( !result ) { *(_BYTE *)(a1 + 68936) = 1; return 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source