//
// sub_BA4E44 from 0xba4e44 to 0xba4e4c (8 bytes)
//
// 4 xrefs:
// > ??> @ 0x111c9a0
// > ??> @ 0x111c9a8
// > ??> @ 0x111ca50
// > ??> @ 0x111ca58
//
// 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_BA4E44(__int64 a1, _DWORD *a2, int a3)
{
__int64 v3; // x3
__int64 result; // x0
__int64 v5; // x2
v3 = a1 + 1560;
result = 0;
if ( a3 )
{
v5 = *(_QWORD *)(v3 + 48);
*a2 = *(_DWORD *)(*(_QWORD *)(v3 + 88) + 608LL);
if ( v5 )
return 0x10000;
else
return 1;
}
return result;
}