//
// PlayerObject::updateSwingFire from 0x439a84 to 0x439acc (72 bytes)
//
// 2 xrefs:
// > PlayerObject::flipGravity @ 0x439c08
// > PlayerObject::toggleSwingMode @ 0x43ee8a
//
// 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:21 +0000
//
int __fastcall PlayerObject::updateSwingFire(PlayerObject *this)
{
int v1; // r2
int v2; // r3
cocos2d::CCParticleSystem *v3; // r4
cocos2d::CCParticleSystem *v4; // r6
PlayerFireBoostSprite *v5; // r5
PlayerFireBoostSprite *v6; // r0
PlayerFireBoostSprite *v7; // r3
cocos2d::CCParticleSystem *v8; // r3
v1 = *((unsigned __int8 *)this + 1963);
v2 = *((unsigned __int8 *)this + 1959);
v3 = *((cocos2d::CCParticleSystem **)this + 443);
v4 = *((cocos2d::CCParticleSystem **)this + 444);
v5 = *((PlayerFireBoostSprite **)this + 383);
v6 = *((PlayerFireBoostSprite **)this + 384);
if ( v1 != v2 )
{
v7 = v6;
v6 = v5;
v5 = v7;
v8 = v3;
v3 = v4;
v4 = v8;
}
PlayerFireBoostSprite::animateFireIn(v6);
cocos2d::CCParticleSystem::resumeSystem(v4);
PlayerFireBoostSprite::animateFireOut(v5);
return cocos2d::CCParticleSystem::stopSystem(v3);
}