// // GJBaseGameLayer::updateScreenRotation from 0x140235e80 to 0x140235f6f (239 bytes) // // 4 xrefs: // > @ 0x140567078 // > @ 0x1405863d0 // > @ 0x1405c9c60 // > @ 0x1406ce094 // // 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::updateScreenRotation( GJBaseGameLayer *a1, float a2, bool a3, bool a4, float a5, int a6, float a7, int a8, int a9) { float v10; // xmm7_4 float v11; // xmm0_4 int v12; // [rsp+90h] [rbp+18h] BYREF v10 = a2; if ( a3 ) { v10 = a2 + a1->m_gameState.m_targetCameraAngle; a1->m_gameState.m_targetCameraAngle = v10; } else { a1->m_gameState.m_targetCameraAngle = a2; } if ( a4 ) { a1->m_gameState.m_cameraAngle = GJBaseGameLayer::convertToClosestDirection(a1->m_gameState.m_cameraAngle, 180.0); v11 = GJBaseGameLayer::convertToClosestDirection(v10, 180.0); a1->m_gameState.m_targetCameraAngle = v11; v10 = v11; } if ( a5 <= 0.0 ) { v12 = 17; sub_14024AC30(&a1->m_gameState.m_tweenActions, &v12); a1->m_gameState.m_cameraAngle = a2; } else { GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraAngle, v10, 17, a5, a6, a7, a8, a9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source