//
// sub_1006197B0 from 0x1006197b0 to 0x100619854 (164 bytes)
//
// 1 xrefs:
// > sub_100548180 @ 0x1005481a4
//
// 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_1006197B0(__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;
}