{"type": "func", "start": 6903160, "end": 6903304, "name": "EditorUI::deactivateScaleControl", "pseudocode": "// \n// EditorUI::deactivateScaleControl from 0x695578 to 0x695608 (144 bytes)\n// \n// 8 xrefs:\n// > EditorUI::deleteObject @ 0x696a40\n// > EditorUI::activateScaleControl @ 0x6b4ac8\n// > EditorUI::activateTransformControl @ 0x6b6554\n// > EditorUI::init @ 0x6bc0f8\n// > EditorUI::deselectAll @ 0x6be2e0\n// > EditorUI::selectAll @ 0x6c31c4\n// > EditorUI::selectAllWithDirection @ 0x6c3314\n// > <???> @ 0x3be80\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; // x0\n\n  if ( 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  else\n  {\n    m_scaleControl = a1->m_scaleControl;\n  }\n  EditorUI::updateEditButtonColor(a1, m_scaleControl->m_senderTag, (cocos2d::ccColor3B)&unk_FFFFFF);\n  a1->m_scaleControl->m_senderTag = 0;\n}", "assembly": "; \n; EditorUI::deactivateScaleControl from 0x695578 to 0x695608 (144 bytes)\n; \n; 8 xrefs:\n; > EditorUI::deleteObject @ 0x696a40\n; > EditorUI::activateScaleControl @ 0x6b4ac8\n; > EditorUI::activateTransformControl @ 0x6b6554\n; > EditorUI::init @ 0x6bc0f8\n; > EditorUI::deselectAll @ 0x6be2e0\n; > EditorUI::selectAll @ 0x6c31c4\n; > EditorUI::selectAllWithDirection @ 0x6c3314\n; > <???> @ 0x3be80\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x695578\nMOV             X29, SP                                                ; +0x4, 0x69557c\nLDR             X1, [X0,#0x2C8]                                        ; +0x8, 0x695580\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x695584\nMOV             X19, X0                                                ; +0x10, 0x695588\nMOV             X0, X1                                                 ; +0x14, 0x69558c\nLDR             X1, [X1]                                               ; +0x18, 0x695590\nLDR             X1, [X1,#0x150]                                        ; +0x1c, 0x695594\nBLR             X1                                                     ; +0x20, 0x695598\nUXTB            W0, W0                                                 ; +0x24, 0x69559c\nCBNZ            W0, loc_6955D0                                         ; +0x28, 0x6955a0\nLDR             X0, [X19,#0x2C8]                                       ; +0x2c, 0x6955a4\nADRP            X2, #off_EC62E0@PAGE                                   ; +0x30, 0x6955a8\nLDR             W1, [X0,#0x1F8]                                        ; +0x34, 0x6955ac\nMOV             X0, X19                                                ; +0x38, 0x6955b0\nLDR             X2, [X2,#off_EC62E0@PAGEOFF]; unk_FFFFFF               ; +0x3c, 0x6955b4\nBL              _ZN8EditorUI21updateEditButtonColorEiN7cocos2d10_ccColor3BE; EditorUI::updateEditButtonColor(int,cocos2d::_ccColor3B) ; +0x40, 0x6955b8\nLDR             X0, [X19,#0x2C8]                                       ; +0x44, 0x6955bc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0x6955c0\nSTR             WZR, [X0,#0x1F8]                                       ; +0x4c, 0x6955c4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x50, 0x6955c8\nRET                                                                    ; +0x54, 0x6955cc\nLDR             X2, [X19,#0x2C8]                                       ; +0x58, 0x6955d0\nMOV             W1, #0                                                 ; +0x5c, 0x6955d4\nMOV             X0, X2                                                 ; +0x60, 0x6955d8\nLDR             X2, [X2]                                               ; +0x64, 0x6955dc\nLDR             X2, [X2,#0x148]                                        ; +0x68, 0x6955e0\nBLR             X2                                                     ; +0x6c, 0x6955e4\nLDR             X0, [X19,#0x2C8]; this                                 ; +0x70, 0x6955e8\nBL              _ZN14GJScaleControl11finishTouchEv; GJScaleControl::finishTouch(void) ; +0x74, 0x6955ec\nLDR             X0, [X19,#0x2C8]                                       ; +0x78, 0x6955f0\nFMOV            S0, #2.0                                               ; +0x7c, 0x6955f4\nSTR             S0, [X0,#0x1F0]                                        ; +0x80, 0x6955f8\nFMOV            S0, #0.5                                               ; +0x84, 0x6955fc\nSTR             S0, [X0,#0x1F4]                                        ; +0x88, 0x695600\nB               loc_6955A8                                             ; +0x8c, 0x695604", "xrefs": ["EditorUI::deleteObject @ 0x696a40", "EditorUI::activateScaleControl @ 0x6b4ac8", "EditorUI::activateTransformControl @ 0x6b6554", "EditorUI::init @ 0x6bc0f8", "EditorUI::deselectAll @ 0x6be2e0", "EditorUI::selectAll @ 0x6c31c4", "EditorUI::selectAllWithDirection @ 0x6c3314", "<???> @ 0x3be80"], "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"}