// // GJBaseGameLayer::getGroundHeightForMode from 0x858ea4 to 0x858ef8 (84 bytes) // // 5 xrefs: // > GJBaseGameLayer::getGroundHeight @ 0x85a13c // > GJBaseGameLayer::getGroundHeight @ 0x85a188 // > GJBaseGameLayer::getGroundHeight @ 0x85a1b4 // > GJBaseGameLayer::getGroundHeight @ 0x85a1c4 // > @ 0x4d238 // // 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 // float GJBaseGameLayer::getGroundHeightForMode(GJBaseGameLayer *a1, int m_dualRelated) { float result; // s0 while ( 2 ) { switch ( m_dualRelated ) { case 5: case 19: case 26: case 41: result = 300.0; break; case 16: result = 240.0; break; case 23: case 24: m_dualRelated = a1->m_gameState.m_dualRelated; if ( (unsigned int)(m_dualRelated - 23) > 1 ) continue; result = 270.0; break; default: result = 270.0; break; } break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source