// // PlayLayer::updateScreenRotation from 0x1000b5e50 to 0x1000b5f31 (225 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 __fastcall PlayLayer::updateScreenRotation( PlayLayer *a1, int a2, bool a3, bool a4, float a5, int a6, float a7, int a8, int a9) { float v15; // xmm0_4 int v16; // r9d int v17; // [rsp+10h] [rbp-30h] float v18; // [rsp+14h] [rbp-2Ch] v15 = (float)a2; if ( !a3 ) { v16 = a9; if ( !a4 ) goto LABEL_3; LABEL_7: v17 = v16; v18 = v15; GJBaseGameLayer::convertToClosestDirection(v15, 180.0); v16 = v17; if ( a1->m_gameState.m_targetCameraAngle == v18 ) goto LABEL_5; goto LABEL_4; } v15 = v15 + a1->m_gameState.m_targetCameraAngle; v16 = a9; if ( a4 ) goto LABEL_7; LABEL_3: if ( a1->m_gameState.m_targetCameraAngle != v15 ) LABEL_4: a1->m_calculateTargetHeightOffset = 1; LABEL_5: GJBaseGameLayer::updateScreenRotation(a1, (float)a2, a3, a4, a5, a6, a7, a8, v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source