// // GJBaseGameLayer::updateMGOffsetY from 0x486060 to 0x4860b2 (82 bytes) // // 4 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x36df16 // > LevelEditorLayer::updateGameObjects @ 0x3759da // > EffectGameObject::triggerObject @ 0x3edd50 // > GJBaseGameLayer::resetLevelVariables @ 0x491db8 // // 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 // void GJBaseGameLayer::updateMGOffsetY(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7) { GJGameState *p_m_gameState; // r0 *(float *)&a1->m_gameState.m_unkInt3 = a2; *(float *)&a1->m_gameState.m_unkInt4 = a3; p_m_gameState = &a1->m_gameState; if ( a3 <= 0.0 ) { GJGameState::stopTweenAction(p_m_gameState, 20); LODWORD(a1->m_gameState.m_middleGroundOffsetY) = a1->m_gameState.m_unkInt3; } else { GJGameState::tweenValue(p_m_gameState, a1->m_gameState.m_middleGroundOffsetY, a2, 20, a3, a4, a5, a6, a7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source