//
// sub_10018EC6C from 0x10018ec6c to 0x10018ece0 (116 bytes)
//
// 1 xrefs:
// > sub_10018EA44 @ 0x10018eb14
//
// 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 10:59:54 +0000
//
__int64 __usercall sub_10018EC6C@(__int64 a1@, __int64 a2@, _DWORD *a3@, _QWORD *a4@)
{
_QWORD *v8; // x0
__int64 result; // x0
v8 = operator new(0x30u);
*a4 = v8;
a4[1] = a1;
a4[2] = 0;
*v8 = 0;
v8[1] = a2;
*((_DWORD *)v8 + 4) = *a3;
result = sub_10018ECFC(v8 + 3, a3 + 2);
*((_BYTE *)a4 + 16) = 1;
return result;
}