//
// PlayerObject::playSpawnEffect from 0x1002c428c to 0x1002c4378 (236 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x10014bbb4
// > PlayLayer::resetLevel @ 0x10014bbc8
//
// 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 11:02:32 +0000
//
void __fastcall PlayerObject::playSpawnEffect(__int64 a1)
{
_OWORD *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
__int64 v11; // x20
__int64 v12; // x0
unsigned int i; // w22
float *v14; // x21
char v15; // w0
__int64 v16; // x1
__int64 v17; // x2
__int64 v18; // x3
__int64 v19; // x4
__int64 v20; // x5
__int64 v21; // x6
__int64 v22; // x7
__int64 v23; // x0
if ( (*(_BYTE *)(a1 + 2632) & 1) == 0 )
{
cocos2d::CCNode::stopActionByTag(a1, 11);
v2 = cocos2d::CCBlink::create(4, 0.4);
v3 = (unsigned __int8)cocos2d::CCShow::create();
v11 = sub_10021D420((__int64)v2, v4, v5, v6, v7, v8, v9, v10, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 72LL))(v11, 11);
cocos2d::CCNode::runAction(a1, v11);
if ( (*(_BYTE *)(GameManager::sharedState(v12) + 925) & 1) == 0 )
{
for ( i = 0; i != 4; ++i )
{
v14 = cocos2d::CCDelayTime::create((float)i * 0.1);
v15 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)PlayerObject::spawnCircle, 0);
v23 = sub_10021D420((__int64)v14, v16, v17, v18, v19, v20, v21, v22, v15);
cocos2d::CCNode::runAction(a1, v23);
}
}
}
}