// // GJBaseGameLayer::getGroundHeight from 0x99e120 to 0x99e1cc (172 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateDualGround @ 0x9e665c // > @ 0x420e8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:58:05 +0000 // float __fastcall GJBaseGameLayer::getGroundHeight(GJBaseGameLayer *this, PlayerObject *a2, int a3) { float GroundHeightForMode; // s0 float v6; // s8 PlayerObject *OtherPlayer; // x20 float v8; // s0 GroundHeightForMode = GJBaseGameLayer::getGroundHeightForMode(this, a3); v6 = GroundHeightForMode; if ( *((_BYTE *)this + 1010) ) { if ( GroundHeightForMode == 240.0 ) v6 = 270.0; OtherPlayer = (PlayerObject *)GJBaseGameLayer::getOtherPlayer(this, a2); if ( (unsigned __int8)PlayerObject::isFlying(OtherPlayer) ) { v8 = GJBaseGameLayer::getGroundHeightForMode(this, 5); } else if ( *((_BYTE *)OtherPlayer + 2419) ) { v8 = GJBaseGameLayer::getGroundHeightForMode(this, 16); } else { v8 = GJBaseGameLayer::getGroundHeightForMode(this, 6); } if ( v6 < v8 ) return v8; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source