{"type": "func", "start": 12590880, "end": 12591032, "name": "EditorUI::deactivateScaleControl", "pseudocode": "// \n// EditorUI::deactivateScaleControl from 0xc01f20 to 0xc01fb8 (152 bytes)\n// \n// 9 xrefs:\n// > EditorUI::deleteObject @ 0x7c1c30\n// > EditorUI::init @ 0x7ceef4\n// > EditorUI::updateSpecialUIElements @ 0x7d17a0\n// > EditorUI::deselectAll @ 0xbdc68c\n// > EditorUI::selectAll @ 0xbdd2d4\n// > EditorUI::selectAllWithDirection @ 0xbdd414\n// > EditorUI::activateScaleControl @ 0xc02800\n// > EditorUI::activateTransformControl @ 0xc029d4\n// > <???> @ 0x56e18\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 13:03:49 +0000\n// \n\n__int64 __fastcall EditorUI::deactivateScaleControl(EditorUI *this)\n{\n  __int64 result; // x0\n\n  if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + 98) + 352LL))(*((_QWORD *)this + 98)) )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 98) + 344LL))(*((_QWORD *)this + 98), 0);\n    GJScaleControl::finishTouch(*((GJScaleControl **)this + 98));\n    GJScaleControl::releaseInputFocus(*((GJScaleControl **)this + 98));\n    *(float *)(*((_QWORD *)this + 98) + 584LL) = 2.0;\n    *(float *)(*((_QWORD *)this + 98) + 588LL) = 0.5;\n  }\n  EditorUI::updateEditButtonColor(\n    (__int64)this,\n    (const char *)*(unsigned int *)(*((_QWORD *)this + 98) + 592LL),\n    0xFFFFFF);\n  result = *((_QWORD *)this + 98);\n  *(_DWORD *)(result + 592) = 0;\n  return result;\n}", "assembly": "; \n; EditorUI::deactivateScaleControl from 0xc01f20 to 0xc01fb8 (152 bytes)\n; \n; 9 xrefs:\n; > EditorUI::deleteObject @ 0x7c1c30\n; > EditorUI::init @ 0x7ceef4\n; > EditorUI::updateSpecialUIElements @ 0x7d17a0\n; > EditorUI::deselectAll @ 0xbdc68c\n; > EditorUI::selectAll @ 0xbdd2d4\n; > EditorUI::selectAllWithDirection @ 0xbdd414\n; > EditorUI::activateScaleControl @ 0xc02800\n; > EditorUI::activateTransformControl @ 0xc029d4\n; > <???> @ 0x56e18\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 13:03:49 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xc01f20\nMOV             X29, SP                                                ; +0x4, 0xc01f24\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xc01f28\nMOV             X19, X0                                                ; +0xc, 0xc01f2c\nLDR             X1, [X0,#0x310]                                        ; +0x10, 0xc01f30\nMOV             X0, X1                                                 ; +0x14, 0xc01f34\nLDR             X1, [X1]                                               ; +0x18, 0xc01f38\nLDR             X1, [X1,#0x160]                                        ; +0x1c, 0xc01f3c\nBLR             X1                                                     ; +0x20, 0xc01f40\nUXTB            W0, W0                                                 ; +0x24, 0xc01f44\nCBZ             W0, loc_C01F8C                                         ; +0x28, 0xc01f48\nLDR             X2, [X19,#0x310]                                       ; +0x2c, 0xc01f4c\nMOV             W1, #0                                                 ; +0x30, 0xc01f50\nMOV             X0, X2                                                 ; +0x34, 0xc01f54\nLDR             X2, [X2]                                               ; +0x38, 0xc01f58\nLDR             X2, [X2,#0x158]                                        ; +0x3c, 0xc01f5c\nBLR             X2                                                     ; +0x40, 0xc01f60\nLDR             X0, [X19,#0x310]; this                                 ; +0x44, 0xc01f64\nBL              _ZN14GJScaleControl11finishTouchEv; GJScaleControl::finishTouch(void) ; +0x48, 0xc01f68\nLDR             X0, [X19,#0x310]; this                                 ; +0x4c, 0xc01f6c\nBL              _ZN14GJScaleControl17releaseInputFocusEv; GJScaleControl::releaseInputFocus(void) ; +0x50, 0xc01f70\nLDR             X0, [X19,#0x310]                                       ; +0x54, 0xc01f74\nFMOV            S0, #2.0                                               ; +0x58, 0xc01f78\nSTR             S0, [X0,#0x248]                                        ; +0x5c, 0xc01f7c\nLDR             X0, [X19,#0x310]                                       ; +0x60, 0xc01f80\nFMOV            S0, #0.5                                               ; +0x64, 0xc01f84\nSTR             S0, [X0,#0x24C]                                        ; +0x68, 0xc01f88\nLDR             X1, [X19,#0x310]                                       ; +0x6c, 0xc01f8c\nADRP            X2, #qword_119AAA0@PAGE                                ; +0x70, 0xc01f90\nMOV             X0, X19                                                ; +0x74, 0xc01f94\nLDR             W1, [X1,#0x250]                                        ; +0x78, 0xc01f98\nLDR             X2, [X2,#qword_119AAA0@PAGEOFF]                        ; +0x7c, 0xc01f9c\nBL              _ZN8EditorUI21updateEditButtonColorEiN7cocos2d10_ccColor3BE; EditorUI::updateEditButtonColor(int,cocos2d::_ccColor3B) ; +0x80, 0xc01fa0\nLDR             X0, [X19,#0x310]                                       ; +0x84, 0xc01fa4\nSTR             WZR, [X0,#0x250]                                       ; +0x88, 0xc01fa8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x8c, 0xc01fac\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x90, 0xc01fb0\nRET                                                                    ; +0x94, 0xc01fb4", "xrefs": ["EditorUI::deleteObject @ 0x7c1c30", "EditorUI::init @ 0x7ceef4", "EditorUI::updateSpecialUIElements @ 0x7d17a0", "EditorUI::deselectAll @ 0xbdc68c", "EditorUI::selectAll @ 0xbdd2d4", "EditorUI::selectAllWithDirection @ 0xbdd414", "EditorUI::activateScaleControl @ 0xc02800", "EditorUI::activateTransformControl @ 0xc029d4", "<???> @ 0x56e18"], "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"}