// // PlayerObject::hardFlipGravity from 0x100224a28 to 0x100224a9c (116 bytes) // // 2 xrefs: // > GJBaseGameLayer::checkRepellPlayer @ 0x1001ff75c // > PlayerObject::didHitHead @ 0x1002248fc // // 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 __fastcall PlayerObject::hardFlipGravity(PlayerObject *a1) { double v2; // d0 double v3; // d1 PlayerObject::flipGravity(a1, !a1->m_isUpsideDown, 1); v2 = -2.0; if ( a1->m_isUpsideDown ) v2 = 2.0; v3 = (double)(int)v2; if ( v2 != v3 ) v2 = round((v2 - v3) * 1000.0) / 1000.0 + v3; a1->m_yVelocity = v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source