//
// sub_100707E04 from 0x100707e04 to 0x100707ea8 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bee90
//
// 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_100707E04(int a1)
{
__int64 v2; // x19
sub_1006AE2F8(9, 1, (__int64)"err.c", 360);
v2 = qword_100A0CD80;
if ( a1 && !qword_100A0CD80 )
{
sub_1006AEFA0((int *)"int_err_get (err.c)", (int *)"err.c", 362);
qword_100A0CD80 = (__int64)sub_100704C88(
(__int64 (__fastcall *)(_QWORD))sub_10070864C,
(int (__cdecl **)(const char *, const char *))sub_100708690);
sub_1006AF1A8();
v2 = qword_100A0CD80;
}
sub_1006AE2F8(10, 1, (__int64)"err.c", 368);
return v2;
}