//
// sub_100213D28 from 0x100213d28 to 0x100213d7c (84 bytes)
//
// 6 xrefs:
// > sub_10016B4F8 @ 0x10016b548
// > sub_10016B54C @ 0x10016b594
// > sub_100213D7C @ 0x100213d7c
// > sub_100213D80 @ 0x100213d88
// > sub_1003FC724 @ 0x1003fc768
// > sub_1003FC76C @ 0x1003fc7a8
//
// 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_100213D28(__int64 a1)
{
*(_QWORD *)a1 = &off_1007C28F8;
*(_QWORD *)(a1 + 320) = off_1007C2D60;
if ( *(char *)(a1 + 463) < 0 )
operator delete(*(void **)(a1 + 440));
if ( *(char *)(a1 + 439) < 0 )
operator delete(*(void **)(a1 + 416));
return cocos2d::CCMenuItem::dCCMenuItem((cocos2d::CCMenuItem *)a1);
}