// // EditorUI::activateTransformControl from 0x1006117f0 to 0x100611967 (375 bytes) // // 3 xrefs: // > EditorUI::handleEditorAction @ 0x10060c1e3 // > EditorUI::deactivateTransformControl @ 0x100611204 // > EditorUI::createMoveMenu @ 0x100639fd1 // // 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:35 +0000 // __int64 __fastcall EditorUI::activateTransformControl(__int64 a1) { __int64 v2; // rdi __int64 result; // rax __int64 v4; // rax char v5; // al __int64 v6; // rdi v2 = *(_QWORD *)(a1 + 896); result = sub_1007FEF90(v2); if ( (_DWORD)result || *(_QWORD *)(a1 + 1496) ) { v4 = EditorSFXManager::sharedState(v2); EditorSFXManager::playAction_1(v4, 189); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 784) + 352LL))(*(_QWORD *)(a1 + 784)); v6 = *(_QWORD *)(a1 + 784); if ( v5 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, 0); sub_100642300(*(_QWORD *)(a1 + 784)); sub_100643040(*(_QWORD *)(a1 + 784)); v6 = *(_QWORD *)(a1 + 784); *(_QWORD *)(v6 + 584) = 0x3F00000040000000LL; } EditorUI::updateEditButtonColor(a1, *(unsigned int *)(v6 + 592), 0xFFFFFF); *(_DWORD *)(*(_QWORD *)(a1 + 784) + 592LL) = 0; *(_DWORD *)(a1 + 696) = -1; if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 760) + 344LL))(*(_QWORD *)(a1 + 760), 0); GJRotationControl::finishTouch(*(_QWORD *)(a1 + 760)); GJRotationControl::releaseInputFocus(*(_QWORD *)(a1 + 760)); } if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) ) { 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); return EditorUI::toggleSpecialEditButtons(a1, 0); } else { return EditorUI::showTransformControl(a1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source