{"type": "func", "start": 4298928508, "end": 4298928632, "name": "EditorUI::deactivateTransformControl", "pseudocode": "// \n// EditorUI::deactivateTransformControl from 0x1003c717c to 0x1003c71f8 (124 bytes)\n// \n// 8 xrefs:\n// > EditorUI::init @ 0x1003c50cc\n// > EditorUI::deleteObject @ 0x1003e9c44\n// > EditorUI::deselectAll @ 0x1003e9d48\n// > EditorUI::selectAll @ 0x1003ee160\n// > EditorUI::selectAllWithDirection @ 0x1003ee374\n// > EditorUI::activateRotationControl @ 0x1003ee3e4\n// > EditorUI::activateScaleControl @ 0x1003ef134\n// > EditorUI::activateTransformControl @ 0x1003efdd8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorUI::deactivateTransformControl(EditorUI *a1)\n{\n  GJTransformControl *m_transformControl; // x8\n  GJTransformControlDelegate *m_delegate; // x0\n\n  if ( ((unsigned int (__fastcall *)(GJTransformControl *))a1->m_transformControl->isVisible)(a1->m_transformControl) )\n  {\n    ((void (__fastcall *)(GJTransformControl *, _QWORD))a1->m_transformControl->setVisible)(a1->m_transformControl, 0);\n    m_transformControl = a1->m_transformControl;\n    if ( m_transformControl->m_touchID != -1 )\n    {\n      m_transformControl->m_touchID = -1;\n      m_delegate = m_transformControl->m_delegate;\n      if ( m_delegate )\n        ((void (__fastcall *)(GJTransformControlDelegate *))m_delegate->transformChangeEnded)(m_delegate);\n    }\n  }\n  EditorUI::updateEditButtonColor(a1, 31, (cocos2d::ccColor3B)-1);\n}", "assembly": "; \n; EditorUI::deactivateTransformControl from 0x1003c717c to 0x1003c71f8 (124 bytes)\n; \n; 8 xrefs:\n; > EditorUI::init @ 0x1003c50cc\n; > EditorUI::deleteObject @ 0x1003e9c44\n; > EditorUI::deselectAll @ 0x1003e9d48\n; > EditorUI::selectAll @ 0x1003ee160\n; > EditorUI::selectAllWithDirection @ 0x1003ee374\n; > EditorUI::activateRotationControl @ 0x1003ee3e4\n; > EditorUI::activateScaleControl @ 0x1003ef134\n; > EditorUI::activateTransformControl @ 0x1003efdd8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003c717c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003c7180\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003c7184\nMOV             X19, X0                                                ; +0xc, 0x1003c7188\nLDR             X0, [X0,#0x2C0]                                        ; +0x10, 0x1003c718c\nLDR             X8, [X0]                                               ; +0x14, 0x1003c7190\nLDR             X8, [X8,#0x150]                                        ; +0x18, 0x1003c7194\nBLR             X8                                                     ; +0x1c, 0x1003c7198\nCBZ             W0, loc_1003C71E0                                      ; +0x20, 0x1003c719c\nLDR             X0, [X19,#0x2C0]                                       ; +0x24, 0x1003c71a0\nLDR             X8, [X0]                                               ; +0x28, 0x1003c71a4\nLDR             X8, [X8,#0x148]                                        ; +0x2c, 0x1003c71a8\nMOV             W1, #0                                                 ; +0x30, 0x1003c71ac\nBLR             X8                                                     ; +0x34, 0x1003c71b0\nLDR             X8, [X19,#0x2C0]                                       ; +0x38, 0x1003c71b4\nLDR             W9, [X8,#0x1B0]                                        ; +0x3c, 0x1003c71b8\nCMN             W9, #1                                                 ; +0x40, 0x1003c71bc\nB.EQ            loc_1003C71E0                                          ; +0x44, 0x1003c71c0\nMOV             W9, #0xFFFFFFFF                                        ; +0x48, 0x1003c71c4\nSTR             W9, [X8,#0x1B0]                                        ; +0x4c, 0x1003c71c8\nLDR             X0, [X8,#0x1B8]                                        ; +0x50, 0x1003c71cc\nCBZ             X0, loc_1003C71E0                                      ; +0x54, 0x1003c71d0\nLDR             X8, [X0]                                               ; +0x58, 0x1003c71d4\nLDR             X8, [X8,#0x58]                                         ; +0x5c, 0x1003c71d8\nBLR             X8                                                     ; +0x60, 0x1003c71dc\nMOV             X0, X19                                                ; +0x64, 0x1003c71e0\nMOV             W1, #0x1F                                              ; +0x68, 0x1003c71e4\nMOV             W2, #0xFFFFFF                                          ; +0x6c, 0x1003c71e8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x1003c71ec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x1003c71f0\nB               EditorUI__updateEditButtonColor                        ; +0x78, 0x1003c71f4", "xrefs": ["EditorUI::init @ 0x1003c50cc", "EditorUI::deleteObject @ 0x1003e9c44", "EditorUI::deselectAll @ 0x1003e9d48", "EditorUI::selectAll @ 0x1003ee160", "EditorUI::selectAllWithDirection @ 0x1003ee374", "EditorUI::activateRotationControl @ 0x1003ee3e4", "EditorUI::activateScaleControl @ 0x1003ef134", "EditorUI::activateTransformControl @ 0x1003efdd8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}