//
// sub_C6CA4 from 0xc6ca4 to 0xc6cce (42 bytes)
//
// 1 xrefs:
// > sub_70F90 @ 0x71020
//
// 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
//
int __fastcall sub_C6CA4(int a1, unsigned int a2)
{
int v2; // r2
int result; // r0
if ( a2 > 0x7E || **(_DWORD **)a1 != 9 )
return 0;
v2 = *(_DWORD *)(a1 + 4);
result = 1;
*(_DWORD *)(v2 + 4 * a2 + 608) = 1;
if ( a2 == 2 )
{
*(_DWORD *)(v2 + 1124) = 0;
return 1;
}
return result;
}