// // PlayerObject::activateStreak from 0x753c2c to 0x753d2c (256 bytes) // // 14 xrefs: // > PlayerObject::toggleVisibility @ 0x7544fc // > PlayerObject::toggleVisibility @ 0x754550 // > PlayerObject::levelFlipFinished @ 0x7545c4 // > PlayerObject::levelFlipFinished @ 0x7545d4 // > PlayerObject::flipGravity @ 0x755020 // > PlayerObject::propellPlayer @ 0x756308 // > PlayerObject::toggleFlyMode @ 0x759ad4 // > PlayerObject::toggleBirdMode @ 0x759df0 // > PlayerObject::toggleSwingMode @ 0x759f7c // > PlayerObject::toggleDartMode @ 0x75a234 // > PlayerObject::resetObject @ 0x75e088 // > PlayerObject::ringJump @ 0x769fd4 // > PlayerObject::ringJump @ 0x76a854 // > @ 0xe0290 // // This function is hookable on this platform (idp: arm, 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:52:56 +0000 // __int64 __fastcall PlayerObject::activateStreak(cocos2d::CCNode **this) { GameManager *v2; // x0 cocos2d::CCMotionStreak *v4; // x0 __int64 v5; // x22 const cocos2d::CCPoint *v6; // x0 _BYTE v7[8]; // [xsp+30h] [xbp+30h] BYREF v2 = (GameManager *)(unsigned __int8)PlayerObject::levelFlipping((PlayerObject *)this); if ( !(_BYTE)v2 && !*(_BYTE *)(GameManager::sharedState(v2) + 706) && !*((_BYTE *)this + 1787) ) { if ( (unsigned __int8)PlayerObject::streakDisabledForCurrentMode((PlayerObject *)this) ) { PlayerObject::deactivateStreak(this, 1u); } else { v4 = *(this + 238); *((_BYTE *)this + 2352) = 1; cocos2d::CCMotionStreak::resumeStroke(v4); if ( *((_BYTE *)this + 2420) ) { v5 = (__int64)*(this + 240); v6 = (const cocos2d::CCPoint *)(*((__int64 (__fastcall **)(cocos2d::CCNode **))*this + 24))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, v6); cocos2d::CCPoint::operator=(v5 + 424, v7); cocos2d::CCNode::stopAllActions(*(this + 240)); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 240) + 912LL))(*(this + 240), 0xFFFFFFFFLL); HardStreak::resumeStroke(*(this + 240)); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source