//
// sub_C6D60 from 0xc6d60 to 0xc6d8a (42 bytes)
//
// 2 xrefs:
// > sub_C6D8C @ 0xc6d98
// > sub_C89C8 @ 0xc8d5c
//
// 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
//
bool __fastcall sub_C6D60(int a1)
{
int v2; // r0
int v3; // r0
int v4; // r1
v2 = *(_DWORD *)(a1 + 4);
*(_DWORD *)(v2 + 240) = 0;
*(_DWORD *)(v2 + 244) = 0;
*(_DWORD *)(v2 + 3616) = 0;
v3 = sub_C456C(*(_DWORD **)(v2 + 60));
v4 = 2;
if ( !v3 )
v4 = 8;
**(_DWORD **)a1 = v4;
return v3 != 0;
}