// // PlayerObject::playerIsFallingBugged from 0x625304 to 0x62537c (120 bytes) // // 8 xrefs: // > PlayerObject::updateJump @ 0x634dc8 // > PlayerObject::updateJump @ 0x634eb4 // > PlayerObject::updateJump @ 0x635068 // > PlayerObject::updateJump @ 0x635128 // > PlayerObject::updateJump @ 0x63531c // > PlayerObject::updateJump @ 0x635570 // > PlayerObject::updateJump @ 0x6355c8 // > @ 0x6ebf8 // // 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 // bool PlayerObject::playerIsFallingBugged(PlayerObject *a1) { double m_gravity; // d0 float v2; // s1 float v4; // s0 if ( a1->m_isSideways || a1->m_isPlatformer || a1->m_isSwing || a1->m_fixGravityBug ) { v4 = a1->m_gravity + a1->m_gravity; return PlayerObject::playerIsFalling(a1, v4); } else { m_gravity = a1->m_gravity; v2 = m_gravity; if ( a1->m_unkA99 ) v2 = -v2; if ( a1->m_isUpsideDown ) return a1->m_yVelocity > m_gravity + m_gravity; else return a1->m_yVelocity < (float)(v2 + v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source