//
// sub_100708AD4 from 0x100708ad4 to 0x100708b34 (96 bytes)
//
// 1 xrefs:
// > sub_100724540 @ 0x100724700
//
// 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
//
int *__fastcall sub_100708AD4(int *result, _BYTE *a2, int *a3)
{
int *v5; // x20
int v6; // w8
v5 = result;
if ( *result )
{
result = (int *)sub_1007089B8(a2, (__int64)(result + 2), *result);
v6 = (_DWORD)result + 1;
a2[(unsigned int)result] = 10;
a2[(_DWORD)result + 1] = 0;
*v5 = 0;
}
else
{
v6 = 0;
}
*a3 = v6;
return result;
}