{"type": "func", "start": 3697456, "end": 3697560, "name": "EditorUI::deactivateScaleControl", "pseudocode": "// \n// EditorUI::deactivateScaleControl from 0x386b30 to 0x386b98 (104 bytes)\n// \n// 7 xrefs:\n// > EditorUI::deleteObject @ 0x38797e\n// > EditorUI::activateScaleControl @ 0x39c7a4\n// > EditorUI::activateTransformControl @ 0x39d838\n// > EditorUI::init @ 0x3a11f6\n// > EditorUI::deselectAll @ 0x3a2ce0\n// > EditorUI::selectAll @ 0x3a5abc\n// > EditorUI::selectAllWithDirection @ 0x3a5bba\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::deactivateScaleControl(EditorUI *a1)\n{\n  GJScaleControl *m_scaleControl; // r3\n\n  if ( ((int (__fastcall *)(GJScaleControl *))a1->m_scaleControl->isVisible)(a1->m_scaleControl) )\n  {\n    a1->m_scaleControl->setVisible(a1->m_scaleControl, 0);\n    GJScaleControl::finishTouch(a1->m_scaleControl);\n    m_scaleControl = a1->m_scaleControl;\n    m_scaleControl->m_upperBound = 2.0;\n    m_scaleControl->m_lowerBound = 0.5;\n  }\n  EditorUI::updateEditButtonColor(a1, a1->m_scaleControl->m_senderTag, (cocos2d::ccColor3B)-1);\n  a1->m_scaleControl->m_senderTag = 0;\n}", "assembly": "; \n; EditorUI::deactivateScaleControl from 0x386b30 to 0x386b98 (104 bytes)\n; \n; 7 xrefs:\n; > EditorUI::deleteObject @ 0x38797e\n; > EditorUI::activateScaleControl @ 0x39c7a4\n; > EditorUI::activateTransformControl @ 0x39d838\n; > EditorUI::init @ 0x3a11f6\n; > EditorUI::deselectAll @ 0x3a2ce0\n; > EditorUI::selectAll @ 0x3a5abc\n; > EditorUI::selectAllWithDirection @ 0x3a5bba\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            {R3-R5,LR}                                             ; +0x0, 0x386b30\nMOV             R4, R0                                                 ; +0x2, 0x386b32\nLDR.W           R0, [R0,#0x214]                                        ; +0x4, 0x386b34\nLDR             R3, [R0]                                               ; +0x8, 0x386b38\nLDR.W           R3, [R3,#0xA8]                                         ; +0xa, 0x386b3a\nBLX             R3                                                     ; +0xe, 0x386b3e\nCBZ             R0, loc_386B6C                                         ; +0x10, 0x386b40\nLDR.W           R0, [R4,#0x214]                                        ; +0x12, 0x386b42\nMOVS            R1, #0                                                 ; +0x16, 0x386b46\nLDR             R3, [R0]                                               ; +0x18, 0x386b48\nLDR.W           R3, [R3,#0xA4]                                         ; +0x1a, 0x386b4a\nBLX             R3                                                     ; +0x1e, 0x386b4e\nLDR.W           R0, [R4,#0x214]; this                                  ; +0x20, 0x386b50\nBL              _ZN14GJScaleControl11finishTouchEv; GJScaleControl::finishTouch(void) ; +0x24, 0x386b54\nLDR.W           R3, [R4,#0x214]                                        ; +0x28, 0x386b58\nMOV.W           R2, #0x40000000                                        ; +0x2c, 0x386b5c\nSTR.W           R2, [R3,#0x174]                                        ; +0x30, 0x386b60\nMOV.W           R2, #0x3F000000                                        ; +0x34, 0x386b64\nSTR.W           R2, [R3,#0x178]                                        ; +0x38, 0x386b68\nLDR             R1, =(word_9AA83C - 0x386B78)                          ; +0x3c, 0x386b6c\nMOV             R0, R4                                                 ; +0x3e, 0x386b6e\nLDR.W           R5, [R4,#0x214]                                        ; +0x40, 0x386b70\nADD             R1, PC; word_9AA83C                                    ; +0x44, 0x386b74\nLDRB            R2, [R1,#(word_9AA83C+1 - 0x9AA83C)]                   ; +0x46, 0x386b76\nLDRB            R3, [R1]                                               ; +0x48, 0x386b78\nORR.W           R3, R3, R2,LSL#8                                       ; +0x4a, 0x386b7a\nLDRB            R2, [R1,#(byte_9AA83E - 0x9AA83C)]                     ; +0x4e, 0x386b7e\nLDR.W           R1, [R5,#0x17C]                                        ; +0x50, 0x386b80\nORR.W           R2, R3, R2,LSL#16                                      ; +0x54, 0x386b84\nBL              _ZN8EditorUI21updateEditButtonColorEiN7cocos2d10_ccColor3BE; EditorUI::updateEditButtonColor(int,cocos2d::_ccColor3B) ; +0x58, 0x386b88\nLDR.W           R3, [R4,#0x214]                                        ; +0x5c, 0x386b8c\nMOVS            R2, #0                                                 ; +0x60, 0x386b90\nSTR.W           R2, [R3,#0x17C]                                        ; +0x62, 0x386b92\nPOP             {R3-R5,PC}                                             ; +0x66, 0x386b96", "xrefs": ["EditorUI::deleteObject @ 0x38797e", "EditorUI::activateScaleControl @ 0x39c7a4", "EditorUI::activateTransformControl @ 0x39d838", "EditorUI::init @ 0x3a11f6", "EditorUI::deselectAll @ 0x3a2ce0", "EditorUI::selectAll @ 0x3a5abc", "EditorUI::selectAllWithDirection @ 0x3a5bba"], "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"}