//
// PlayerObject::playSpawnEffect from 0x435ad4 to 0x435b72 (158 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x412868
// > PlayLayer::resetLevel @ 0x412876
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:18 +0000
//
unsigned __int8 *__fastcall PlayerObject::playSpawnEffect(unsigned __int8 *this)
{
cocos2d::CCNode *v1; // r5
int v2; // r4
unsigned int v3; // r2
cocos2d::CCShow *v4; // r6
cocos2d::CCFiniteTimeAction *v5; // r0
cocos2d::CCAction *v6; // r4
GameManager *v7; // r0
float v8; // r1
int v9; // r4
int v10; // r7
int v11; // s15
cocos2d::CCSequence *v12; // r6
cocos2d::CCFiniteTimeAction *v13; // r0
int v14; // r3
cocos2d::CCAction *v15; // r0
v1 = (cocos2d::CCNode *)this;
v2 = *(this + 2136);
if ( !*(this + 2136) )
{
cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)this, 11);
v4 = (cocos2d::CCShow *)cocos2d::CCBlink::create((cocos2d::CCBlink *)0x3ECCCCCD, COERCE_FLOAT(4), v3);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v4);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, v2);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v6 + 36))(v6, 11);
v7 = (GameManager *)cocos2d::CCNode::runAction(v1, v6);
this = (unsigned __int8 *)GameManager::sharedState(v7);
v9 = *(this + 725);
if ( !*(this + 725) )
{
v10 = *(this + 725);
do
{
v11 = v9++;
v12 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(COERCE_COCOS2D_CCDELAYTIME_((float)v11 * 0.1), v8);
v13 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v1, PlayerObject::spawnCircle, v10);
v15 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v12, v13, 0, v14, PlayerObject::spawnCircle, v10);
this = (unsigned __int8 *)cocos2d::CCNode::runAction(v1, v15);
}
while ( v9 != 4 );
}
}
return this;
}