//
// ExplodeItemNode::create from 0x1001f6be0 to 0x1001f6c7c (156 bytes)
//
// 2 xrefs:
// > PlayerObject::playDeathEffect @ 0x1001f69e3
// > MapSelectLayer::checkTouchMonster @ 0x1002535f2
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:26:48 +0000
//
_QWORD *__fastcall ExplodeItemNode::create(__int64 a1)
{
_QWORD *v1; // rbx
__int64 v2; // rax
v1 = operator new(0x160u);
cocos2d::CCNode::CCNode(v1);
*v1 = off_100AE1100;
v1[40] = 0;
v1[42] = 0;
*((_BYTE *)v1 + 344) = 0;
if ( (unsigned __int8)cocos2d::CCNode::init(v1) )
{
*((_DWORD *)v1 + 85) = 1119092736;
v1[40] = a1;
cocos2d::CCObject::retain(a1);
v2 = sub_1007FE900(a1);
v1[41] = v2;
cocos2d::CCObject::retain(v2);
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}