//
// sub_A2F64 from 0xa2f64 to 0xa2f9a (54 bytes)
//
// 2 xrefs:
// > ??> @ 0xa2f62
// > sub_A313A @ 0xa3140
//
// 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
//
int __fastcall sub_A2F64(int a1, int a2, _DWORD *a3, int a4)
{
int v4; // r4
if ( a2 == 1 )
{
*a3 = *(_DWORD *)(a1 + 412);
if ( a4 )
{
v4 = *(_DWORD *)(a1 + 412);
goto LABEL_7;
}
}
else if ( !a2 )
{
*a3 = *(_DWORD *)(a1 + 428);
if ( a4 )
{
v4 = *(_DWORD *)(a1 + 428);
LABEL_7:
sub_BE420(a4, 32, "%d", v4);
}
}
return 0;
}