//
// sub_1005E2030 from 0x1005e2030 to 0x1005e20ec (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083b848
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1005E2030(int a1)
{
__int64 v2; // x19
sub_100588190(9, 1, (__int64)"err.c", 452);
v2 = qword_100883238;
if ( a1 && !qword_100883238 )
{
sub_100588E38((int *)"int_thread_get (err.c)", (int *)"err.c", 454);
qword_100883238 = (__int64)sub_1005DEB20(
(__int64 (__fastcall *)(_QWORD))sub_1005E2538,
(int (__cdecl **)(const char *, const char *))sub_1005E2554);
sub_100589040();
v2 = qword_100883238;
}
if ( v2 )
++dword_100883224;
else
v2 = 0;
sub_100588190(10, 1, (__int64)"err.c", 462);
return v2;
}