//
// PlayerObject::updateSwingFire from 0x754e10 to 0x754e80 (112 bytes)
//
// 3 xrefs:
// > PlayerObject::flipGravity @ 0x754fb4
// > PlayerObject::toggleSwingMode @ 0x75a028
// > ??> @ 0x8ad78
//
// 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:56 +0000
//
__int64 __fastcall PlayerObject::updateSwingFire(PlayerObject *this)
{
int v1; // w2
int v2; // w1
cocos2d::CCParticleSystem *v3; // x19
cocos2d::CCParticleSystem *v4; // x21
PlayerFireBoostSprite *v5; // x20
PlayerFireBoostSprite *v6; // x0
PlayerFireBoostSprite *v7; // x2
cocos2d::CCParticleSystem *v8; // x1
v1 = *((unsigned __int8 *)this + 2423);
v2 = *((unsigned __int8 *)this + 2427);
v3 = *((cocos2d::CCParticleSystem **)this + 277);
v4 = *((cocos2d::CCParticleSystem **)this + 278);
v5 = *((PlayerFireBoostSprite **)this + 235);
v6 = *((PlayerFireBoostSprite **)this + 236);
if ( v1 != v2 )
{
v7 = v6;
v8 = v3;
v6 = v5;
v3 = v4;
v5 = v7;
v4 = v8;
}
PlayerFireBoostSprite::animateFireIn(v6);
cocos2d::CCParticleSystem::resumeSystem(v4);
PlayerFireBoostSprite::animateFireOut(v5);
return cocos2d::CCParticleSystem::stopSystem(v3);
}