{"type": "func", "start": 4295226944, "end": 4295227084, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0x10003f640 to 0x10003f6cc (140 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b0658\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  cocos2d::CCPoint v3; // xmm2_8\n  GameObject *m_selectedObject; // rdi\n  EditorUI *v6; // rbx\n  cocos2d::CCArray *m_selectedObjects; // r14\n  int v8; // [rsp-34h] [rbp-34h] BYREF\n  float v9; // [rsp-2Ch] [rbp-2Ch]\n  __int64 v10; // [rsp-8h] [rbp-8h] BYREF\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    GameObject::updateCustomScaleX(m_selectedObject, a2 * m_selectedObject->m_pixelScaleX);\n  }\n  else\n  {\n    v9 = a2;\n    v6 = a1;\n    if ( (unsigned int)sub_100720070(a1->m_selectedObjects) )\n    {\n      m_selectedObjects = v6->m_selectedObjects;\n      sub_10028CC60(&v8);\n      EditorUI::scaleObjects(v6, m_selectedObjects, v9, 0.0, v3, (ObjectScaleType)((unsigned __int16)&v10 - 44), 1);\n    }\n  }\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0x10003f640 to 0x10003f6cc (140 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b0658\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\nmov     rax, rdi                                                       ; +0x0, 0x10003f640\nmov     rdi, [rdi+520h]                                                ; +0x3, 0x10003f643\ntest    rdi, rdi                                                       ; +0xa, 0x10003f64a\njz      short loc_10003F65C                                            ; +0xd, 0x10003f64d\nmulss   xmm0, dword ptr [rdi+520h]                                     ; +0xf, 0x10003f64f\njmp     GameObject__updateCustomScaleX                                 ; +0x17, 0x10003f657\npush    rbp                                                            ; +0x1c, 0x10003f65c\nmov     rbp, rsp                                                       ; +0x1d, 0x10003f65d\npush    r15                                                            ; +0x20, 0x10003f660\npush    r14                                                            ; +0x22, 0x10003f662\npush    r12                                                            ; +0x24, 0x10003f664\npush    rbx                                                            ; +0x26, 0x10003f666\nsub     rsp, 10h                                                       ; +0x27, 0x10003f667\nmovss   dword ptr [rbp-24h], xmm0                                      ; +0x2b, 0x10003f66b\nmov     r12d, esi                                                      ; +0x30, 0x10003f670\nmov     rbx, rax                                                       ; +0x33, 0x10003f673\nmov     rdi, [rax+328h]                                                ; +0x36, 0x10003f676\ncall    sub_100720070                                                  ; +0x3d, 0x10003f67d\ntest    eax, eax                                                       ; +0x42, 0x10003f682\njz      short loc_10003F6BF                                            ; +0x44, 0x10003f684\nmov     r14, [rbx+328h]                                                ; +0x46, 0x10003f686\nlea     rsi, [rbx+2A8h]                                                ; +0x4d, 0x10003f68d\nlea     r15, [rbp-2Ch]                                                 ; +0x54, 0x10003f694\nmov     rdi, r15                                                       ; +0x58, 0x10003f698\ncall    sub_10028CC60                                                  ; +0x5b, 0x10003f69b\nmovzx   r8d, r12b                                                      ; +0x60, 0x10003f6a0\nxorps   xmm1, xmm1                                                     ; +0x64, 0x10003f6a4\nmov     rdi, rbx                                                       ; +0x67, 0x10003f6a7\nmov     rsi, r14                                                       ; +0x6a, 0x10003f6aa\nmovss   xmm0, dword ptr [rbp-24h]                                      ; +0x6d, 0x10003f6ad\nmov     rdx, r15                                                       ; +0x72, 0x10003f6b2\nmov     ecx, 1                                                         ; +0x75, 0x10003f6b5\ncall    EditorUI__scaleObjects                                         ; +0x7a, 0x10003f6ba\nadd     rsp, 10h                                                       ; +0x7f, 0x10003f6bf\npop     rbx                                                            ; +0x83, 0x10003f6c3\npop     r12                                                            ; +0x84, 0x10003f6c4\npop     r14                                                            ; +0x86, 0x10003f6c6\npop     r15                                                            ; +0x88, 0x10003f6c8\npop     rbp                                                            ; +0x8a, 0x10003f6ca\nretn                                                                   ; +0x8b, 0x10003f6cb", "xrefs": ["<???> @ 0x1008b0658"], "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"}