{"type": "func", "start": 7044512, "end": 7044740, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0x6b7da0 to 0x6b7e84 (228 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0x6b7e88\n// > <???> @ 0x721c8\n// > <???> @ 0x1156c10\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::scaleXYChanged(EditorUI *a1, float a2, float a3, bool a4)\n{\n  _BOOL4 v5; // w21\n  cocos2d::CCArray *m_selectedObjects; // x22\n  cocos2d::CCPoint v9; // [xsp+60h] [xbp+60h] BYREF\n  cocos2d::CCPoint v10; // 0:s2.4,4:s3.4\n\n  v5 = a4;\n  if ( a1->m_selectedObject )\n  {\n    ((void (__fastcall *)(EditorUI *, bool))a1->scaleXChanged)(a1, a4);\n    ((void (__fastcall *)(EditorUI *, _BOOL4, float))a1->scaleYChanged)(a1, v5, a3);\n  }\n  else if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    m_selectedObjects = a1->m_selectedObjects;\n    cocos2d::CCPoint::CCPoint(&v9, &a1->m_pivotPoint);\n    EditorUI::scaleObjects(a1, m_selectedObjects, a2, a3, v10, (ObjectScaleType)&v9, 0);\n  }\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0x6b7da0 to 0x6b7e84 (228 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0x6b7e88\n; > <???> @ 0x721c8\n; > <???> @ 0x1156c10\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_70]!                                ; +0x0, 0x6b7da0\nMOV             X29, SP                                                ; +0x4, 0x6b7da4\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0x6b7da8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b7dac\nMOV             X20, X0                                                ; +0x10, 0x6b7db0\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x14, 0x6b7db4\nUXTB            W21, W1                                                ; +0x18, 0x6b7db8\nLDR             X1, [X0,#0x530]                                        ; +0x1c, 0x6b7dbc\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x6b7dc0\nSTR             D8, [SP,#0x70+var_40]                                  ; +0x24, 0x6b7dc4\nSTR             Q1, [X29,#0x70+var_20]                                 ; +0x28, 0x6b7dc8\nLDR             X2, [X2]                                               ; +0x2c, 0x6b7dcc\nSTR             X2, [X29,#0x70+var_8]                                  ; +0x30, 0x6b7dd0\nFMOV            S8, S0                                                 ; +0x34, 0x6b7dd4\nCBZ             X1, loc_6B7E30                                         ; +0x38, 0x6b7dd8\nLDR             X2, [X0]                                               ; +0x3c, 0x6b7ddc\nMOV             W1, W21                                                ; +0x40, 0x6b7de0\nLDR             X2, [X2,#0x550]                                        ; +0x44, 0x6b7de4\nBLR             X2                                                     ; +0x48, 0x6b7de8\nLDR             X2, [X20]                                              ; +0x4c, 0x6b7dec\nMOV             X0, X20                                                ; +0x50, 0x6b7df0\nLDR             Q1, [X29,#0x70+var_20]                                 ; +0x54, 0x6b7df4\nMOV             W1, W21                                                ; +0x58, 0x6b7df8\nFMOV            S0, S1                                                 ; +0x5c, 0x6b7dfc\nLDR             X2, [X2,#0x558]                                        ; +0x60, 0x6b7e00\nBLR             X2                                                     ; +0x64, 0x6b7e04\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x68, 0x6b7e08\nLDR             X1, [X29,#0x70+var_8]                                  ; +0x6c, 0x6b7e0c\nLDR             X0, [X19]                                              ; +0x70, 0x6b7e10\nCMP             X1, X0                                                 ; +0x74, 0x6b7e14\nB.NE            loc_6B7E80                                             ; +0x78, 0x6b7e18\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0x7c, 0x6b7e1c\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0x80, 0x6b7e20\nLDR             D8, [SP,#0x70+var_40]                                  ; +0x84, 0x6b7e24\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0x88, 0x6b7e28\nRET; char                                                              ; +0x8c, 0x6b7e2c\nLDR             X0, [X0,#0x338]; this                                  ; +0x90, 0x6b7e30\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x94, 0x6b7e34\nLDR             Q1, [X29,#0x70+var_20]                                 ; +0x98, 0x6b7e38\nCBZ             W0, loc_6B7E08                                         ; +0x9c, 0x6b7e3c\nADD             X2, X29, #0x70+var_10                                  ; +0xa0, 0x6b7e40\nADD             X1, X20, #0x2B8; cocos2d::CCPoint *                    ; +0xa4, 0x6b7e44\nMOV             X0, X2; this                                           ; +0xa8, 0x6b7e48\nLDR             X22, [X20,#0x338]                                      ; +0xac, 0x6b7e4c\nSTR             Q1, [X29,#0x70+var_30]                                 ; +0xb0, 0x6b7e50\nSTR             X2, [X29,#0x70+var_20]                                 ; +0xb4, 0x6b7e54\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xb8, 0x6b7e58\nLDR             Q1, [X29,#0x70+var_30]                                 ; +0xbc, 0x6b7e5c\nLDR             X2, [X29,#0x70+var_20]; int                            ; +0xc0, 0x6b7e60\nFMOV            S0, S8                                                 ; +0xc4, 0x6b7e64\nMOV             X0, X20; int                                           ; +0xc8, 0x6b7e68\nMOV             X1, X22; this                                          ; +0xcc, 0x6b7e6c\nMOV             W3, #0; int                                            ; +0xd0, 0x6b7e70\nMOV             W4, W21; int                                           ; +0xd4, 0x6b7e74\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0xd8, 0x6b7e78\nB               loc_6B7E08                                             ; +0xdc, 0x6b7e7c\nBL              .__stack_chk_fail                                      ; +0xe0, 0x6b7e80", "xrefs": ["`non-virtual thunk to'EditorUI::scaleXYChanged @ 0x6b7e88", "<???> @ 0x721c8", "<???> @ 0x1156c10"], "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"}