{"type": "func", "start": 4296409272, "end": 4296409400, "name": "EditorUI::deactivateScaleControl", "pseudocode": "// \n// EditorUI::deactivateScaleControl from 0x1001600b8 to 0x100160138 (128 bytes)\n// \n// 8 xrefs:\n// > EditorUI::activateTransformControl @ 0x10015f918\n// > EditorUI::activateScaleControl @ 0x10015ff68\n// > EditorUI::deselectAll @ 0x1001a5cdc\n// > EditorUI::selectAll @ 0x1001a6460\n// > EditorUI::selectAllWithDirection @ 0x1001a6594\n// > EditorUI::init @ 0x10046e734\n// > EditorUI::updateSpecialUIElements @ 0x100474860\n// > EditorUI::deleteObject @ 0x100476500\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:59:45 +0000\n// \n\nvoid __fastcall EditorUI::deactivateScaleControl(__int64 a1)\n{\n  int v2; // w8\n  __int64 v3; // x0\n\n  v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 784) + 352LL))(*(_QWORD *)(a1 + 784));\n  v3 = *(_QWORD *)(a1 + 784);\n  if ( v2 )\n  {\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, 0);\n    sub_1001585B4(*(_QWORD *)(a1 + 784));\n    sub_100158E98(*(_QWORD **)(a1 + 784));\n    v3 = *(_QWORD *)(a1 + 784);\n    *(_QWORD *)(v3 + 584) = 0x3F00000040000000LL;\n  }\n  EditorUI::updateEditButtonColor(a1, *(_DWORD *)(v3 + 592), 0xFFFFFF);\n  *(_DWORD *)(*(_QWORD *)(a1 + 784) + 592LL) = 0;\n}", "assembly": "; \n; EditorUI::deactivateScaleControl from 0x1001600b8 to 0x100160138 (128 bytes)\n; \n; 8 xrefs:\n; > EditorUI::activateTransformControl @ 0x10015f918\n; > EditorUI::activateScaleControl @ 0x10015ff68\n; > EditorUI::deselectAll @ 0x1001a5cdc\n; > EditorUI::selectAll @ 0x1001a6460\n; > EditorUI::selectAllWithDirection @ 0x1001a6594\n; > EditorUI::init @ 0x10046e734\n; > EditorUI::updateSpecialUIElements @ 0x100474860\n; > EditorUI::deleteObject @ 0x100476500\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:59:45 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001600b8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001600bc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001600c0\nMOV             X19, X0                                                ; +0xc, 0x1001600c4\nLDR             X0, [X0,#0x310]                                        ; +0x10, 0x1001600c8\nLDR             X8, [X0]                                               ; +0x14, 0x1001600cc\nLDR             X8, [X8,#0x160]                                        ; +0x18, 0x1001600d0\nBLR             X8                                                     ; +0x1c, 0x1001600d4\nMOV             X8, X0                                                 ; +0x20, 0x1001600d8\nLDR             X0, [X19,#0x310]                                       ; +0x24, 0x1001600dc\nCBZ             W8, loc_100160114                                      ; +0x28, 0x1001600e0\nLDR             X8, [X0]                                               ; +0x2c, 0x1001600e4\nLDR             X8, [X8,#0x158]                                        ; +0x30, 0x1001600e8\nMOV             W1, #0                                                 ; +0x34, 0x1001600ec\nBLR             X8                                                     ; +0x38, 0x1001600f0\nLDR             X0, [X19,#0x310]                                       ; +0x3c, 0x1001600f4\nBL              sub_1001585B4                                          ; +0x40, 0x1001600f8\nLDR             X0, [X19,#0x310]                                       ; +0x44, 0x1001600fc\nBL              sub_100158E98                                          ; +0x48, 0x100160100\nLDR             X0, [X19,#0x310]                                       ; +0x4c, 0x100160104\nADRP            X8, #qword_10075E8B0@PAGE                              ; +0x50, 0x100160108\nLDR             D0, [X8,#qword_10075E8B0@PAGEOFF]                      ; +0x54, 0x10016010c\nSTR             D0, [X0,#0x248]                                        ; +0x58, 0x100160110\nLDR             W1, [X0,#0x250]                                        ; +0x5c, 0x100160114\nMOV             X0, X19                                                ; +0x60, 0x100160118\nMOV             W2, #0xFFFFFF                                          ; +0x64, 0x10016011c\nBL              EditorUI__updateEditButtonColor                        ; +0x68, 0x100160120\nLDR             X8, [X19,#0x310]                                       ; +0x6c, 0x100160124\nSTR             WZR, [X8,#0x250]                                       ; +0x70, 0x100160128\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x10016012c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x100160130\nRET                                                                    ; +0x7c, 0x100160134", "xrefs": ["EditorUI::activateTransformControl @ 0x10015f918", "EditorUI::activateScaleControl @ 0x10015ff68", "EditorUI::deselectAll @ 0x1001a5cdc", "EditorUI::selectAll @ 0x1001a6460", "EditorUI::selectAllWithDirection @ 0x1001a6594", "EditorUI::init @ 0x10046e734", "EditorUI::updateSpecialUIElements @ 0x100474860", "EditorUI::deleteObject @ 0x100476500"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}