//
// PlayerObject::playSpawnEffect from 0x74f708 to 0x74f7fc (244 bytes)
//
// 3 xrefs:
// > PlayLayer::resetLevel @ 0x711ad0
// > PlayLayer::resetLevel @ 0x711ae0
// > ??> @ 0x794c8
//
// This function is hookable on this platform (idp: arm, 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:52:54 +0000
//
__int64 __fastcall PlayerObject::playSpawnEffect(__int64 this)
{
cocos2d::CCNode *v1; // x19
unsigned int v2; // w1
cocos2d::CCShow *v3; // x20
cocos2d::CCFiniteTimeAction *v4; // x0
cocos2d::CCAction *v5; // x20
GameManager *v6; // x0
int v7; // w20
float v8; // s0
cocos2d::CCSequence *v9; // x21
cocos2d::CCFiniteTimeAction *v10; // x0
cocos2d::CCAction *v11; // x0
v1 = (cocos2d::CCNode *)this;
if ( !*(_BYTE *)(this + 2632) )
{
cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)this, 11);
v3 = (cocos2d::CCShow *)cocos2d::CCBlink::create((cocos2d::CCBlink *)&byte_4, 0.4, v2);
v4 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v3);
v5 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, __int64))(*(_QWORD *)v5 + 72LL))(v5, 11);
v6 = (GameManager *)cocos2d::CCNode::runAction(v1, v5);
this = *(unsigned __int8 *)(GameManager::sharedState(v6) + 925);
if ( !(_DWORD)this )
{
v7 = 0;
do
{
v8 = (float)v7++;
v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)this, v8 * 0.1);
v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v1, PlayerObject::spawnCircle, 0);
v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0);
this = cocos2d::CCNode::runAction(v1, v11);
}
while ( v7 != 4 );
}
}
return this;
}