{"type": "func", "start": 4296409744, "end": 4296409904, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0x100160290 to 0x100160330 (160 bytes)\n// \n// 2 xrefs:\n// > sub_100160330 @ 0x100160334\n// > <???> @ 0x10096d3d8\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:45 +0000\n// \n\n__int64 *__fastcall EditorUI::scaleXChanged(__int64 a1, char a2, float a3)\n{\n  __int64 v5; // x0\n  __int64 *result; // x0\n  __int64 v8; // x21\n  float32x2_t v9; // [xsp+8h] [xbp-38h] BYREF\n\n  v5 = *(_QWORD *)(a1 + 1496);\n  if ( v5 )\n    return (__int64 *)GameObject::updateCustomScaleX(v5, *(float *)(v5 + 1312) * a3);\n  result = (__int64 *)sub_1002E757C(*(_QWORD *)(a1 + 896));\n  if ( (_DWORD)result )\n  {\n    v8 = *(_QWORD *)(a1 + 896);\n    sub_1000262F4(&v9, (double *)(a1 + 768));\n    return EditorUI::scaleObjects(a1, v8, &v9, 1, a2, a3, 0.0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0x100160290 to 0x100160330 (160 bytes)\n; \n; 2 xrefs:\n; > sub_100160330 @ 0x100160334\n; > <???> @ 0x10096d3d8\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:45 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100160290\nSTP             D9, D8, [SP,#0x40+var_30]                              ; +0x4, 0x100160294\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x100160298\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x10016029c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1001602a0\nADD             X29, SP, #0x40                                         ; +0x14, 0x1001602a4\nFMOV            S8, S0                                                 ; +0x18, 0x1001602a8\nMOV             X20, X0                                                ; +0x1c, 0x1001602ac\nLDR             X0, [X0,#0x5D8]                                        ; +0x20, 0x1001602b0\nCBZ             X0, loc_1001602D8                                      ; +0x24, 0x1001602b4\nLDR             S0, [X0,#0x520]                                        ; +0x28, 0x1001602b8\nFMUL            S0, S0, S8                                             ; +0x2c, 0x1001602bc\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x30, 0x1001602c0\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x34, 0x1001602c4\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x38, 0x1001602c8\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0x3c, 0x1001602cc\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x40, 0x1001602d0\nB               GameObject__updateCustomScaleX                         ; +0x44, 0x1001602d4\nMOV             X19, X1                                                ; +0x48, 0x1001602d8\nLDR             X0, [X20,#0x380]                                       ; +0x4c, 0x1001602dc\nBL              sub_1002E757C                                          ; +0x50, 0x1001602e0\nCBZ             W0, loc_100160318                                      ; +0x54, 0x1001602e4\nLDR             X21, [X20,#0x380]                                      ; +0x58, 0x1001602e8\nADD             X0, SP, #0x40+var_38                                   ; +0x5c, 0x1001602ec\nADD             X1, X20, #0x300                                        ; +0x60, 0x1001602f0\nBL              sub_1000262F4                                          ; +0x64, 0x1001602f4\nFMOV            S1, WZR                                                ; +0x68, 0x1001602f8\nADD             X2, SP, #0x40+var_38                                   ; +0x6c, 0x1001602fc\nMOV             X0, X20                                                ; +0x70, 0x100160300\nMOV             X1, X21                                                ; +0x74, 0x100160304\nFMOV            S0, S8                                                 ; +0x78, 0x100160308\nMOV             W3, #1                                                 ; +0x7c, 0x10016030c\nMOV             X4, X19                                                ; +0x80, 0x100160310\nBL              EditorUI__scaleObjects                                 ; +0x84, 0x100160314\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x88, 0x100160318\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x8c, 0x10016031c\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x90, 0x100160320\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0x94, 0x100160324\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x98, 0x100160328\nRET                                                                    ; +0x9c, 0x10016032c", "xrefs": ["sub_100160330 @ 0x100160334", "<???> @ 0x10096d3d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}