{"type": "func", "start": 4295228784, "end": 4295228924, "name": "EditorUI::scaleYChanged", "pseudocode": "// \n// EditorUI::scaleYChanged from 0x10003fd70 to 0x10003fdfc (140 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b0660\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::scaleYChanged(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::updateCustomScaleY(m_selectedObject, a2 * m_selectedObject->m_pixelScaleY);\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, 0.0, v9, v3, (ObjectScaleType)((unsigned __int16)&v10 - 44), 2);\n    }\n  }\n}", "assembly": "; \n; EditorUI::scaleYChanged from 0x10003fd70 to 0x10003fdfc (140 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b0660\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, 0x10003fd70\nmov     rdi, [rdi+520h]                                                ; +0x3, 0x10003fd73\ntest    rdi, rdi                                                       ; +0xa, 0x10003fd7a\njz      short loc_10003FD8C                                            ; +0xd, 0x10003fd7d\nmulss   xmm0, dword ptr [rdi+524h]                                     ; +0xf, 0x10003fd7f\njmp     GameObject__updateCustomScaleY                                 ; +0x17, 0x10003fd87\npush    rbp                                                            ; +0x1c, 0x10003fd8c\nmov     rbp, rsp                                                       ; +0x1d, 0x10003fd8d\npush    r15                                                            ; +0x20, 0x10003fd90\npush    r14                                                            ; +0x22, 0x10003fd92\npush    r12                                                            ; +0x24, 0x10003fd94\npush    rbx                                                            ; +0x26, 0x10003fd96\nsub     rsp, 10h                                                       ; +0x27, 0x10003fd97\nmovss   dword ptr [rbp-24h], xmm0                                      ; +0x2b, 0x10003fd9b\nmov     r12d, esi                                                      ; +0x30, 0x10003fda0\nmov     rbx, rax                                                       ; +0x33, 0x10003fda3\nmov     rdi, [rax+328h]                                                ; +0x36, 0x10003fda6\ncall    sub_100720070                                                  ; +0x3d, 0x10003fdad\ntest    eax, eax                                                       ; +0x42, 0x10003fdb2\njz      short loc_10003FDEF                                            ; +0x44, 0x10003fdb4\nmov     r14, [rbx+328h]                                                ; +0x46, 0x10003fdb6\nlea     rsi, [rbx+2A8h]                                                ; +0x4d, 0x10003fdbd\nlea     r15, [rbp-2Ch]                                                 ; +0x54, 0x10003fdc4\nmov     rdi, r15                                                       ; +0x58, 0x10003fdc8\ncall    sub_10028CC60                                                  ; +0x5b, 0x10003fdcb\nmovzx   r8d, r12b                                                      ; +0x60, 0x10003fdd0\nxorps   xmm0, xmm0                                                     ; +0x64, 0x10003fdd4\nmov     rdi, rbx                                                       ; +0x67, 0x10003fdd7\nmov     rsi, r14                                                       ; +0x6a, 0x10003fdda\nmovss   xmm1, dword ptr [rbp-24h]                                      ; +0x6d, 0x10003fddd\nmov     rdx, r15                                                       ; +0x72, 0x10003fde2\nmov     ecx, 2                                                         ; +0x75, 0x10003fde5\ncall    EditorUI__scaleObjects                                         ; +0x7a, 0x10003fdea\nadd     rsp, 10h                                                       ; +0x7f, 0x10003fdef\npop     rbx                                                            ; +0x83, 0x10003fdf3\npop     r12                                                            ; +0x84, 0x10003fdf4\npop     r14                                                            ; +0x86, 0x10003fdf6\npop     r15                                                            ; +0x88, 0x10003fdf8\npop     rbp                                                            ; +0x8a, 0x10003fdfa\nretn                                                                   ; +0x8b, 0x10003fdfb", "xrefs": ["<???> @ 0x1008b0660"], "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"}