//
// ExplodeItemNode::create from 0x1403844f0 to 0x1403845af (191 bytes)
//
// 2 xrefs:
// > PlayerObject::playDeathEffect @ 0x140383def
// > ??> @ 0x1406d5e58
//
// 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
//
// Hidden C++ exception states: #wind=1
ExplodeItemNode *ExplodeItemNode::create(cocos2d::CCRenderTexture *a1)
{
ExplodeItemNode *v2; // rbx
__int64 v3; // rcx
cocos2d::CCObject *v4; // rax
v2 = (ExplodeItemNode *)operator new(0x160u);
cocos2d::CCNode::CCNode(v2);
v2->__vftable = (ExplodeItemNode_vtbl *)&ExplodeItemNode::`vftable';
v2->m_renderTexture = nullptr;
*(_QWORD *)&v2->m_unk1 = 0;
v2->m_noGravity = 0;
if ( cocos2d::CCNode::init(v2) )
{
v2->m_floorHeight = 90.0;
v2->m_renderTexture = a1;
cocos2d::CCObject::retain(a1);
v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(v3);
v2->m_sprites = (cocos2d::CCArray *)v4;
cocos2d::CCObject::retain(v4);
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
((void (__fastcall *)(ExplodeItemNode *, __int64))v2->~ExplodeItemNode)(v2, 1);
return nullptr;
}
}