// // GJBaseGameLayer::updateCameraOffsetY from 0x486012 to 0x486060 (78 bytes) // // 4 xrefs: // > PlayLayer::playEndAnimationToPos @ 0x310b2a // > PlayLayer::playPlatformerEndAnimationToPos @ 0x313a90 // > CameraTriggerGameObject::triggerObject @ 0x3ee724 // > GJBaseGameLayer::resetCamera @ 0x488066 // // 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::updateCameraOffsetY(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7) { GJGameState *p_m_gameState; // r0 a1->m_gameState.m_unkPoint1.y = a2; p_m_gameState = &a1->m_gameState; if ( a3 <= 0.0 ) { GJGameState::stopTweenAction(p_m_gameState, 16); a1->m_gameState.m_cameraOffset.y = a1->m_gameState.m_unkPoint1.y; } else { GJGameState::tweenValue(p_m_gameState, a1->m_gameState.m_cameraOffset.y, a2, 16, a3, a4, a5, a6, a7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source