// // EditorUI::activateRotationControl from 0x10015d298 to 0x10015d3c4 (300 bytes) // // 6 xrefs: // > EditorUI::moveObjectCall_1 @ 0x10015cf18 // > EditorUI::updateControlsAfterAlign @ 0x10015f418 // > EditorUI::undoLastAction @ 0x100470fa0 // > EditorUI::redoLastAction @ 0x100471004 // > EditorUI::toggleSpecialEditButtons @ 0x100473ef4 // > EditorUI::createMoveMenu @ 0x100185c8c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:59:44 +0000 // __int64 __fastcall EditorUI::activateRotationControl(__int64 a1) { __int64 result; // x0 __int64 v3; // x0 __n128 v4; // q0 __int64 v5; // x20 __int64 v6; // x1 __n128 v7; // q0 __int64 v8; // x20 float v9; // s0 __int64 v10; // [xsp+8h] [xbp-18h] BYREF result = sub_1002E757C(*(_QWORD *)(a1 + 896)); if ( (_DWORD)result || *(_QWORD *)(a1 + 1496) ) { result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)); if ( !(_DWORD)result || *(_BYTE *)(a1 + 776) == 1 ) { EditorUI::deactivateTransformControl(a1); *(_BYTE *)(a1 + 776) = 0; v3 = sub_1002E757C(*(_QWORD *)(a1 + 896)); if ( (_DWORD)v3 ) { EditorUI::getGroupCenter(&v10, v3, *(_QWORD *)(a1 + 896), 0); v4.n128_f64[0] = sub_10002630C((_QWORD *)(a1 + 768), (double *)&v10); (*(void (__fastcall **)(_QWORD, __int64, __n128))(**(_QWORD **)(a1 + 760) + 184LL))( *(_QWORD *)(a1 + 760), a1 + 768, v4); } else { v5 = *(_QWORD *)(a1 + 760); v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1496) + 192LL))(*(_QWORD *)(a1 + 1496)); (*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v5 + 184LL))(v5, v6, v7); } v8 = *(_QWORD *)(a1 + 760); v9 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL)); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 1.0 / v9); if ( ((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) & 1) == 0 ) sub_1001575C8(*(_QWORD *)(a1 + 760), 0.0); return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 760) + 344LL))(*(_QWORD *)(a1 + 760), 1); } } return result; }