//
// PlayerObject::playSpawnEffect from 0x1404f5710 to 0x1404f583b (299 bytes)
//
// 3 xrefs:
// > PlayLayer::resetLevel @ 0x140519509
// > PlayLayer::resetLevel @ 0x14051951e
// > ??> @ 0x14092a11c
//
// 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 11:33:20 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall PlayerObject::playSpawnEffect(cocos2d::CCNode *a1)
{
struct cocos2d::CCFiniteTimeAction *v2; // rbx
__int64 v3; // rax
struct cocos2d::CCAction *v4; // rbx
__int64 v5; // rax
int i; // edi
__int64 v7; // rbx
struct cocos2d::CCFiniteTimeAction *v8; // rax
struct cocos2d::CCAction *v9; // rax
void *v10; // [rsp+40h] [rbp+8h]
if ( !*((_BYTE *)a1 + 2736) )
{
cocos2d::CCNode::stopActionByTag(a1, 11);
v2 = cocos2d::CCBlink::create(0.40000001, 4u);
v3 = cocos2d::CCShow::create();
v4 = cocos2d::CCSequence::create(v2, v3, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v4 + 64LL))(v4, 11);
cocos2d::CCNode::runAction(a1, v4);
v5 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v10 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v10);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v5 = qword_14090BFD0;
}
if ( !*(_BYTE *)(v5 + 957) )
{
for ( i = 0; i < 4; ++i )
{
v7 = cocos2d::CCCallFunc::create(a1, PlayerObject::spawnCircle);
v8 = cocos2d::CCDelayTime::create((float)i * 0.1);
v9 = cocos2d::CCSequence::create(v8, v7, 0);
cocos2d::CCNode::runAction(a1, v9);
}
}
}
}