// // EditorUI::angleChanged from 0x69002c to 0x690164 (312 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorUI::angleChanged @ 0x690168 // > @ 0x4a850 // > @ 0x1156bd8 // // 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 EditorUI::angleChanged(EditorUI *a1, float a2) { GameObject *m_selectedObject; // x0 float v5; // s9 GameObject *v6; // x20 void (__fastcall *setRotation)(GameObject *__hidden, float); // x21 float v8; // s0 GameObject *v9; // x21 void (__fastcall *setRotationX)(GameObject *__hidden, float); // x22 float v11; // s0 GameObject *v12; // x20 void (__fastcall *setRotationY)(GameObject *__hidden, float); // x21 float v14; // s0 cocos2d::CCArray *m_selectedObjects; // x21 cocos2d::CCPoint v16; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCPoint v17; // 0:s1.4,4:s2.4 m_selectedObject = a1->m_selectedObject; if ( m_selectedObject ) { v5 = m_selectedObject->getRotationX(m_selectedObject); if ( v5 == a1->m_selectedObject->getRotationY(a1->m_selectedObject) ) { v6 = a1->m_selectedObject; setRotation = v6->setRotation; v8 = v6->getRotation(v6); setRotation(v6, v8 + a2); } else { v9 = a1->m_selectedObject; setRotationX = v9->setRotationX; v11 = v9->getRotationX(v9); setRotationX(v9, a2 + v11); v12 = a1->m_selectedObject; setRotationY = v12->setRotationY; v14 = v12->getRotationY(v12); setRotationY(v12, a2 + v14); } } else if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) ) { m_selectedObjects = a1->m_selectedObjects; cocos2d::CCPoint::CCPoint(&v16, &a1->m_pivotPoint); EditorUI::rotateObjects(a1, m_selectedObjects, a2, v17); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source