// // sub_1004D00C8 from 0x1004d00c8 to 0x1004d0198 (208 bytes) // // 1 xrefs: // > FMOD::System::release @ 0x1004c7a04 // // 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_1004D00C8(__int64 a1) { __int64 v2; // x20 __int64 result; // x0 void (__fastcall ***v4)(_QWORD); // x0 v2 = a1 + 69128; if ( !*(_BYTE *)(a1 + 8) ) goto LABEL_5; if ( *(_BYTE *)(a1 + 69984) ) return 28; result = sub_1004CEE58(a1, 0); if ( !(_DWORD)result ) { LABEL_5: v4 = *(void (__fastcall ****)(_QWORD))(a1 + 1648); if ( v4 ) { (**v4)(v4); *(_QWORD *)(a1 + 1648) = 0; } if ( *(_QWORD *)v2 ) { result = sub_1004BB2C4(*(_QWORD *)v2, 1); if ( (_DWORD)result ) return result; *(_QWORD *)v2 = 0; *(_BYTE *)(a1 + 9) = 0; } result = sub_1004B1068((__int64)off_1008524C8); if ( !(_DWORD)result ) { *((_QWORD *)off_1008524C8 + *(unsigned int *)(v2 + 688) + 46) = 0; sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), (int *)a1); return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source