// // PlayerObject::playerDestroyed from 0x3440f8 to 0x344184 (140 bytes) // // 3 xrefs: // > PlayLayer::destroyPlayer @ 0x313e10 // > PlayLayer::destroyPlayer @ 0x313e30 // > LevelEditorLayer::postUpdate @ 0x3751c4 // // 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::playerDestroyed(PlayerObject *a1, bool a2) { _BOOL4 v3; // r5 const cocos2d::CCPoint *v4; // r0 PlayerFireBoostSprite *m_robotFire; // r0 v3 = a2; if ( a1->m_isDart ) PlayerObject::fadeOutStreak2(a1, 0.2); PlayerObject::stopDashing(a1); a1->m_isDead = 1; PlayerObject::stopRotation(a1, 1, 5); PlayerObject::stopParticles(a1); v4 = a1->getPosition(a1); cocos2d::CCPoint::operator=(&a1->m_lastPosition, v4); m_robotFire = a1->m_robotFire; if ( m_robotFire ) { cocos2d::CCNode::stopAllActions(m_robotFire); a1->m_robotFire->setVisible(a1->m_robotFire, 0); } PlayerObject::toggleGhostEffect(a1, (GhostType)0); PlayerObject::disableSwingFire(a1); if ( !a1->m_playEffects || v3 || a1->m_isHidden ) a1->setOpacity(a1, 0); else PlayerObject::playDeathEffect(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source