// // GJBaseGameLayer::getMaxPortalY from 0x85a06c to 0x85a0fc (144 bytes) // // 6 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x634494 // > PlayerObject::spiderTestJumpY @ 0x635e18 // > DrawGridLayer::draw @ 0x6669a8 // > GJBaseGameLayer::checkCollisions @ 0x894b3c // > GJBaseGameLayer::update @ 0x89e174 // > @ 0x87390 // // 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) { float y; // s8 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); y = a1->m_gameState.m_cameraPosition2.y; return y + (float)((float)(a1->m_groundLayer2->getPosition(a1->m_groundLayer2)->y + 1.0) / a1->m_gameState.m_cameraZoom); }
GD Web Decomp Icon

GD Web Decomp

Raw Source