// // PlayerObject::updateTimeMod from 0x75d180 to 0x75d2ec (364 bytes) // // 12 xrefs: // > PlayerObject::copyAttributes @ 0x75d4a0 // > PlayerObject::resetObject @ 0x75e048 // > PlayerObject::init @ 0x767810 // > PlayerObject::loadFromCheckpoint @ 0x76bbc0 // > MenuGameLayer::resetPlayer @ 0x7da560 // > MenuGameLayer::resetPlayer @ 0x7da600 // > MenuGameLayer::resetPlayer @ 0x7da664 // > MenuGameLayer::resetPlayer @ 0x7da678 // > MenuGameLayer::resetPlayer @ 0x7da68c // > GJBaseGameLayer::updateTimeMod @ 0x99f358 // > GJBaseGameLayer::updateTimeMod @ 0x99f37c // > @ 0xfbb48 // // 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:53:01 +0000 // cocos2d::CCMotionStreak *__fastcall PlayerObject::updateTimeMod(PlayerObject *this, float a2, unsigned __int8 a3) { GameManager *v5; // x0 cocos2d::CCMotionStreak *result; // x0 __int64 v7; // x0 if ( !*((_BYTE *)this + 1969) ) { v5 = (GameManager *)*((unsigned __int8 *)this + 1972); if ( (unsigned int)v5 > a3 && *((float *)this + 619) != a2 ) { v7 = GameManager::sharedState(v5); GJBaseGameLayer::playSpeedParticle(*(GJBaseGameLayer **)(v7 + 544), a2); } } *((float *)this + 619) = a2; if ( a2 == 0.9 ) { *((_QWORD *)this + 242) = 0x40265C2D20000000LL; *((_QWORD *)this + 243) = 0x3FEEA99100000000LL; *((_QWORD *)this + 241) = 0x4017147B60000000LL; goto LABEL_5; } if ( a2 != 0.7 ) { if ( a2 == 1.1 ) { *((_QWORD *)this + 242) = 0x4026D70E6F2E8C05LL; *((_QWORD *)this + 243) = 0x3FEEA15FCC1871E7LL; *((_QWORD *)this + 241) = 0x40177AE1CDE5D181LL; } else if ( a2 == 1.3 || a2 == 1.6 ) { *((_QWORD *)this + 242) = 0x402675C6C11A1123LL; *((_QWORD *)this + 243) = 0x3FEEC22467BE553BLL; *((_QWORD *)this + 241) = 0x401800008637BD06LL; } else { *((_QWORD *)this + 241) = 0x4017147B60000000LL; } LABEL_5: PlayerObject::updateRobotAnimationSpeed(this); if ( !*((_BYTE *)this + 2419) ) goto LABEL_6; LABEL_10: PlayerObject::runRotateAction(this); result = *((cocos2d::CCMotionStreak **)this + 239); if ( result ) return (cocos2d::CCMotionStreak *)updateStreakSettings(result, *((_DWORD *)this + 569), (__int64)this); return result; } *((_QWORD *)this + 242) = 0x40253D74D594F26BLL; *((_QWORD *)this + 243) = 0x3FEE161C36976BC2LL; *((_QWORD *)this + 241) = 0x4017EB85A4F00EF1LL; PlayerObject::updateRobotAnimationSpeed(this); if ( *((_BYTE *)this + 2419) ) goto LABEL_10; LABEL_6: result = *((cocos2d::CCMotionStreak **)this + 239); if ( result ) return (cocos2d::CCMotionStreak *)updateStreakSettings(result, *((_DWORD *)this + 569), (__int64)this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source