//
// sub_100733070 from 0x100733070 to 0x1007330c8 (88 bytes)
//
// 2 xrefs:
// > sub_1007272A8 @ 0x1007272d4
// > sub_1007272A8 @ 0x1007272f4
//
// 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:13 +0000
//
__int64 __fastcall sub_100733070(int a1)
{
__int64 v1; // x19
int v2; // w0
_DWORD v4[12]; // [xsp+0h] [xbp-40h] BYREF
v1 = (unsigned int)(a1 - 1);
if ( (unsigned int)v1 >= 9 )
{
v4[0] = a1;
v1 = 0xFFFFFFFFLL;
if ( qword_100A0E9F8 )
{
v2 = sub_100704898((int *)qword_100A0E9F8, (__int64)v4);
if ( v2 == -1 )
return 0xFFFFFFFFLL;
else
return (unsigned int)(v2 + 9);
}
}
return v1;
}