//
// sub_1001AFED4 from 0x1001afed4 to 0x1001aff1c (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007b05e0
//
// 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
//
void __fastcall sub_1001AFED4(cocos2d::CCObject *a1)
{
cocos2d::CCObject_vtbl *v2; // x0
cocos2d::CCObject *v3; // x0
a1->__vftable = (cocos2d::CCObject_vtbl *)off_1007B05D0;
v2 = a1[1].__vftable;
if ( v2 )
{
(*((void (__fastcall **)(cocos2d::CCObject_vtbl *))v2->copyWithZone + 2))(v2);
a1[1].__vftable = nullptr;
}
v3 = cocos2d::CCObject::dCCObject(a1);
operator delete(v3);
}