{"type": "func", "start": 7399648, "end": 7399764, "name": "EditorUI::deactivateScaleControl", "pseudocode": "// \n// EditorUI::deactivateScaleControl from 0x70e8e0 to 0x70e954 (116 bytes)\n// \n// 8 xrefs:\n// > EditorUI::deleteObject @ 0x481d3a\n// > EditorUI::init @ 0x48a4b2\n// > EditorUI::updateSpecialUIElements @ 0x48c484\n// > EditorUI::deselectAll @ 0x6f421e\n// > EditorUI::selectAll @ 0x6f4a26\n// > EditorUI::selectAllWithDirection @ 0x6f4b18\n// > EditorUI::activateScaleControl @ 0x70ee9a\n// > EditorUI::activateTransformControl @ 0x70efd2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:42 +0000\n// \n\nvoid __fastcall EditorUI::deactivateScaleControl(EditorUI *this)\n{\n  if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 148) + 176))(*((_DWORD *)this + 148)) )\n  {\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 148) + 172))(*((_DWORD *)this + 148), 0);\n    GJScaleControl::finishTouch(*((GJScaleControl **)this + 148));\n    GJScaleControl::releaseInputFocus(*((GJScaleControl **)this + 148));\n    *(_DWORD *)(*((_DWORD *)this + 148) + 416) = 0x40000000;\n    *(_DWORD *)(*((_DWORD *)this + 148) + 420) = 1056964608;\n  }\n  EditorUI::updateEditButtonColor((int)this, *(const char **)(*((_DWORD *)this + 148) + 424), 0xFFFFFF);\n  *(_DWORD *)(*((_DWORD *)this + 148) + 424) = 0;\n}", "assembly": "; \n; EditorUI::deactivateScaleControl from 0x70e8e0 to 0x70e954 (116 bytes)\n; \n; 8 xrefs:\n; > EditorUI::deleteObject @ 0x481d3a\n; > EditorUI::init @ 0x48a4b2\n; > EditorUI::updateSpecialUIElements @ 0x48c484\n; > EditorUI::deselectAll @ 0x6f421e\n; > EditorUI::selectAll @ 0x6f4a26\n; > EditorUI::selectAllWithDirection @ 0x6f4b18\n; > EditorUI::activateScaleControl @ 0x70ee9a\n; > EditorUI::activateTransformControl @ 0x70efd2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:42 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x70e8e0\nMOV             R4, R0                                                 ; +0x2, 0x70e8e2\nLDR.W           R0, [R0,#0x250]                                        ; +0x4, 0x70e8e4\nLDR             R3, [R0]                                               ; +0x8, 0x70e8e8\nLDR.W           R3, [R3,#0xB0]                                         ; +0xa, 0x70e8ea\nBLX             R3                                                     ; +0xe, 0x70e8ee\nCBZ             R0, loc_70E928                                         ; +0x10, 0x70e8f0\nLDR.W           R0, [R4,#0x250]                                        ; +0x12, 0x70e8f2\nMOVS            R1, #0                                                 ; +0x16, 0x70e8f6\nLDR             R3, [R0]                                               ; +0x18, 0x70e8f8\nLDR.W           R3, [R3,#0xAC]                                         ; +0x1a, 0x70e8fa\nBLX             R3                                                     ; +0x1e, 0x70e8fe\nLDR.W           R0, [R4,#0x250]; this                                  ; +0x20, 0x70e900\nBL              _ZN14GJScaleControl11finishTouchEv; GJScaleControl::finishTouch(void) ; +0x24, 0x70e904\nLDR.W           R0, [R4,#0x250]; this                                  ; +0x28, 0x70e908\nBL              _ZN14GJScaleControl17releaseInputFocusEv; GJScaleControl::releaseInputFocus(void) ; +0x2c, 0x70e90c\nLDR.W           R3, [R4,#0x250]                                        ; +0x30, 0x70e910\nMOV.W           R2, #0x40000000                                        ; +0x34, 0x70e914\nSTR.W           R2, [R3,#0x1A0]                                        ; +0x38, 0x70e918\nMOV.W           R2, #0x3F000000                                        ; +0x3c, 0x70e91c\nLDR.W           R3, [R4,#0x250]                                        ; +0x40, 0x70e920\nSTR.W           R2, [R3,#0x1A4]                                        ; +0x44, 0x70e924\nLDR             R1, =(dword_BF0310 - 0x70E934)                         ; +0x48, 0x70e928\nMOV             R0, R4                                                 ; +0x4a, 0x70e92a\nLDR.W           R5, [R4,#0x250]                                        ; +0x4c, 0x70e92c\nADD             R1, PC; dword_BF0310                                   ; +0x50, 0x70e930\nLDRB            R2, [R1,#(byte_BF0321 - 0xBF0310)]                     ; +0x52, 0x70e932\nLDRB            R3, [R1,#(byte_BF0320 - 0xBF0310)]                     ; +0x54, 0x70e934\nORR.W           R3, R3, R2,LSL#8                                       ; +0x56, 0x70e936\nLDRB            R2, [R1,#(byte_BF0322 - 0xBF0310)]                     ; +0x5a, 0x70e93a\nLDR.W           R1, [R5,#0x1A8]                                        ; +0x5c, 0x70e93c\nORR.W           R2, R3, R2,LSL#16                                      ; +0x60, 0x70e940\nBL              _ZN8EditorUI21updateEditButtonColorEiN7cocos2d10_ccColor3BE; EditorUI::updateEditButtonColor(int,cocos2d::_ccColor3B) ; +0x64, 0x70e944\nLDR.W           R3, [R4,#0x250]                                        ; +0x68, 0x70e948\nMOVS            R2, #0                                                 ; +0x6c, 0x70e94c\nSTR.W           R2, [R3,#0x1A8]                                        ; +0x6e, 0x70e94e\nPOP             {R3-R5,PC}                                             ; +0x72, 0x70e952", "xrefs": ["EditorUI::deleteObject @ 0x481d3a", "EditorUI::init @ 0x48a4b2", "EditorUI::updateSpecialUIElements @ 0x48c484", "EditorUI::deselectAll @ 0x6f421e", "EditorUI::selectAll @ 0x6f4a26", "EditorUI::selectAllWithDirection @ 0x6f4b18", "EditorUI::activateScaleControl @ 0x70ee9a", "EditorUI::activateTransformControl @ 0x70efd2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}