// // EditorUI::showTransformControl from 0x100613520 to 0x10061365a (314 bytes) // // 2 xrefs: // > LevelEditorLayer::handleAction @ 0x1000b27b4 // > EditorUI::activateTransformControl @ 0x10061195b // // 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::showTransformControl(__int64 a1) { double v1; // rax __int64 result; // rax _QWORD *v4; // rdi double *v5; // rsi unsigned __int64 *v6; // r14 __int64 v7; // r15 float v8; // xmm1_4 __int64 v9; // rbx unsigned __int64 *v10; // rax double v11[4]; // [rsp+0h] [rbp-20h] BYREF v11[0] = v1; result = sub_1007FEF90(*(_QWORD *)(a1 + 896)); if ( (_DWORD)result || *(_QWORD *)(a1 + 1496) ) { *(_BYTE *)(a1 + 532) = 1; EditorUI::updateEditButtonColor(a1, 47, 10921638); *(_BYTE *)(a1 + 776) = 0; if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) ) { EditorUI::getGroupCenter((float *)v11, 47, *(_QWORD *)(a1 + 896), 0); v4 = (_QWORD *)(a1 + 768); v5 = v11; } else { v4 = (_QWORD *)(a1 + 768); v5 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1496) + 192LL))(*(_QWORD *)(a1 + 1496)); } sub_100278300(v4, v5); v6 = (unsigned __int64 *)(a1 + 768); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 792) + 184LL))(*(_QWORD *)(a1 + 792), a1 + 768); v7 = *(_QWORD *)(a1 + 792); v8 = 1.0 / (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL)); GJTransformControl::scaleButtons(v7, v8); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 1); v9 = *(_QWORD *)(a1 + 792); v10 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 192LL))(v9); sub_100278370(v11, v6, v10); return GJTransformControl::updateAnchorSprite(v9, v11); } return result; }