//
// CreateMenuItem::dCreateMenuItem from 0x100609710 to 0x10060975e (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b7f7b8
//
// This function is hookable on this platform (idp: pc, 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 12:34:32 +0000
//
__int64 __fastcall CreateMenuItem::dCreateMenuItem(__int64 a1)
{
*(_QWORD *)a1 = off_100B7F7B0;
*(_QWORD *)(a1 + 320) = off_100B7FC28;
if ( (*(_BYTE *)(a1 + 504) & 1) != 0 )
operator delete(*(void **)(a1 + 520));
return sub_1002638B0(a1);
}