// // sub_6D8D0 from 0x6d8d0 to 0x6d9ac (220 bytes) // // 1 xrefs: // > FMOD::System::mixerResume @ 0xdd278 // // 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_6D8D0(__int64 a1) { __int64 v1; // x19 _BYTE *v2; // x20 int v3; // w8 __int64 result; // x0 __int64 v5; // x8 __int64 v6; // x0 __int64 (__fastcall *v7)(__int64, _QWORD); // x9 __int64 v8; // x21 __int64 v9; // x22 __int64 v10; // x1 if ( !*(_BYTE *)(a1 + 8) ) return 0; sub_70400(); if ( !v3 ) return 0; result = sub_7B9F0(v1, 12); if ( !(_DWORD)result ) { result = sub_5F4EC((int *)off_114000); if ( !(_DWORD)result ) { v5 = *(_QWORD *)(v1 + 1648); if ( *(_BYTE *)(v5 + 972) ) { result = sub_76B04(v1, *(unsigned int *)(v1 + 1664)); if ( (_DWORD)result ) return result; v5 = *(_QWORD *)(v1 + 1648); } if ( *(_QWORD *)(v5 + 976) ) { v6 = sub_701C8(result); result = v7(v6, 0); if ( (_DWORD)result ) return result; v5 = *(_QWORD *)(v1 + 1648); } if ( *(_QWORD *)(v5 + 1040) ) { v8 = 0; v9 = 48; while ( v8 < *(int *)(v1 + 1684) ) { v10 = *(_QWORD *)(*(_QWORD *)(v1 + 1696) + v9); if ( v10 ) { result = sub_7028C(result, v10, 0); if ( (_DWORD)result ) return result; } ++v8; v9 += 56; } } *v2 = 0; return 0; } } return result; }