// // PlayerObject::deactivateStreak from 0x1003fcd80 to 0x1003fce40 (192 bytes) // // 13 xrefs: // > PlayLayer::removeAllObjects @ 0x1000b30be // > PlayLayer::removeAllObjects @ 0x1000b3107 // > GJBaseGameLayer::toggleDualMode @ 0x1001241a4 // > GJBaseGameLayer::toggleFlipped @ 0x100127f76 // > GJBaseGameLayer::removePlayer2 @ 0x100129d2a // > PlayerObject::setupStreak @ 0x1003fcb5e // > PlayerObject::toggleVisibility @ 0x1004031af // > PlayerObject::levelWillFlip @ 0x1004035a7 // > PlayerObject::hitGround @ 0x10040c25d // > PlayerObject::startDashing @ 0x1004114a4 // > PlayerObject::resetObject @ 0x10041224e // > PlayerObject::resetPlayerIcon @ 0x100416cc9 // > MenuGameLayer::resetPlayer @ 0x1004fa39c // // 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) { bool m_playEffects; // r14 float v3; // xmm0_4 cocos2d::CCFadeOut *v4; // r14 cocos2d::CCCallFunc *v5; // rax cocos2d::CCSequence *v6; // r14 if ( a2 || !a1->m_alwaysShowStreak ) cocos2d::CCMotionStreak::stopStroke(a1->m_regularTrail); if ( a1->m_fadeOutStreak ) { a1->m_fadeOutStreak = 0; m_playEffects = a1->m_playEffects; if ( !cocos2d::CCNode::getActionByTag(a1->m_waveTrail, 8) ) { if ( m_playEffects ) v3 = 0.2; else v3 = 0.60000002; v4 = cocos2d::CCFadeOut::create(v3); v5 = cocos2d::CCCallFunc::create(a1->m_waveTrail, (cocos2d::SEL_CallFunc)(unsigned __int64)HardStreak::stopStroke); v6 = sub_1003B5760(v4, v5, 0); ((void (__fastcall *)(cocos2d::CCSequence *, __int64))v6->setTag)(v6, 8); cocos2d::CCNode::runAction(a1->m_waveTrail, v6); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source