//
// ExplodeItemSprite::create from 0x1002145f0 to 0x10021466c (124 bytes)
//
// 0 xrefs:
//
// 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
//
ExplodeItemSprite *__fastcall ExplodeItemSprite::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x270u);
cocos2d::CCSprite::CCSprite(v0);
*(_QWORD *)v0 = off_1008DD170;
*((_QWORD *)v0 + 40) = off_1008DD648;
*((_QWORD *)v0 + 43) = off_1008DD6C8;
*(_OWORD *)(v0 + 596) = 0;
*((_OWORD *)v0 + 38) = 0;
if ( cocos2d::CCSprite::init((cocos2d::CCSprite *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (ExplodeItemSprite *)v0;
}