// // PlayerObject::playerDestroyed from 0x100227b74 to 0x100227c60 (236 bytes) // // 3 xrefs: // > PlayLayer::destroyPlayer @ 0x10011eb48 // > PlayLayer::destroyPlayer @ 0x10011eb7c // > LevelEditorLayer::postUpdate @ 0x10036374c // // 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 __fastcall PlayerObject::playerDestroyed(PlayerObject *a1, bool a2) { double *v4; // x0 PlayerFireBoostSprite *m_robotFire; // x0 if ( a1->m_isDart ) PlayerObject::fadeOutStreak2(a1, 0.2); PlayerObject::stopDashing(a1); a1->m_isDead = 1; *(_WORD *)&a1->m_isRotating = 0; a1->m_isBallRotating = 0; a1->m_rotationSpeed = 0.0; PlayerObject::stopParticles(a1); v4 = (double *)((__int64 (__fastcall *)(PlayerObject *))a1->getPosition)(a1); sub_1000229D0(&a1->m_lastPosition, v4); m_robotFire = a1->m_robotFire; if ( m_robotFire ) { cocos2d::CCNode::stopAllActions(m_robotFire); ((void (__fastcall *)(PlayerFireBoostSprite *, _QWORD))a1->m_robotFire->setVisible)(a1->m_robotFire, 0); } PlayerObject::toggleGhostEffect(a1, (GhostType)0); PlayerObject::disableSwingFire(a1); if ( !a1->m_playEffects || a2 || a1->m_isHidden ) ((void (__fastcall *)(PlayerObject *, _QWORD))a1->setOpacity)(a1, 0); else PlayerObject::playDeathEffect(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source