//
// sub_1003218B0 from 0x1003218b0 to 0x100321913 (99 bytes)
//
// 1 xrefs:
// > ??> @ 0x100913160
//
// 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_1003218B0(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)a1 = off_100913158;
*(_QWORD *)(a1 + 320) = off_100913630;
*(_QWORD *)(a1 + 344) = off_1009136B0;
v2 = *(cocos2d::CCObject **)(a1 + 696);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*(_BYTE *)(a1 + 616) & 1) != 0 )
operator delete(*(void **)(a1 + 632));
return cocos2d::CCSprite::dCCSprite((_QWORD *)a1);
}