//
// sub_1005E18D8 from 0x1005e18d8 to 0x1005e197c (164 bytes)
//
// 1 xrefs:
// > sub_100582F80 @ 0x100582f9c
//
// 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_1005E18D8(__n128 *a1)
{
__n128 v1; // q0
__int64 v2; // x8
__n128 v4[37]; // [xsp+8h] [xbp-268h] BYREF
if ( a1 )
v1 = sub_1005884D0(v4, a1);
else
sub_100588468((int **)v4);
v2 = qword_100883228;
if ( !qword_100883228 )
{
sub_100588190(9, 1, (__int64)"err.c", 295);
if ( !qword_100883228 )
qword_100883228 = (__int64)off_10083B820;
sub_100588190(10, 1, (__int64)"err.c", 298);
v2 = qword_100883228;
}
return (*(__int64 (__fastcall **)(__n128 *, __n128))(v2 + 72))(v4, v1);
}