//
// CreateMenuItem::dCreateMenuItem from 0x1001a99dc to 0x1001a9a24 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008e5a48
//
// 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:05 +0000
//
__int64 __fastcall CreateMenuItem::dCreateMenuItem(__int64 a1)
{
*(_QWORD *)a1 = off_1008E5A40;
*(_QWORD *)(a1 + 320) = off_1008E5EB8;
if ( *(char *)(a1 + 527) < 0 )
operator delete(*(void **)(a1 + 504));
return sub_1002B076C(a1);
}