//
// sub_6C564 from 0x6c564 to 0x6c58a (38 bytes)
//
// 0 xrefs:
//
// 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_6C564(int a1, int a2, int a3, int a4)
{
int v6; // [sp+0h] [bp-10h] BYREF
int v7; // [sp+4h] [bp-Ch]
v6 = a3;
v7 = a4;
v6 = *(_DWORD *)(a1 + 28);
j_FMOD_OS_CriticalSection_Enter(v6);
LOBYTE(v7) = 1;
++*(_DWORD *)(a1 + 36);
sub_44984((int)&v6);
return 0;
}