//
// sub_1005CEAA0 from 0x1005ceaa0 to 0x1005ceb04 (100 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:09:29 +0000
//
__int64 __fastcall sub_1005CEAA0(__int64 a1, _BYTE *a2, int a3)
{
int v4; // w8
if ( a3 )
{
if ( !a2[530] )
{
v4 = 1;
a2[530] = 1;
LABEL_6:
*(_DWORD *)(*(_QWORD *)(a1 + 168) + 67936LL) += v4;
}
}
else if ( a2[530] )
{
bzero(a2, 0x214u);
v4 = -1;
goto LABEL_6;
}
return 0;
}