//
// sub_100707A40 from 0x100707a40 to 0x100707ae4 (164 bytes)
//
// 1 xrefs:
// > sub_1006A90E8 @ 0x1006a9104
//
// 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_100707A40(__n128 *a1)
{
__n128 v1; // q0
__int64 v2; // x8
__n128 v4[37]; // [xsp+8h] [xbp-268h] BYREF
if ( a1 )
v1 = sub_1006AE638(v4, a1);
else
sub_1006AE5D0((int **)v4);
v2 = qword_100A0CD78;
if ( !qword_100A0CD78 )
{
sub_1006AE2F8(9, 1, (__int64)"err.c", 295);
if ( !qword_100A0CD78 )
qword_100A0CD78 = (__int64)off_1009BEE90;
sub_1006AE2F8(10, 1, (__int64)"err.c", 298);
v2 = qword_100A0CD78;
}
return (*(__int64 (__fastcall **)(__n128 *, __n128))(v2 + 72))(v4, v1);
}