// // EditorUI::activateRotationControl from 0x10060ea80 to 0x10060ebf1 (369 bytes) // // 6 xrefs: // > EditorUI::undoLastAction @ 0x10000816f // > EditorUI::redoLastAction @ 0x10000820f // > EditorUI::toggleSpecialEditButtons @ 0x10000c5ad // > EditorUI::moveObjectCall_1 @ 0x10060e5fb // > EditorUI::deactivateTransformControl @ 0x100611227 // > EditorUI::createMoveMenu @ 0x100639b21 // // This function is hookable on this platform (idp: pc, 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 12:34:33 +0000 // __int64 __fastcall EditorUI::activateRotationControl(__int64 a1) { __int64 v1; // rax __int64 result; // rax __int64 v3; // r14 __int64 v4; // rax __int64 v5; // r14 double v6; // xmm1_8 _QWORD v7[4]; // [rsp+0h] [rbp-20h] BYREF v7[0] = v1; result = sub_1007FEF90(*(_QWORD *)(a1 + 896)); if ( (_DWORD)result || *(_QWORD *)(a1 + 1496) ) { result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)); if ( !(_BYTE)result || *(_BYTE *)(a1 + 776) == 1 ) { if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 0); sub_100645530(*(_QWORD *)(a1 + 792)); } EditorUI::updateEditButtonColor(a1, 47, 0xFFFFFF); *(_BYTE *)(a1 + 776) = 0; if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) ) { EditorUI::getGroupCenter(v7, 47, *(_QWORD *)(a1 + 896), 0); sub_100278300((_QWORD *)(a1 + 768), v7); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 760) + 184LL))(*(_QWORD *)(a1 + 760), a1 + 768); } else { v3 = *(_QWORD *)(a1 + 760); v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1496) + 192LL))(*(_QWORD *)(a1 + 1496)); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 184LL))(v3, v4); } v5 = *(_QWORD *)(a1 + 760); HIDWORD(v6) = 0; *(float *)&v6 = 1.0 / (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL)); (*(void (__fastcall **)(__int64, double))(*(_QWORD *)v5 + 160LL))(v5, v6); GJRotationControl::setAngle(*(_QWORD *)(a1 + 760), 0.0); return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 760) + 344LL))(*(_QWORD *)(a1 + 760), 1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source