{"type": "func", "start": 3701000, "end": 3701070, "name": "EditorUI::deactivateTransformControl", "pseudocode": "// \n// EditorUI::deactivateTransformControl from 0x387908 to 0x38794e (70 bytes)\n// \n// 8 xrefs:\n// > EditorUI::deleteObject @ 0x387988\n// > EditorUI::activateScaleControl @ 0x39c77e\n// > EditorUI::activateRotationControl @ 0x39c8f8\n// > EditorUI::activateTransformControl @ 0x39d852\n// > EditorUI::init @ 0x3a122c\n// > EditorUI::deselectAll @ 0x3a2ce6\n// > EditorUI::selectAll @ 0x3a5ac2\n// > EditorUI::selectAllWithDirection @ 0x3a5bc0\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 EditorUI::deactivateTransformControl(EditorUI *a1)\n{\n  if ( ((int (__fastcall *)(GJTransformControl *))a1->m_transformControl->isVisible)(a1->m_transformControl) )\n  {\n    a1->m_transformControl->setVisible(a1->m_transformControl, 0);\n    GJTransformControl::finishTouch(a1->m_transformControl);\n  }\n  EditorUI::updateEditButtonColor(a1, 31, (cocos2d::ccColor3B)-1);\n}", "assembly": "; \n; EditorUI::deactivateTransformControl from 0x387908 to 0x38794e (70 bytes)\n; \n; 8 xrefs:\n; > EditorUI::deleteObject @ 0x387988\n; > EditorUI::activateScaleControl @ 0x39c77e\n; > EditorUI::activateRotationControl @ 0x39c8f8\n; > EditorUI::activateTransformControl @ 0x39d852\n; > EditorUI::init @ 0x3a122c\n; > EditorUI::deselectAll @ 0x3a2ce6\n; > EditorUI::selectAll @ 0x3a5ac2\n; > EditorUI::selectAllWithDirection @ 0x3a5bc0\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\nPUSH            {R4,LR}                                                ; +0x0, 0x387908\nMOV             R4, R0                                                 ; +0x2, 0x38790a\nLDR.W           R0, [R0,#0x218]                                        ; +0x4, 0x38790c\nLDR             R3, [R0]                                               ; +0x8, 0x387910\nLDR.W           R3, [R3,#0xA8]                                         ; +0xa, 0x387912\nBLX             R3                                                     ; +0xe, 0x387916\nCBZ             R0, loc_387930                                         ; +0x10, 0x387918\nLDR.W           R0, [R4,#0x218]                                        ; +0x12, 0x38791a\nMOVS            R1, #0                                                 ; +0x16, 0x38791e\nLDR             R3, [R0]                                               ; +0x18, 0x387920\nLDR.W           R3, [R3,#0xA4]                                         ; +0x1a, 0x387922\nBLX             R3                                                     ; +0x1e, 0x387926\nLDR.W           R0, [R4,#0x218]; this                                  ; +0x20, 0x387928\nBL              _ZN18GJTransformControl11finishTouchEv; GJTransformControl::finishTouch(void) ; +0x24, 0x38792c\nLDR             R1, =(word_9AA83C - 0x38793C)                          ; +0x28, 0x387930\nMOV             R0, R4                                                 ; +0x2a, 0x387932\nPOP.W           {R4,LR}                                                ; +0x2c, 0x387934\nADD             R1, PC; word_9AA83C                                    ; +0x30, 0x387938\nLDRB            R2, [R1,#(word_9AA83C+1 - 0x9AA83C)]                   ; +0x32, 0x38793a\nLDRB            R3, [R1]                                               ; +0x34, 0x38793c\nORR.W           R3, R3, R2,LSL#8                                       ; +0x36, 0x38793e\nLDRB            R2, [R1,#(byte_9AA83E - 0x9AA83C)]                     ; +0x3a, 0x387942\nMOVS            R1, #0x1F                                              ; +0x3c, 0x387944\nORR.W           R2, R3, R2,LSL#16                                      ; +0x3e, 0x387946\nB.W             _ZN8EditorUI21updateEditButtonColorEiN7cocos2d10_ccColor3BE; EditorUI::updateEditButtonColor(int,cocos2d::_ccColor3B) ; +0x42, 0x38794a", "xrefs": ["EditorUI::deleteObject @ 0x387988", "EditorUI::activateScaleControl @ 0x39c77e", "EditorUI::activateRotationControl @ 0x39c8f8", "EditorUI::activateTransformControl @ 0x39d852", "EditorUI::init @ 0x3a122c", "EditorUI::deselectAll @ 0x3a2ce6", "EditorUI::selectAll @ 0x3a5ac2", "EditorUI::selectAllWithDirection @ 0x3a5bc0"], "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"}