{"type": "func", "start": 7044320, "end": 7044504, "name": "EditorUI::scaleYChanged", "pseudocode": "// \n// EditorUI::scaleYChanged from 0x6b7ce0 to 0x6b7d98 (184 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleYChanged @ 0x6b7d9c\n// > <???> @ 0x881a0\n// > <???> @ 0x1156c08\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::scaleYChanged(EditorUI *a1, float a2, bool a3)\n{\n  GameObject *m_selectedObject; // x0\n  cocos2d::CCArray *m_selectedObjects; // x22\n  cocos2d::CCPoint v7; // [xsp+50h] [xbp+50h] BYREF\n  cocos2d::CCPoint v8; // 0:s2.4,4:s3.4\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    GameObject::updateCustomScaleY(m_selectedObject, a2 * m_selectedObject->m_pixelScaleY);\n  }\n  else if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    m_selectedObjects = a1->m_selectedObjects;\n    cocos2d::CCPoint::CCPoint(&v7, &a1->m_pivotPoint);\n    EditorUI::scaleObjects(a1, m_selectedObjects, 0.0, a2, v8, (ObjectScaleType)&v7, 2);\n  }\n}", "assembly": "; \n; EditorUI::scaleYChanged from 0x6b7ce0 to 0x6b7d98 (184 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleYChanged @ 0x6b7d9c\n; > <???> @ 0x881a0\n; > <???> @ 0x1156c08\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_60]!                                ; +0x0, 0x6b7ce0\nMOV             X29, SP                                                ; +0x4, 0x6b7ce4\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x6b7ce8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b7cec\nMOV             X20, X0                                                ; +0x10, 0x6b7cf0\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0x6b7cf4\nUXTB            W21, W1                                                ; +0x18, 0x6b7cf8\nLDR             X0, [X0,#0x530]; this                                  ; +0x1c, 0x6b7cfc\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x6b7d00\nSTR             D8, [SP,#0x60+var_30]                                  ; +0x24, 0x6b7d04\nFMOV            S8, S0                                                 ; +0x28, 0x6b7d08\nLDR             X1, [X1]                                               ; +0x2c, 0x6b7d0c\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x30, 0x6b7d10\nCBZ             X0, loc_6B7D4C                                         ; +0x34, 0x6b7d14\nLDR             S0, [X0,#0x514]                                        ; +0x38, 0x6b7d18\nFMUL            S0, S8, S0; float                                      ; +0x3c, 0x6b7d1c\nBL              _ZN10GameObject18updateCustomScaleYEf; GameObject::updateCustomScaleY(float) ; +0x40, 0x6b7d20\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x44, 0x6b7d24\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x48, 0x6b7d28\nLDR             X0, [X19]                                              ; +0x4c, 0x6b7d2c\nCMP             X1, X0                                                 ; +0x50, 0x6b7d30\nB.NE            loc_6B7D94                                             ; +0x54, 0x6b7d34\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x58, 0x6b7d38\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x5c, 0x6b7d3c\nLDR             D8, [SP,#0x60+var_30]                                  ; +0x60, 0x6b7d40\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x64, 0x6b7d44\nRET; char                                                              ; +0x68, 0x6b7d48\nLDR             X0, [X20,#0x338]; this                                 ; +0x6c, 0x6b7d4c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x70, 0x6b7d50\nCBZ             W0, loc_6B7D24                                         ; +0x74, 0x6b7d54\nADD             X2, X29, #0x60+var_10                                  ; +0x78, 0x6b7d58\nADD             X1, X20, #0x2B8; cocos2d::CCPoint *                    ; +0x7c, 0x6b7d5c\nMOV             X0, X2; this                                           ; +0x80, 0x6b7d60\nLDR             X22, [X20,#0x338]                                      ; +0x84, 0x6b7d64\nSTR             X2, [X29,#0x60+var_18]                                 ; +0x88, 0x6b7d68\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x8c, 0x6b7d6c\nFMOV            S0, WZR                                                ; +0x90, 0x6b7d70\nLDR             X2, [X29,#0x60+var_18]; int                            ; +0x94, 0x6b7d74\nFMOV            S1, S8                                                 ; +0x98, 0x6b7d78\nMOV             X0, X20; int                                           ; +0x9c, 0x6b7d7c\nMOV             X1, X22; this                                          ; +0xa0, 0x6b7d80\nMOV             W3, #2; int                                            ; +0xa4, 0x6b7d84\nMOV             W4, W21; int                                           ; +0xa8, 0x6b7d88\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0xac, 0x6b7d8c\nB               loc_6B7D24                                             ; +0xb0, 0x6b7d90\nBL              .__stack_chk_fail                                      ; +0xb4, 0x6b7d94", "xrefs": ["`non-virtual thunk to'EditorUI::scaleYChanged @ 0x6b7d9c", "<???> @ 0x881a0", "<???> @ 0x1156c08"], "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"}