// // GJBaseGameLayer::getGroundHeightForMode from 0x99c98c to 0x99c9e0 (84 bytes) // // 5 xrefs: // > GJBaseGameLayer::getGroundHeight @ 0x99e13c // > GJBaseGameLayer::getGroundHeight @ 0x99e188 // > GJBaseGameLayer::getGroundHeight @ 0x99e1b4 // > GJBaseGameLayer::getGroundHeight @ 0x99e1c4 // > @ 0x6c310 // // 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::getGroundHeightForMode(GJBaseGameLayer *this, int a2) { float result; // s0 while ( 2 ) { switch ( a2 ) { case 5: case 19: case 26: case 41: result = 300.0; break; case 16: result = 240.0; break; case 23: case 24: a2 = *((_DWORD *)this + 314); if ( (unsigned int)(a2 - 23) > 1 ) continue; result = 270.0; break; default: result = 270.0; break; } break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source