// // EditorUI::showTransformControl from 0x1001604b0 to 0x1001605cc (284 bytes) // // 2 xrefs: // > EditorUI::activateTransformControl @ 0x10015f960 // > LevelEditorLayer::handleAction @ 0x1003fbf40 // // 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:46 +0000 // __int64 __fastcall EditorUI::showTransformControl(__int64 a1) { __int64 result; // x0 _QWORD *v3; // x0 double *v4; // x1 double v5; // d0 __int64 v6; // x20 __n128 v7; // q0 __int64 v8; // x20 float32x2_t *v9; // x0 float32x2_t v10; // [xsp+8h] [xbp-18h] BYREF result = sub_1002E757C(*(_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_1002E757C(*(_QWORD *)(a1 + 896)) ) { EditorUI::getGroupCenter(*(_QWORD *)(a1 + 896), 0, (float *)&v10); v3 = (_QWORD *)(a1 + 768); v4 = (double *)&v10; } else { v4 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1496) + 192LL))(*(_QWORD *)(a1 + 1496)); v3 = (_QWORD *)(a1 + 768); } v5 = sub_10002630C(v3, v4); (*(void (__fastcall **)(_QWORD, __int64, double))(**(_QWORD **)(a1 + 792) + 184LL))( *(_QWORD *)(a1 + 792), a1 + 768, v5); v6 = *(_QWORD *)(a1 + 792); v7.n128_f64[0] = (*(double (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL)); v7.n128_f32[0] = 1.0 / v7.n128_f32[0]; sub_100159F5C(v6, v7); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 1); v8 = *(_QWORD *)(a1 + 792); v9 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8); sub_10002632C((float32x2_t *)(a1 + 768), v9, &v10); return sub_10015C3FC(v8, (__int64)&v10); } return result; }