// // PlayerObject::updateTimeMod from 0x43f6e0 to 0x43f832 (338 bytes) // // 7 xrefs: // > PlayerObject::copyAttributes @ 0x43f98e // > PlayerObject::resetObject @ 0x440488 // > PlayerObject::init @ 0x44774e // > PlayerObject::loadFromCheckpoint @ 0x44b174 // > MenuGameLayer::resetPlayer @ 0x4926f0 // > GJBaseGameLayer::updateTimeMod @ 0x58f97e // > GJBaseGameLayer::updateTimeMod @ 0x58f994 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:25 +0000 // cocos2d::CCMotionStreak *__fastcall PlayerObject::updateTimeMod(PlayerObject *this, float a2, int a3) { float *v4; // r5 int v6; // r0 __int64 v7; // r0 cocos2d::CCMotionStreak *result; // r0 v4 = (float *)((char *)this + 2012); if ( !*((_BYTE *)this + 1601) && *((_BYTE *)this + 1604) && !a3 && *v4 != a2 ) { v6 = GameManager::sharedState(this); GJBaseGameLayer::playSpeedParticle(*(GJBaseGameLayer **)(v6 + 404), a2); } *v4 = a2; if ( a2 == 0.9 ) { *((_QWORD *)this + 196) = 0x40265C2D20000000LL; *((_QWORD *)this + 197) = 0x3FEEA99100000000LL; } else { if ( a2 == 0.7 ) { *((_QWORD *)this + 196) = 0x40253D74D594F26BLL; *((_QWORD *)this + 197) = 0x3FEE161C36976BC2LL; v7 = 0x4017EB85A4F00EF1LL; goto LABEL_16; } if ( a2 == 1.1 ) { *((_QWORD *)this + 196) = 0x4026D70E6F2E8C05LL; *((_QWORD *)this + 197) = 0x3FEEA15FCC1871E7LL; v7 = 0x40177AE1CDE5D181LL; goto LABEL_16; } if ( a2 == 1.3 || a2 == 1.6 ) { *((_QWORD *)this + 196) = 0x402675C6C11A1123LL; *((_QWORD *)this + 197) = 0x3FEEC22467BE553BLL; v7 = 0x401800008637BD06LL; goto LABEL_16; } } v7 = 0x4017147B60000000LL; LABEL_16: *((_QWORD *)this + 195) = v7; PlayerObject::updateRobotAnimationSpeed(this); if ( *((_BYTE *)this + 1955) ) PlayerObject::runRotateAction(this, 0, 9); result = *((cocos2d::CCMotionStreak **)this + 387); if ( result ) return (cocos2d::CCMotionStreak *)updateStreakSettings(result, *((_DWORD *)this + 453), (int)this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source