//
// sub_1005E1C9C from 0x1005e1c9c to 0x1005e1d40 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083b820
//
// 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_1005E1C9C(int a1)
{
__int64 v2; // x19
sub_100588190(9, 1, (__int64)"err.c", 360);
v2 = qword_100883230;
if ( a1 && !qword_100883230 )
{
sub_100588E38((int *)"int_err_get (err.c)", (int *)"err.c", 362);
qword_100883230 = (__int64)sub_1005DEB20(
(__int64 (__fastcall *)(_QWORD))sub_1005E24E4,
(int (__cdecl **)(const char *, const char *))sub_1005E2528);
sub_100589040();
v2 = qword_100883230;
}
sub_100588190(10, 1, (__int64)"err.c", 368);
return v2;
}