// // sub_6C2F0 from 0x6c2f0 to 0x6c394 (164 bytes) // // 1 xrefs: // > FMOD::System::createDSPByPlugin @ 0xdc398 // // 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_6C2F0(__int64 a1) { __int64 v1; // x29 __int64 v2; // x0 int v3; // w1 _QWORD *v4; // x2 __int64 v5; // x3 __int64 v6; // x8 __int64 *v7; // x20 _QWORD *v8; // x19 __int64 result; // x0 unsigned int *v10; // x8 unsigned int v11; // w9 __int64 v12; // [xsp+8h] [xbp-28h] BYREF __int64 v13; // [xsp+20h] [xbp-10h] __int64 v14; // [xsp+28h] [xbp-8h] v2 = sub_70510(a1); v13 = v1; v14 = v5; v12 = 0; v7 = (__int64 *)(v2 + v6); if ( !*(_QWORD *)(v2 + v6) ) return 67; v8 = v4; if ( !v4 ) return 31; *v4 = 0; result = sub_62CAC(*v7, v3, &v12); if ( !(_DWORD)result ) { result = sub_704EC(*v7, v12); if ( !(_DWORD)result ) { v10 = (unsigned int *)(*v8 + 100LL); do v11 = __ldaxr(v10); while ( __stlxr(v11 | 4, v10) ); ++*(_DWORD *)(v12 + 68); return 0; } } return result; }