// // GJBaseGameLayer::getMaxPortalY from 0x1001e7270 to 0x1001e72e8 (120 bytes) // // 4 xrefs: // > GJBaseGameLayer::checkCollisions @ 0x1001e74c0 // > GJBaseGameLayer::update @ 0x1001fedd4 // > PlayerObject::spiderTestJumpInternal @ 0x100224c54 // > DrawGridLayer::draw @ 0x10036a7c0 // // 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 __fastcall GJBaseGameLayer::getMaxPortalY(GJBaseGameLayer *a1) { float MinPortalY; // s8 int m_unkInt11; // s0 if ( a1->m_gameState.m_unkPoint17.y == 0.0 || a1->m_gameState.m_unkBool1 ) { MinPortalY = GJBaseGameLayer::getMinPortalY(a1); m_unkInt11 = a1->m_gameState.m_unkInt11; } else { MinPortalY = a1->m_gameState.m_cameraPosition2.y; *(float *)&m_unkInt11 = *(float *)(((__int64 (__fastcall *)(GJGroundLayer *))a1->m_groundLayer2->getPosition)(a1->m_groundLayer2) + 4) + 1.0; } return MinPortalY + (float)(*(float *)&m_unkInt11 / a1->m_gameState.m_cameraZoom); }
GD Web Decomp Icon

GD Web Decomp

Raw Source