// // PlayerObject::propellPlayer from 0x341ce0 to 0x341e22 (322 bytes) // // 2 xrefs: // > PlayerObject::bumpPlayer @ 0x34b44c // > GJBaseGameLayer::gravBumpPlayer @ 0x49225e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void PlayerObject::propellPlayer(PlayerObject *a1, float a2, bool a3, int a4) { _BOOL4 v5; // r5 int v7; // r2 float v9; // s17 int v10; // r0 GJRobotSprite *m_robotSprite; // r7 GJSpiderSprite *m_spiderSprite; // r7 const cocos2d::CCPoint *v13; // r0 _BYTE v14[4]; // [sp+10h] [bp-Ch] BYREF int v15; // [sp+14h] [bp-8h] v5 = a3; v7 = _stack_chk_guard; v9 = 0.8; a1->m_maybeIsBoosted = 1; v15 = v7; a1->m_isOnGround2 = 0; a1->m_isOnGround = 0; a1->m_isOnSlope = 0; a1->m_wasOnSlope = 0; a1->m_shouldTryPlacingCheckpoint = 1; if ( a1->m_vehicleSize == 1.0 ) v9 = 1.0; v10 = PlayerObject::flipMod(a1); PlayerObject::setYVelocity(a1, (float)((float)((float)(a2 * 16.0) * (float)v10) * v9), 44); if ( a1->m_isBall || a1->m_isSpider || a1->m_isSwing ) a1->m_yVelocity = a1->m_yVelocity * 0.600000024; PlayerObject::runRotateAction(a1, 0, 7); if ( !v5 ) PlayerObject::playBumpEffect(a1, a4, nullptr); if ( a1->m_isRobot ) { m_robotSprite = a1->m_robotSprite; sub_776584((int)v14, "jump_start"); CCAnimatedSprite::runAnimation((int)m_robotSprite, (int)v14); LABEL_13: sub_774008(v14); goto LABEL_14; } if ( a1->m_isSpider ) { m_spiderSprite = a1->m_spiderSprite; sub_776584((int)v14, "fall_loop"); CCAnimatedSprite::runAnimation((int)m_spiderSprite, (int)v14); goto LABEL_13; } LABEL_14: PlayerObject::activateStreak(a1); v13 = a1->getPosition(a1); cocos2d::CCPoint::operator=(&a1->m_lastGroundedPos, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source