// // FMOD_OS_CriticalSection_Free from 0x1800c0bf0 to 0x1800c0c62 (114 bytes) // // 26 xrefs: // > sub_1800B3900 @ 0x1800b395b // > sub_1800B3C40 @ 0x1800b3cbe // > sub_1800B68A0 @ 0x1800b69c2 // > sub_1800C1A70 @ 0x1800c1ae4 // > sub_1800C7170 @ 0x1800c71f4 // > sub_1800D0FF0 @ 0x1800d1029 // > sub_1800D0FF0 @ 0x1800d1082 // > sub_1800D4520 @ 0x1800d4557 // > sub_1800D4520 @ 0x1800d4575 // > sub_1800D4520 @ 0x1800d4593 // > sub_1800D9EB0 @ 0x1800da085 // > sub_1800DA320 @ 0x1800da405 // > sub_1800E2620 @ 0x1800e27b7 // > sub_1800E2620 @ 0x1800e27cc // > sub_1800E2620 @ 0x1800e27e1 // > sub_1800E2620 @ 0x1800e2c9c // > sub_1800F5890 @ 0x1800f5997 // > sub_1800F5890 @ 0x1800f59ab // > sub_180109160 @ 0x1801091c4 // > sub_1801128D0 @ 0x180112905 // > sub_180112960 @ 0x180112997 // > sub_180114FB0 @ 0x180114fd3 // > sub_18011BEC0 @ 0x18011c0b4 // > sub_18011C100 @ 0x18011c11e // > @ 0x180194348 // > @ 0x1801fdb00 // // 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 FMOD_OS_CriticalSection_Free(LPCRITICAL_SECTION lpCriticalSection, char a2) { if ( !lpCriticalSection ) return 28; if ( lpCriticalSection->LockCount != -1 ) GetCurrentThreadId(); DeleteCriticalSection(lpCriticalSection); if ( !a2 ) sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), lpCriticalSection); return 0; }