//
// ExplodeItemNode::create from 0xa26f88 to 0xa27030 (168 bytes)
//
// 3 xrefs:
// > MapSelectLayer::checkTouchMonster @ 0x97efdc
// > PlayerObject::playDeathEffect @ 0xa27dfc
// > ??> @ 0x30a68
//
// 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
//
ExplodeItemNode *ExplodeItemNode::create(cocos2d::CCRenderTexture *a1)
{
__int64 v2; // x19
v2 = operator new(0x160u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2);
*(_QWORD *)(v2 + 320) = 0;
*(_BYTE *)(v2 + 344) = 0;
*(_QWORD *)v2 = &off_11D9760;
*(_DWORD *)(v2 + 336) = 0;
*(_DWORD *)(v2 + 340) = 0;
if ( ExplodeItemNode::init((ExplodeItemNode *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (ExplodeItemNode *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}