//
// PlayerObject::playSpawnEffect from 0x10022762c to 0x100227718 (236 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x100122124
// > PlayLayer::resetLevel @ 0x100122138
//
// 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
//
void __fastcall PlayerObject::playSpawnEffect(PlayerObject *a1)
{
cocos2d::CCBlink *v2; // x20
char v3; // w0
__int64 v4; // x1
__int64 v5; // x2
__int64 v6; // x3
__int64 v7; // x4
__int64 v8; // x5
__int64 v9; // x6
__int64 v10; // x7
cocos2d::CCSequence *v11; // x20
unsigned int i; // w22
cocos2d::CCDelayTime *v13; // x21
char v14; // w0
__int64 v15; // x1
__int64 v16; // x2
__int64 v17; // x3
__int64 v18; // x4
__int64 v19; // x5
__int64 v20; // x6
__int64 v21; // x7
cocos2d::CCSequence *v22; // x0
cocos2d::SEL_CallFunc v23; // 0:x1.16
if ( !a1->m_isBeingSpawnedByDualPortal )
{
cocos2d::CCNode::stopActionByTag(a1, 11);
v2 = cocos2d::CCBlink::create(0.4, 4u);
v3 = (unsigned __int8)cocos2d::CCShow::create();
v11 = sub_10018A494(v2, v4, v5, v6, v7, v8, v9, v10, v3);
((void (__fastcall *)(cocos2d::CCSequence *, __int64))v11->setTag)(v11, 11);
cocos2d::CCNode::runAction(a1, v11);
if ( !GameManager::sharedState()->m_performanceMode )
{
for ( i = 0; i != 4; ++i )
{
v13 = cocos2d::CCDelayTime::create((float)i * 0.1);
v23.ptr = (void (*)(void))PlayerObject::spawnCircle;
v23.adj = 0;
v14 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v23);
v22 = sub_10018A494(v13, v15, v16, v17, v18, v19, v20, v21, v14);
cocos2d::CCNode::runAction(a1, v22);
}
}
}
}