//
// sub_1001E760C from 0x1001e760c to 0x1001e7670 (100 bytes)
//
// 1 xrefs:
// > sub_1001D833C @ 0x1001d8358
//
// 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:34 +0000
//
_QWORD *__fastcall sub_1001E760C(_QWORD *result, __int64 *a2)
{
_QWORD *v2; // x19
__int64 v3; // x20
__int64 v4; // x8
__int128 v5; // q0
v2 = result;
v3 = result[1];
v4 = *a2;
*(_DWORD *)(v3 + 8) = *((_DWORD *)a2 + 2);
*(_QWORD *)v3 = v4;
if ( *((char *)a2 + 39) < 0 )
{
result = sub_1000097D0((_BYTE *)(v3 + 16), (void *)a2[2], a2[3]);
}
else
{
v5 = *((_OWORD *)a2 + 1);
*(_QWORD *)(v3 + 32) = a2[4];
*(_OWORD *)(v3 + 16) = v5;
}
v2[1] = v3 + 40;
return result;
}