//
// sub_C061C from 0xc061c to 0xc0650 (52 bytes)
//
// 6 xrefs:
// > sub_6AFD4 @ 0x6b004
// > sub_6AFD4 @ 0x6b014
// > sub_6BB94 @ 0x6bb9c
// > sub_BD27C @ 0xbd2a2
// > sub_BE788 @ 0xbe7bc
// > sub_BE788 @ 0xbe7cc
//
// 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_C061C(sem_t *a1)
{
if ( sem_destroy(a1) )
return 28;
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), a1);
return 0;
}