//
// sub_10061970C from 0x10061970c to 0x1006197b0 (164 bytes)
//
// 1 xrefs:
// > sub_1005482A0 @ 0x1005482c8
//
// 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
//
bool __fastcall sub_10061970C(__int64 a1, __int64 a2)
{
_BOOL8 v4; // x21
void **v5; // x19
_BYTE *v6; // x0
_BYTE *v7; // x20
v4 = 0;
if ( a1 && a2 )
{
v5 = (void **)sub_1005ABAC8();
if ( v5 )
{
v6 = sub_1005AAD34();
v7 = v6;
if ( v6 )
{
if ( (unsigned int)sub_1005AD044((__int64)v6, a1, a2, (__int64)v5) )
v4 = *((_DWORD *)v7 + 2) != 0;
else
v4 = 0;
}
else
{
v4 = 0;
}
sub_1005ABB2C(v5);
sub_1005AACD0(v7);
}
else
{
return 0;
}
}
return v4;
}