//
// sub_100708198 from 0x100708198 to 0x100708254 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009beeb8
//
// 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_100708198(int a1)
{
__int64 v2; // x19
sub_1006AE2F8(9, 1, (__int64)"err.c", 452);
v2 = qword_100A0CD88;
if ( a1 && !qword_100A0CD88 )
{
sub_1006AEFA0((int *)"int_thread_get (err.c)", (int *)"err.c", 454);
qword_100A0CD88 = (__int64)sub_100704C88(
(__int64 (__fastcall *)(_QWORD))sub_1007086A0,
(int (__cdecl **)(const char *, const char *))sub_1007086BC);
sub_1006AF1A8();
v2 = qword_100A0CD88;
}
if ( v2 )
++dword_100A0CD74;
else
v2 = 0;
sub_1006AE2F8(10, 1, (__int64)"err.c", 462);
return v2;
}