// // PlayerObject::activateStreak from 0x1404fe4a0 to 0x1404fe5f9 (345 bytes) // // 14 xrefs: // > PlayerObject::toggleVisibility @ 0x1404e979c // > PlayerObject::toggleVisibility @ 0x1404e97ac // > PlayerObject::levelFlipFinished @ 0x1404e9a0e // > PlayerObject::levelFlipFinished @ 0x1404e9a1e // > PlayerObject::resetObject @ 0x1404f56f6 // > PlayerObject::ringJump @ 0x1404f77ea // > PlayerObject::ringJump @ 0x1404f7bbb // > PlayerObject::flipGravity @ 0x1404f8646 // > PlayerObject::toggleFlyMode @ 0x1404f8a62 // > PlayerObject::toggleBirdMode @ 0x1404f8d6c // > PlayerObject::toggleSwingMode @ 0x1404f8f5b // > PlayerObject::toggleDartMode @ 0x1404f9389 // > PlayerObject::propellPlayer @ 0x1404fde4d // > @ 0x14092a5e4 // // 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 11:33:23 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall PlayerObject::activateStreak(__int64 a1) { __int64 v2; // rax char v3; // al cocos2d::CCMotionStreak *v4; // rcx const struct cocos2d::CCPoint *v5; // rax __int64 v6; // rax __int64 v7; // rdx __int64 v8; // rcx void *v9; // [rsp+38h] [rbp+10h] BYREF if ( !PlayerObject::levelFlipping(a1) ) { v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v9 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } if ( !*(_BYTE *)(v2 + 738) && !*(_BYTE *)(a1 + 1843) ) { v3 = PlayerObject::streakDisabledForCurrentMode(a1); v4 = *(cocos2d::CCMotionStreak **)(a1 + 1960); if ( v3 ) { cocos2d::CCMotionStreak::stopStroke(v4); if ( *(_BYTE *)(a1 + 2432) ) { *(_BYTE *)(a1 + 2432) = 0; PlayerObject::fadeOutStreak2(a1); } } else { *(_BYTE *)(a1 + 2432) = 1; cocos2d::CCMotionStreak::resumeStroke(v4); if ( *(_BYTE *)(a1 + 2500) ) { v5 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, v5); cocos2d::CCPoint::operator=(*(_QWORD *)(a1 + 1976) + 424LL, v6); cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(a1 + 1976)); LOBYTE(v7) = -1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 1976) + 320LL) + 40LL))( *(_QWORD *)(a1 + 1976) + 320LL, v7); v8 = *(_QWORD *)(a1 + 1976); *(_BYTE *)(v8 + 442) = 1; HardStreak::updateStroke(v8); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source