// // PlayerObject::deactivateStreak from 0x1002195cc to 0x10021963c (112 bytes) // // 12 xrefs: // > PlayLayer::removeAllObjects @ 0x100119694 // > PlayLayer::removeAllObjects @ 0x1001196d4 // > GJBaseGameLayer::toggleFlipped @ 0x1001e8e60 // > GJBaseGameLayer::removePlayer2 @ 0x1001ea338 // > PlayerObject::setupStreak @ 0x1002193ec // > PlayerObject::toggleVisibility @ 0x10021dbf8 // > PlayerObject::levelWillFlip @ 0x10021df60 // > PlayerObject::hitGround @ 0x100223cf0 // > PlayerObject::startDashing @ 0x10022639c // > PlayerObject::resetObject @ 0x100226aa8 // > PlayerObject::resetPlayerIcon @ 0x100229d94 // > MenuGameLayer::resetPlayer @ 0x10039ade8 // // 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::deactivateStreak(PlayerObject *a1, bool a2) { float v4; // s0 if ( !a1->m_alwaysShowStreak || a2 ) cocos2d::CCMotionStreak::stopStroke(a1->m_regularTrail); if ( a1->m_fadeOutStreak ) { a1->m_fadeOutStreak = 0; v4 = 0.6; if ( a1->m_playEffects ) v4 = 0.2; PlayerObject::fadeOutStreak2(a1, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source