//
// sub_100739740 from 0x100739740 to 0x1007397d8 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009c5620
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:13:16 +0000
//
__int64 __fastcall sub_100739740(int a1, _QWORD *a2, __int64 a3, _QWORD *a4)
{
__int64 result; // x0
__int64 v7; // x0
switch ( a1 )
{
case 10:
if ( (int)sub_10073998C(a4 + 2, *a2) >= 1 )
goto LABEL_5;
result = 0;
break;
case 11:
case 13:
if ( (int)sub_10073A254(*a2, a4[1]) >= 1 )
goto LABEL_6;
result = 0;
break;
case 12:
LABEL_5:
v7 = sub_100739AC4(*a2, *a4);
a4[1] = v7;
if ( v7 )
goto LABEL_6;
result = 0;
break;
default:
LABEL_6:
result = 1;
break;
}
return result;
}