//
// sub_BAABB8 from 0xbaabb8 to 0xbaac08 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x111cd18
//
// 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_BAABB8(__int64 a1, _BYTE *a2)
{
__int64 v2; // x19
__int64 result; // x0
v2 = *(_QWORD *)a1;
result = sub_B76FB0(a1, a2);
if ( !*(_QWORD *)(v2 + 36064) )
*(_QWORD *)(v2 + 36064) = 1;
if ( !*(_QWORD *)(v2 + 36072) )
*(_QWORD *)(v2 + 36072) = 1;
*(_DWORD *)(a1 + 1576) = -1;
return result;
}