// // sub_6BF70 from 0x6bf70 to 0x6bfe0 (112 bytes) // // 1 xrefs: // > sub_6BCC4 @ 0x6bcf0 // // 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 // int __fastcall sub_6BF70(_DWORD *a1, int a2) { int v4; // r6 int v5; // r0 int v6; // r4 void (__fastcall *v7)(int, int, _DWORD); // r3 int v8; // r5 int v10; // [sp+0h] [bp-18h] BYREF char v11; // [sp+4h] [bp-14h] v10 = a1[7]; j_FMOD_OS_CriticalSection_Enter(v10); v4 = a2 + 12; v11 = 1; v5 = sub_6C43C(a1 + 19, a2 + 12); if ( !v5 ) goto LABEL_6; v6 = v5; j_FMOD_OS_File_Close(*(_DWORD *)(v5 + 8)); *(_DWORD *)(v6 + 8) = 0; v7 = (void (__fastcall *)(int, int, _DWORD))a1[27]; if ( v7 ) v7(v6 + 16, 1, a1[28]); v8 = sub_6C506(a1 + 19, v4); if ( !v8 ) { v8 = sub_6BC10(v6); if ( !v8 ) LABEL_6: v8 = 0; } sub_44984((int)&v10); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source