// // sub_1004D25A4 from 0x1004d25a4 to 0x1004d26b0 (268 bytes) // // 1 xrefs: // > FMOD::System::mixerSuspend @ 0x1004cb294 // // 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 // __int64 __fastcall sub_1004D25A4(__int64 a1) { _BYTE *v2; // x20 __int64 result; // x0 __int64 v4; // x9 int v5; // w8 __int64 v6; // x21 __int64 v7; // x22 __int64 v8; // x8 __int64 v9; // x0 __int64 (__fastcall *v10)(__int64, __int64); // x8 if ( !*(_BYTE *)(a1 + 8) ) return 0; v2 = (_BYTE *)(a1 + 69984); if ( *(_BYTE *)(a1 + 69984) ) return 0; v4 = *(_QWORD *)(a1 + 1648); if ( *(_QWORD *)(v4 + 1040) ) { v5 = *(_DWORD *)(a1 + 1684); if ( v5 >= 1 ) { v6 = 0; v7 = 48; do { if ( *(_QWORD *)(*(_QWORD *)(a1 + 1696) + v7) ) { v8 = *(_QWORD *)(a1 + 1648); if ( v8 ) v9 = v8 + 8; else v9 = 0; result = (*(__int64 (__fastcall **)(__int64))(v8 + 1040))(v9); if ( (_DWORD)result ) return result; v5 = *(_DWORD *)(a1 + 1684); } ++v6; v7 += 56; } while ( v6 < v5 ); v4 = *(_QWORD *)(a1 + 1648); } } v10 = *(__int64 (__fastcall **)(__int64, __int64))(v4 + 976); if ( v10 ) { result = v10(v4 + 8, 1); if ( (_DWORD)result ) return result; v4 = *(_QWORD *)(a1 + 1648); } if ( !*(_BYTE *)(v4 + 972) || (result = sub_10043D6E0(a1), !(_DWORD)result) ) { result = sub_100442B5C(a1, 0xCu); if ( !(_DWORD)result ) { result = sub_1004B1108((__int64)off_1008524C8); if ( !(_DWORD)result ) *v2 = 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source