//
// sub_1004A8938 from 0x1004a8938 to 0x1004a899c (100 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_1004A8938(__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;
}