//
// PlayLayer::updateScreenRotation from 0x3109bc to 0x310a42 (134 bytes)
//
// 0 xrefs:
//
// 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 PlayLayer::updateScreenRotation(
PlayLayer *a1,
int a2,
bool a3,
bool a4,
float a5,
int a6,
float a7,
int a8,
int a9)
{
float v12; // s17
float v13; // s16
v12 = (float)a2;
if ( a3 )
v13 = v12 + a1->m_gameState.m_targetCameraAngle;
else
v13 = (float)a2;
if ( a4 )
GJBaseGameLayer::convertToClosestDirection(v13, 180.0);
if ( a1->m_gameState.m_targetCameraAngle != v13 )
a1->m_calculateTargetHeightOffset = 1;
GJBaseGameLayer::updateScreenRotation(a1, v12, a3, a4, a5, a6, a7, a8, a9);
}