// // sub_1004D26B0 from 0x1004d26b0 to 0x1004d27c0 (272 bytes) // // 1 xrefs: // > FMOD::System::mixerResume @ 0x1004cb358 // // 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_1004D26B0(__int64 a1) { _BYTE *v2; // x20 __int64 result; // x0 __int64 v4; // x8 __int64 (__fastcall *v5)(__int64, _QWORD); // x9 int v6; // w8 __int64 v7; // x21 __int64 v8; // x22 __int64 v9; // x8 __int64 v10; // x0 if ( !*(_BYTE *)(a1 + 8) ) return 0; v2 = (_BYTE *)(a1 + 69984); if ( !*(_BYTE *)(a1 + 69984) ) return 0; result = sub_100442B7C(a1, 0xCu); if ( !(_DWORD)result ) { result = sub_1004B1130((__int64)off_1008524C8); if ( !(_DWORD)result ) { v4 = *(_QWORD *)(a1 + 1648); if ( *(_BYTE *)(v4 + 972) ) { result = sub_10043D80C(a1, *(unsigned int *)(a1 + 1664)); if ( (_DWORD)result ) return result; v4 = *(_QWORD *)(a1 + 1648); } v5 = *(__int64 (__fastcall **)(__int64, _QWORD))(v4 + 976); if ( v5 ) { result = v5(v4 + 8, 0); if ( (_DWORD)result ) return result; v4 = *(_QWORD *)(a1 + 1648); } if ( *(_QWORD *)(v4 + 1040) ) { v6 = *(_DWORD *)(a1 + 1684); if ( v6 >= 1 ) { v7 = 0; v8 = 48; do { if ( *(_QWORD *)(*(_QWORD *)(a1 + 1696) + v8) ) { v9 = *(_QWORD *)(a1 + 1648); if ( v9 ) v10 = v9 + 8; else v10 = 0; result = (*(__int64 (__fastcall **)(__int64))(v9 + 1040))(v10); if ( (_DWORD)result ) return result; v6 = *(_DWORD *)(a1 + 1684); } ++v7; v8 += 56; } while ( v7 < v6 ); } } *v2 = 0; return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source