// // PlayerObject::deactivateStreak from 0x1003e9f60 to 0x1003ea020 (192 bytes) // // 16 xrefs: // > PlayLayer::removeAllObjects @ 0x10008071e // > PlayLayer::removeAllObjects @ 0x100080767 // > GJBaseGameLayer::setupLevelStart @ 0x100100fa5 // > GJBaseGameLayer::toggleDualMode @ 0x100101994 // > GJBaseGameLayer::toggleFlipped @ 0x100101f36 // > GJBaseGameLayer::removePlayer2 @ 0x10010775a // > PlayerObject::setupStreak @ 0x1003e9d3e // > PlayerObject::toggleVisibility @ 0x1003f028b // > PlayerObject::activateStreak @ 0x1003f054c // > PlayerObject::levelWillFlip @ 0x1003f06b7 // > PlayerObject::hitGround @ 0x1003f9376 // > PlayerObject::startDashing @ 0x1003fe5c4 // > PlayerObject::resetObject @ 0x1003ff37e // > PlayerObject::resetPlayerIcon @ 0x100403b89 // > sub_100408220 @ 0x100408263 // > MenuGameLayer::resetPlayer @ 0x1004f922c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:29:49 +0000 // __int64 __fastcall PlayerObject::deactivateStreak(__int64 a1, char a2) { __int64 result; // rax char v3; // r14 __m128 v4; // xmm0 _OWORD *v5; // r14 __int64 v6; // rax __int64 v7; // r14 result = *(unsigned __int8 *)(a1 + 2273); LOBYTE(result) = a2 | result ^ 1; if ( (_BYTE)result == 1 ) result = cocos2d::CCMotionStreak::stopStroke(*(_QWORD *)(a1 + 1904)); if ( *(_BYTE *)(a1 + 2352) == 1 ) { *(_BYTE *)(a1 + 2352) = 0; v3 = *(_BYTE *)(a1 + 1972); result = cocos2d::CCNode::getActionByTag(*(_QWORD *)(a1 + 1920), 8); if ( !result ) { if ( v3 ) v4 = (__m128)0x3E4CCCCDu; else v4 = (__m128)0x3F19999Au; v5 = cocos2d::CCFadeOut::create(v4); v6 = cocos2d::CCCallFunc::create(*(_QWORD *)(a1 + 1920), HardStreak::stopStroke, 0); v7 = sub_10039EB60((__int64)v5, v6, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 72LL))(v7, 8); return cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 1920), v7); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source