// // PlayerObject::updateSwingFire from 0x14039add0 to 0x14039aef1 (289 bytes) // // 3 xrefs: // > PlayerObject::flipGravity @ 0x14039a41a // > PlayerObject::toggleSwingMode @ 0x14039ad56 // > @ 0x1406d659c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void PlayerObject::updateSwingFire(PlayerObject *a1) { float v1; // xmm3_4 PlayerFireBoostSprite *m_swingFireTop; // rsi cocos2d::CCParticleSystemQuad **p_m_swingBurstParticles1; // rdi CCLightFlash *m_swingFireBottom; // rbp cocos2d::CCParticleSystemQuad *m_swingBurstParticles2; // r14 cocos2d::CCParticleSystem *v6; // rdi struct cocos2d::CCScaleTo *v7; // rbx __int64 v8; // rax struct cocos2d::CCSequence *v9; // rax cocos2d::ccColor3B *v10; // r8 struct cocos2d::CCScaleTo *v11; // rax cocos2d::ccColor3B *v12; // r8 float v13; // [rsp+20h] [rbp-8h] float v14; // [rsp+20h] [rbp-8h] if ( a1->m_isUpsideDown == a1->m_isSideways ) { m_swingFireTop = a1->m_swingFireTop; p_m_swingBurstParticles1 = &a1->m_swingBurstParticles1; m_swingFireBottom = (CCLightFlash *)a1->m_swingFireBottom; m_swingBurstParticles2 = a1->m_swingBurstParticles2; } else { m_swingFireTop = a1->m_swingFireBottom; p_m_swingBurstParticles1 = &a1->m_swingBurstParticles2; m_swingFireBottom = (CCLightFlash *)a1->m_swingFireTop; m_swingBurstParticles2 = a1->m_swingBurstParticles1; } v6 = *p_m_swingBurstParticles1; cocos2d::CCNode::stopAllActions(m_swingFireTop); v7 = cocos2d::CCScaleTo::create(0.059999999, m_swingFireTop->m_size * 0.60000002, m_swingFireTop->m_size * 1.5); v8 = cocos2d::CCCallFunc::create(m_swingFireTop, PlayerFireBoostSprite::loopFireAnimation); v9 = cocos2d::CCSequence::create(v7, v8, 0); cocos2d::CCNode::runAction((CCLightFlash *)m_swingFireTop, (cocos2d::CCPoint)v9, v10, v1, v13); cocos2d::CCParticleSystem::resumeSystem(m_swingBurstParticles2); cocos2d::CCNode::stopAllActions(m_swingFireBottom); v11 = cocos2d::CCScaleTo::create(0.40000001, 0.0099999998, 0.0099999998); cocos2d::CCNode::runAction(m_swingFireBottom, (cocos2d::CCPoint)v11, v12, v1, v14); cocos2d::CCParticleSystem::stopSystem(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source