//
// sub_10014E6AC from 0x10014e6ac to 0x10014e720 (116 bytes)
//
// 1 xrefs:
// > sub_10014E52C @ 0x10014e644
//
// 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:38 +0000
//
_DWORD *__fastcall sub_10014E6AC(__int64 **a1, __int64 a2)
{
_DWORD *v4; // x19
_QWORD *v5; // x0
__int64 v7; // [xsp+8h] [xbp-28h] BYREF
v4 = operator new(0x28u);
v4[9] = *(_DWORD *)(a2 + 8);
*(_QWORD *)(v4 + 7) = *(_QWORD *)a2;
v5 = sub_100020E00((__int64)a1, &v7, v4 + 7);
sub_10000A0F0(a1, v7, v5, v4);
return v4;
}