//
// sub_B71B40 from 0xb71b40 to 0xb71bac (108 bytes)
//
// 2 xrefs:
// > sub_B9B234 @ 0xb9b37c
// > sub_B9B234 @ 0xb9b3e4
//
// 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_B71B40(__int64 a1, __int64 a2)
{
__int64 result; // x0
if ( !a1 )
return sub_B99C20(a2);
if ( *(_QWORD *)(a1 + 112) )
sub_B9EA70(a1, 3, 2);
sub_B99C20(a2);
result = *(_QWORD *)(a1 + 112);
if ( result )
return sub_B9EAD0(a1, 3);
return result;
}