{"type": "func", "start": 4299094036, "end": 4299094196, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0x1003ef814 to 0x1003ef8b4 (160 bytes)\n// \n// 2 xrefs:\n// > sub_1003EFBFC @ 0x1003efc00\n// > <???> @ 0x100814098\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 __fastcall EditorUI::scaleXChanged(EditorUI *a1, float a2, bool a3)\n{\n  GameObject *m_selectedObject; // x0\n  cocos2d::CCArray *m_selectedObjects; // x21\n  __int64 v7; // [xsp+8h] [xbp-38h] 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::updateCustomScaleX(m_selectedObject, m_selectedObject->m_pixelScaleX * a2);\n  }\n  else if ( (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) )\n  {\n    m_selectedObjects = a1->m_selectedObjects;\n    sub_1000229B8(&v7, (__int64 *)&a1->m_pivotPoint);\n    EditorUI::scaleObjects(a1, m_selectedObjects, a2, 0.0, v8, (ObjectScaleType)&v7, 1);\n  }\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0x1003ef814 to 0x1003ef8b4 (160 bytes)\n; \n; 2 xrefs:\n; > sub_1003EFBFC @ 0x1003efc00\n; > <???> @ 0x100814098\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\nSUB             SP, SP, #0x50                                          ; +0x0, 0x1003ef814\nSTP             D9, D8, [SP,#0x40+var_30]                              ; +0x4, 0x1003ef818\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x1003ef81c\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x1003ef820\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1003ef824\nADD             X29, SP, #0x40                                         ; +0x14, 0x1003ef828\nFMOV            S8, S0                                                 ; +0x18, 0x1003ef82c\nMOV             X20, X0                                                ; +0x1c, 0x1003ef830\nLDR             X0, [X0,#0x520]                                        ; +0x20, 0x1003ef834\nCBZ             X0, loc_1003EF85C                                      ; +0x24, 0x1003ef838\nLDR             S0, [X0,#0x520]                                        ; +0x28, 0x1003ef83c\nFMUL            S0, S0, S8                                             ; +0x2c, 0x1003ef840\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x30, 0x1003ef844\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x34, 0x1003ef848\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x38, 0x1003ef84c\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0x3c, 0x1003ef850\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x40, 0x1003ef854\nB               GameObject__updateCustomScaleX                         ; +0x44, 0x1003ef858\nMOV             X19, X1                                                ; +0x48, 0x1003ef85c\nLDR             X0, [X20,#0x328]                                       ; +0x4c, 0x1003ef860\nBL              sub_10024A36C                                          ; +0x50, 0x1003ef864\nCBZ             W0, loc_1003EF89C                                      ; +0x54, 0x1003ef868\nLDR             X21, [X20,#0x328]                                      ; +0x58, 0x1003ef86c\nADD             X0, SP, #0x40+var_38                                   ; +0x5c, 0x1003ef870\nADD             X1, X20, #0x2A8                                        ; +0x60, 0x1003ef874\nBL              sub_1000229B8                                          ; +0x64, 0x1003ef878\nFMOV            S1, WZR                                                ; +0x68, 0x1003ef87c\nADD             X2, SP, #0x40+var_38                                   ; +0x6c, 0x1003ef880\nMOV             X0, X20                                                ; +0x70, 0x1003ef884\nMOV             X1, X21                                                ; +0x74, 0x1003ef888\nFMOV            S0, S8                                                 ; +0x78, 0x1003ef88c\nMOV             W3, #1                                                 ; +0x7c, 0x1003ef890\nMOV             X4, X19                                                ; +0x80, 0x1003ef894\nBL              EditorUI__scaleObjects                                 ; +0x84, 0x1003ef898\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x88, 0x1003ef89c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x8c, 0x1003ef8a0\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x90, 0x1003ef8a4\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0x94, 0x1003ef8a8\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x98, 0x1003ef8ac\nRET                                                                    ; +0x9c, 0x1003ef8b0", "xrefs": ["sub_1003EFBFC @ 0x1003efc00", "<???> @ 0x100814098"], "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"}