//
// sub_1001E4C90 from 0x1001e4c90 to 0x1001e4ccc (60 bytes)
//
// 1 xrefs:
// > sub_10044F560 @ 0x10044f614
//
// 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:00:32 +0000
//
char *__usercall sub_1001E4C90@(char *result@, __int64 a2@)
{
unsigned __int64 v2; // x2
if ( result[31] < 0 )
{
v2 = *((_QWORD *)result + 2);
if ( v2 )
return (char *)sub_1000097D0((_BYTE *)a2, *((void **)result + 1), v2);
}
else if ( result[31] )
{
*(_OWORD *)a2 = *(_OWORD *)(result + 8);
*(_QWORD *)(a2 + 16) = *((_QWORD *)result + 3);
return result;
}
return (char *)sub_1001E4CCC(*((unsigned int *)result + 1));
}