//
// sub_100708F08 from 0x100708f08 to 0x100708f5c (84 bytes)
//
// 1 xrefs:
// > sub_100723604 @ 0x100723c30
//
// 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:12:52 +0000
//
__int64 __fastcall sub_100708F08(__int64 a1, __int64 a2, _DWORD *a3)
{
int v5; // w0
*a3 = 0;
if ( !*(_DWORD *)a1 )
return 1;
v5 = sub_100708D78(a2, (char *)(a1 + 8), *(_DWORD *)a1);
if ( (v5 & 0x80000000) == 0 )
{
*(_DWORD *)a1 = 0;
*a3 = v5;
return 1;
}
return 0xFFFFFFFFLL;
}