// // sub_5CF10 from 0x5cf10 to 0x5cf84 (116 bytes) // // 1 xrefs: // > sub_5CE24 @ 0x5ce58 // // 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 // _QWORD *__fastcall sub_5CF10(_QWORD *a1) { _QWORD *v2; // x19 _QWORD *v3; // x9 __int64 v5; // [xsp+0h] [xbp-20h] BYREF char v6; // [xsp+8h] [xbp-18h] v5 = a1[46]; FMOD_OS_CriticalSection_Enter(v5); v6 = 1; v2 = (_QWORD *)a1[43]; if ( v2 == a1 + 43 && (_QWORD *)a1[44] == a1 + 43 ) { v2 = nullptr; } else { v3 = (_QWORD *)v2[1]; *v3 = *v2; *(_QWORD *)(*v2 + 8LL) = v3; *v2 = v2; v2[1] = v2; } sub_52090((__int64)&v5); return v2; }