//
// PlayerObject::updateSwingFire from 0x1404f9080 to 0x1404f919e (286 bytes)
//
// 3 xrefs:
// > PlayerObject::flipGravity @ 0x1404f86ac
// > PlayerObject::toggleSwingMode @ 0x1404f9009
// > ??> @ 0x14092a278
//
// 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:21 +0000
//
void __fastcall PlayerObject::updateSwingFire(__int64 a1)
{
char v1; // r10
__int64 v2; // r8
__int64 v3; // rdx
__int64 v4; // rax
cocos2d::CCNode *v5; // r14
__int64 v6; // rax
float *v7; // rdi
cocos2d::CCParticleSystem *v8; // rsi
cocos2d::CCParticleSystem *v9; // rbp
struct cocos2d::CCFiniteTimeAction *v10; // rbx
__int64 v11; // rax
struct cocos2d::CCAction *v12; // rax
struct cocos2d::CCAction *v13; // rax
v1 = *(_BYTE *)(a1 + 2503);
v2 = 1936;
v3 = 2304;
v4 = 1944;
if ( v1 == *(_BYTE *)(a1 + 2507) )
{
v4 = 1936;
v2 = 1944;
}
v5 = *(cocos2d::CCNode **)(v4 + a1);
v6 = 2296;
v7 = *(float **)(v2 + a1);
if ( v1 == *(_BYTE *)(a1 + 2507) )
{
v6 = 2304;
v3 = 2296;
}
v8 = *(cocos2d::CCParticleSystem **)(v6 + a1);
v9 = *(cocos2d::CCParticleSystem **)(v3 + a1);
cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(v2 + a1));
v10 = cocos2d::CCScaleTo::create(0.059999999, v7[150] * 0.60000002, v7[150] * 1.5);
v11 = cocos2d::CCCallFunc::create(v7, PlayerFireBoostSprite::loopFireAnimation);
v12 = cocos2d::CCSequence::create(v10, v11, 0);
cocos2d::CCNode::runAction((cocos2d::CCNode *)v7, v12);
cocos2d::CCParticleSystem::resumeSystem(v8);
cocos2d::CCNode::stopAllActions(v5);
v13 = cocos2d::CCScaleTo::create(0.40000001, 0.0099999998, 0.0099999998);
cocos2d::CCNode::runAction(v5, v13);
cocos2d::CCParticleSystem::stopSystem(v9);
}