{"type": "func", "start": 4301336848, "end": 4301336988, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0x100613110 to 0x10061319c (140 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ab5188\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:34:35 +0000\n// \n\n__int64 __fastcall EditorUI::scaleXChanged(__int64 a1, char a2, float a3)\n{\n  __int64 v4; // rdi\n  __int64 result; // rax\n  __int64 v6; // rbx\n  __int64 v7; // r14\n  __int64 v8; // [rsp-34h] [rbp-34h] BYREF\n  float v9; // [rsp-2Ch] [rbp-2Ch]\n\n  v4 = *(_QWORD *)(a1 + 1496);\n  if ( v4 )\n    return GameObject::updateCustomScaleX(v4);\n  v9 = a3;\n  v6 = a1;\n  result = sub_1007FEF90(*(_QWORD *)(a1 + 896));\n  if ( (_DWORD)result )\n  {\n    v7 = *(_QWORD *)(v6 + 896);\n    sub_1002782D0(&v8, (_QWORD *)(v6 + 768));\n    return EditorUI::scaleObjects(v6, v7, (float *)&v8, 1, a2, v9, 0.0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0x100613110 to 0x10061319c (140 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ab5188\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:34:35 +0000\n; \nmov     rax, rdi                                                       ; +0x0, 0x100613110\nmov     rdi, [rdi+5D8h]                                                ; +0x3, 0x100613113\ntest    rdi, rdi                                                       ; +0xa, 0x10061311a\njz      short loc_10061312C                                            ; +0xd, 0x10061311d\nmulss   xmm0, dword ptr [rdi+520h]                                     ; +0xf, 0x10061311f\njmp     GameObject__updateCustomScaleX                                 ; +0x17, 0x100613127\npush    rbp                                                            ; +0x1c, 0x10061312c\nmov     rbp, rsp                                                       ; +0x1d, 0x10061312d\npush    r15                                                            ; +0x20, 0x100613130\npush    r14                                                            ; +0x22, 0x100613132\npush    r12                                                            ; +0x24, 0x100613134\npush    rbx                                                            ; +0x26, 0x100613136\nsub     rsp, 10h                                                       ; +0x27, 0x100613137\nmovss   dword ptr [rbp-24h], xmm0                                      ; +0x2b, 0x10061313b\nmov     r12d, esi                                                      ; +0x30, 0x100613140\nmov     rbx, rax                                                       ; +0x33, 0x100613143\nmov     rdi, [rax+380h]                                                ; +0x36, 0x100613146\ncall    sub_1007FEF90                                                  ; +0x3d, 0x10061314d\ntest    eax, eax                                                       ; +0x42, 0x100613152\njz      short loc_10061318F                                            ; +0x44, 0x100613154\nmov     r14, [rbx+380h]                                                ; +0x46, 0x100613156\nlea     rsi, [rbx+300h]                                                ; +0x4d, 0x10061315d\nlea     r15, [rbp-2Ch]                                                 ; +0x54, 0x100613164\nmov     rdi, r15                                                       ; +0x58, 0x100613168\ncall    sub_1002782D0                                                  ; +0x5b, 0x10061316b\nmovzx   r8d, r12b                                                      ; +0x60, 0x100613170\nxorps   xmm1, xmm1                                                     ; +0x64, 0x100613174\nmov     rdi, rbx                                                       ; +0x67, 0x100613177\nmov     rsi, r14                                                       ; +0x6a, 0x10061317a\nmovss   xmm0, dword ptr [rbp-24h]                                      ; +0x6d, 0x10061317d\nmov     rdx, r15                                                       ; +0x72, 0x100613182\nmov     ecx, 1                                                         ; +0x75, 0x100613185\ncall    EditorUI__scaleObjects                                         ; +0x7a, 0x10061318a\nadd     rsp, 10h                                                       ; +0x7f, 0x10061318f\npop     rbx                                                            ; +0x83, 0x100613193\npop     r12                                                            ; +0x84, 0x100613194\npop     r14                                                            ; +0x86, 0x100613196\npop     r15                                                            ; +0x88, 0x100613198\npop     rbp                                                            ; +0x8a, 0x10061319a\nretn                                                                   ; +0x8b, 0x10061319b", "xrefs": ["<???> @ 0x100ab5188"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}