{"type": "func", "start": 4296410080, "end": 4296410280, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0x1001603e0 to 0x1001604a8 (200 bytes)\n// \n// 2 xrefs:\n// > sub_1001604A8 @ 0x1001604ac\n// > <???> @ 0x10096d3e8\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::scaleXYChanged(__int64 a1, __int64 a2, __n128 a3, float a4)\n{\n  float v6; // s9\n  __int64 *result; // x0\n  __int64 v9; // x21\n  float32x2_t v10; // [xsp+8h] [xbp-38h] BYREF\n\n  v6 = a3.n128_f32[0];\n  if ( *(_QWORD *)(a1 + 1496) )\n  {\n    (*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)a1 + 1384LL))(a1, a2, a3);\n    return (__int64 *)(*(__int64 (__fastcall **)(__int64, __int64, float))(*(_QWORD *)a1 + 1392LL))(a1, a2, a4);\n  }\n  else\n  {\n    result = (__int64 *)sub_1002E757C(*(_QWORD *)(a1 + 896));\n    if ( (_DWORD)result )\n    {\n      v9 = *(_QWORD *)(a1 + 896);\n      sub_1000262F4(&v10, (double *)(a1 + 768));\n      return EditorUI::scaleObjects(a1, v9, &v10, 0, a2, v6, a4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0x1001603e0 to 0x1001604a8 (200 bytes)\n; \n; 2 xrefs:\n; > sub_1001604A8 @ 0x1001604ac\n; > <???> @ 0x10096d3e8\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, 0x1001603e0\nSTP             D9, D8, [SP,#0x40+var_30]                              ; +0x4, 0x1001603e4\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x1001603e8\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x1001603ec\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1001603f0\nADD             X29, SP, #0x40                                         ; +0x14, 0x1001603f4\nMOV             X19, X1                                                ; +0x18, 0x1001603f8\nFMOV            S8, S1                                                 ; +0x1c, 0x1001603fc\nFMOV            S9, S0                                                 ; +0x20, 0x100160400\nMOV             X20, X0                                                ; +0x24, 0x100160404\nLDR             X8, [X0,#0x5D8]                                        ; +0x28, 0x100160408\nCBZ             X8, loc_100160454                                      ; +0x2c, 0x10016040c\nLDR             X8, [X20]                                              ; +0x30, 0x100160410\nLDR             X8, [X8,#0x568]                                        ; +0x34, 0x100160414\nMOV             X0, X20                                                ; +0x38, 0x100160418\nFMOV            S0, S9                                                 ; +0x3c, 0x10016041c\nMOV             X1, X19                                                ; +0x40, 0x100160420\nBLR             X8                                                     ; +0x44, 0x100160424\nLDR             X8, [X20]                                              ; +0x48, 0x100160428\nLDR             X2, [X8,#0x570]                                        ; +0x4c, 0x10016042c\nMOV             X0, X20                                                ; +0x50, 0x100160430\nFMOV            S0, S8                                                 ; +0x54, 0x100160434\nMOV             X1, X19                                                ; +0x58, 0x100160438\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x5c, 0x10016043c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x60, 0x100160440\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x64, 0x100160444\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0x68, 0x100160448\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x6c, 0x10016044c\nBR              X2                                                     ; +0x70, 0x100160450\nLDR             X0, [X20,#0x380]                                       ; +0x74, 0x100160454\nBL              sub_1002E757C                                          ; +0x78, 0x100160458\nCBZ             W0, loc_100160490                                      ; +0x7c, 0x10016045c\nLDR             X21, [X20,#0x380]                                      ; +0x80, 0x100160460\nADD             X0, SP, #0x40+var_38                                   ; +0x84, 0x100160464\nADD             X1, X20, #0x300                                        ; +0x88, 0x100160468\nBL              sub_1000262F4                                          ; +0x8c, 0x10016046c\nADD             X2, SP, #0x40+var_38                                   ; +0x90, 0x100160470\nMOV             X0, X20                                                ; +0x94, 0x100160474\nMOV             X1, X21                                                ; +0x98, 0x100160478\nFMOV            S0, S9                                                 ; +0x9c, 0x10016047c\nFMOV            S1, S8                                                 ; +0xa0, 0x100160480\nMOV             W3, #0                                                 ; +0xa4, 0x100160484\nMOV             X4, X19                                                ; +0xa8, 0x100160488\nBL              EditorUI__scaleObjects                                 ; +0xac, 0x10016048c\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xb0, 0x100160490\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xb4, 0x100160494\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xb8, 0x100160498\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0xbc, 0x10016049c\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xc0, 0x1001604a0\nRET                                                                    ; +0xc4, 0x1001604a4", "xrefs": ["sub_1001604A8 @ 0x1001604ac", "<???> @ 0x10096d3e8"], "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"}