//
// sub_C6D60 from 0xc6d60 to 0xc6d8a (42 bytes)
//
// 2 xrefs:
// > sub_C6D8C @ 0xc6d98
// > sub_C89C8 @ 0xc8d5c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:41:53 +0000
//
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;
}