//
// cocos2d::CCSpriteFrame::dCCSpriteFrame from 0x10024e344 to 0x10024e39c (88 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCSpriteFrame::dCCSpriteFrame @ 0x10024e3a0
// > sub_10024E3A4 @ 0x10024e3ac
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCSpriteFrame::dCCSpriteFrame(__int64 a1)
{
cocos2d::CCObject *v2; // x0
*(_QWORD *)a1 = off_1007CE950;
v2 = *(cocos2d::CCObject **)(a1 + 128);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(char *)(a1 + 183) < 0 )
operator delete(*(void **)(a1 + 160));
if ( *(char *)(a1 + 159) < 0 )
operator delete(*(void **)(a1 + 136));
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}