// // GJBaseGameLayer::updateZoom from 0x487eac to 0x487f7e (210 bytes) // // 3 xrefs: // > LevelEditorLayer::onPlaytest @ 0x36e9f4 // > EffectGameObject::triggerObject @ 0x3ee460 // > GJBaseGameLayer::resetCamera @ 0x48803a // // 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::updateZoom(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7) { float v8; // s16 GJGameState *p_m_gameState; // r0 _BOOL4 m_skipArtReload; // r3 PlayerObject *m_player1; // r5 GameObjectType ActiveMode; // r0 v8 = a2; if ( a2 > 0.0 ) { if ( a2 >= 3.0 ) { v8 = 3.0; } else if ( a2 <= 0.4 ) { v8 = 0.4; } } else { v8 = 1.0; } a1->m_gameState.m_targetCameraZoom = v8; p_m_gameState = &a1->m_gameState; if ( a3 <= 0.0 ) { GJGameState::stopTweenAction(p_m_gameState, 14); a1->m_gameState.m_cameraZoom = v8; } else { GJGameState::tweenValue(p_m_gameState, a1->m_gameState.m_cameraZoom, v8, 14, a3, a4, a5, a6, a7); } m_skipArtReload = a1->m_skipArtReload; a1->m_gameState.m_unkUint1 = a3; if ( !m_skipArtReload && a1->m_gameState.m_unkBool7 ) { m_player1 = a1->m_player1; ActiveMode = PlayerObject::getActiveMode(m_player1); GJBaseGameLayer::updateDualGround(a1, m_player1, ActiveMode, a3 == 0.0, a3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source