// // GJBaseGameLayer::getMaxPortalY from 0x140213770 to 0x1402137e6 (118 bytes) // // 4 xrefs: // > GJBaseGameLayer::checkCollisions @ 0x140213c3b // > GJBaseGameLayer::update @ 0x140238809 // > PlayerObject::spiderTestJumpInternal @ 0x140394542 // > @ 0x1406cd0bc // // 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::getMaxPortalY(GJBaseGameLayer *a1) { if ( a1->m_gameState.m_unkPoint17.y == 0.0 || a1->m_gameState.m_unkBool1 ) return GJBaseGameLayer::getMinPortalY(a1) + (float)(*(float *)&a1->m_gameState.m_unkInt11 / a1->m_gameState.m_cameraZoom); else return (float)((float)(a1->m_groundLayer2->getPosition_0(a1->m_groundLayer2)->y + 1.0) / a1->m_gameState.m_cameraZoom) + a1->m_gameState.m_cameraPosition2.y; }
GD Web Decomp Icon

GD Web Decomp

Raw Source