//
// sub_1001ED914 from 0x1001ed914 to 0x1001ed99c (136 bytes)
//
// 1 xrefs:
// > sub_1001ED880 @ 0x1001ed8dc
//
// 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:36 +0000
//
_BYTE *__usercall sub_1001ED914@(__int64 a1@, __int128 **a2@, _QWORD *a3@)
{
_BYTE *result; // x0
_BYTE *v7; // x20
__int128 *v8; // x8
__int128 v9; // q0
result = operator new(0x40u);
v7 = result;
*a3 = result;
a3[1] = a1;
a3[2] = 0;
v8 = *a2;
if ( *((char *)*a2 + 23) < 0 )
{
result = sub_1000097D0(result + 32, *(void **)v8, *((_QWORD *)v8 + 1));
}
else
{
v9 = *v8;
*((_QWORD *)result + 6) = *((_QWORD *)v8 + 2);
*((_OWORD *)result + 2) = v9;
}
v7[56] = 0;
*((_BYTE *)a3 + 16) = 1;
return result;
}