// // GJBaseGameLayer::updateZoom from 0x87fff8 to 0x880100 (264 bytes) // // 4 xrefs: // > LevelEditorLayer::onPlaytest @ 0x664078 // > EffectGameObject::triggerObject @ 0x76f990 // > GJBaseGameLayer::resetCamera @ 0x8801f0 // > @ 0x84330 // // 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 v7; // s8 float v10; // s0 GameObjectType ActiveMode; // w2 PlayerObject *m_player1; // [xsp+38h] [xbp+38h] v7 = a2; if ( a2 <= 0.0 ) { v7 = 1.0; } else { v10 = 3.0; if ( v7 >= 3.0 || (v10 = 0.4, v7 <= 0.4) ) { v7 = v10; a1->m_gameState.m_targetCameraZoom = v10; if ( a3 <= 0.0 ) goto LABEL_11; LABEL_5: GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraZoom, v7, 14, a3, a4, a5, a6, a7); goto LABEL_6; } } a1->m_gameState.m_targetCameraZoom = v7; if ( a3 > 0.0 ) goto LABEL_5; LABEL_11: GJGameState::stopTweenAction(&a1->m_gameState, 14); a1->m_gameState.m_cameraZoom = v7; LABEL_6: a1->m_gameState.m_unkUint1 = a3; if ( !a1->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