//
// sub_100728EF0 from 0x100728ef0 to 0x100728f44 (84 bytes)
//
// 2 xrefs:
// > sub_100728F94 @ 0x100728f9c
// > sub_100728FC4 @ 0x100728fcc
//
// 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:09 +0000
//
__int64 __fastcall sub_100728EF0(unsigned int *a1, int a2)
{
int v4; // w8
__int64 result; // x0
if ( !a1 )
return 0;
v4 = sub_100704BB4(a1);
result = 0;
if ( (a2 & 0x80000000) == 0 && v4 > a2 )
return sub_100704BC8((__int64)a1, a2);
return result;
}