// // PlayerObject::runNormalRotation from 0x14038d220 to 0x14038d344 (292 bytes) // // 9 xrefs: // > PlayerObject::updateMove @ 0x14038af9c // > PlayerObject::updateJump @ 0x14038bee9 // > PlayerObject::updateJump @ 0x14038c40c // > PlayerObject::postCollision @ 0x14038db50 // > PlayerObject::ringJump @ 0x14039955c // > PlayerObject::ringJump @ 0x140399961 // > PlayerObject::rotateGameplay @ 0x14039a0b1 // > PlayerObject::resetPlayerIcon @ 0x14039b360 // > PlayerObject::propellPlayer @ 0x14039f95a // // 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::runNormalRotation(PlayerObject *a1, bool a2, float a3) { float v5; // xmm2_4 bool v6; // zf int v7; // ecx int v8; // edx int v9; // eax int v10; // edx if ( a2 || !a1->m_isShip && !a1->m_isBird && !a1->m_isDart && !a1->m_isSwing && !a1->m_isRobot && !a1->m_isSpider && !a1->m_isDashing && (!a1->m_isPlatformer || a1->m_holdingLeft || a1->m_holdingRight || a1->m_platformerMovingLeft || a1->m_platformerMovingRight) ) { if ( a1->m_vehicleSize == 1.0 ) v5 = 0.43333334; else v5 = 0.33333334; v6 = !a1->m_isUpsideDown; a1->m_isRotating = 1; v7 = 1; v8 = -180; if ( v6 ) v8 = 180; v9 = -1; if ( !a1->m_isGoingLeft ) v9 = 1; v10 = v9 * v8; if ( a1->m_isSideways ) v7 = -1; a1->m_rotationSpeed = (float)((float)((float)((float)v10 * (float)v7) * a1->m_gravityMod) * a3) / v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source