//
// sub_1002772B0 from 0x1002772b0 to 0x100277309 (89 bytes)
//
// 5 xrefs:
// > sub_100054BB0 @ 0x100054bd2
// > sub_100054BB0 @ 0x100054bf9
// > sub_100054C00 @ 0x100054c3c
// > sub_100575F30 @ 0x100575f84
// > sub_100575F90 @ 0x100575fde
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1002772B0(__int64 a1)
{
*(_QWORD *)a1 = off_1008EF288;
*(_QWORD *)(a1 + 320) = off_1008EF6F0;
if ( (*(_BYTE *)(a1 + 440) & 1) != 0 )
operator delete(*(void **)(a1 + 456));
if ( (*(_BYTE *)(a1 + 416) & 1) != 0 )
operator delete(*(void **)(a1 + 432));
return cocos2d::CCMenuItem::dCCMenuItem(a1);
}