{"type": "func", "start": 4295229104, "end": 4295229284, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0x10003feb0 to 0x10003ff64 (180 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b0668\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::scaleXYChanged(EditorUI *a1, float a2, float a3, bool a4)\n{\n  cocos2d::CCPoint v4; // xmm2_8\n  bool v5; // zf\n  cocos2d::CCArray *m_selectedObjects; // r14\n  _BYTE v7[8]; // [rsp+0h] [rbp-30h] BYREF\n  float v8; // [rsp+8h] [rbp-28h]\n  float v9; // [rsp+Ch] [rbp-24h]\n\n  v5 = a1->m_selectedObject == nullptr;\n  v9 = a3;\n  if ( v5 )\n  {\n    v8 = a2;\n    if ( (unsigned int)sub_100720070(a1->m_selectedObjects) )\n    {\n      m_selectedObjects = a1->m_selectedObjects;\n      sub_10028CC60(v7);\n      EditorUI::scaleObjects(a1, m_selectedObjects, v8, v9, v4, (ObjectScaleType)v7, 0);\n    }\n  }\n  else\n  {\n    ((void (__fastcall *)(EditorUI *, bool, float))a1->scaleXChanged)(a1, a4, a2);\n    ((void (__fastcall *)(EditorUI *, bool, float))a1->scaleYChanged)(a1, a4, v9);\n  }\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0x10003feb0 to 0x10003ff64 (180 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b0668\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\npush    rbp                                                            ; +0x0, 0x10003feb0\nmov     rbp, rsp                                                       ; +0x1, 0x10003feb1\npush    r15                                                            ; +0x4, 0x10003feb4\npush    r14                                                            ; +0x6, 0x10003feb6\npush    r12                                                            ; +0x8, 0x10003feb8\npush    rbx                                                            ; +0xa, 0x10003feba\nsub     rsp, 10h                                                       ; +0xb, 0x10003febb\nmov     rbx, rdi                                                       ; +0xf, 0x10003febf\ncmp     qword ptr [rdi+520h], 0                                        ; +0x12, 0x10003fec2\nmovss   [rbp+var_24], xmm1                                             ; +0x1a, 0x10003feca\njz      short loc_10003FF07                                            ; +0x1f, 0x10003fecf\nmov     rax, [rbx]                                                     ; +0x21, 0x10003fed1\nmovzx   r14d, sil                                                      ; +0x24, 0x10003fed4\nmov     rdi, rbx                                                       ; +0x28, 0x10003fed8\nmov     esi, r14d                                                      ; +0x2b, 0x10003fedb\ncall    qword ptr [rax+550h]                                           ; +0x2e, 0x10003fede\nmov     rax, [rbx]                                                     ; +0x34, 0x10003fee4\nmov     rax, [rax+558h]                                                ; +0x37, 0x10003fee7\nmov     rdi, rbx                                                       ; +0x3e, 0x10003feee\nmovss   xmm0, [rbp+var_24]                                             ; +0x41, 0x10003fef1\nmov     esi, r14d                                                      ; +0x46, 0x10003fef6\nadd     rsp, 10h                                                       ; +0x49, 0x10003fef9\npop     rbx                                                            ; +0x4d, 0x10003fefd\npop     r12                                                            ; +0x4e, 0x10003fefe\npop     r14                                                            ; +0x50, 0x10003ff00\npop     r15                                                            ; +0x52, 0x10003ff02\npop     rbp                                                            ; +0x54, 0x10003ff04\njmp     rax                                                            ; +0x55, 0x10003ff05\nmovss   [rbp+var_28], xmm0                                             ; +0x57, 0x10003ff07\nmov     r12d, esi                                                      ; +0x5c, 0x10003ff0c\nmov     rdi, [rbx+328h]                                                ; +0x5f, 0x10003ff0f\ncall    sub_100720070                                                  ; +0x66, 0x10003ff16\ntest    eax, eax                                                       ; +0x6b, 0x10003ff1b\njz      short loc_10003FF57                                            ; +0x6d, 0x10003ff1d\nmov     r14, [rbx+328h]                                                ; +0x6f, 0x10003ff1f\nlea     rsi, [rbx+2A8h]                                                ; +0x76, 0x10003ff26\nlea     r15, [rbp+var_30]                                              ; +0x7d, 0x10003ff2d\nmov     rdi, r15                                                       ; +0x81, 0x10003ff31\ncall    sub_10028CC60                                                  ; +0x84, 0x10003ff34\nmovzx   r8d, r12b                                                      ; +0x89, 0x10003ff39\nmov     rdi, rbx                                                       ; +0x8d, 0x10003ff3d\nmov     rsi, r14                                                       ; +0x90, 0x10003ff40\nmovss   xmm0, [rbp+var_28]                                             ; +0x93, 0x10003ff43\nmovss   xmm1, [rbp+var_24]                                             ; +0x98, 0x10003ff48\nmov     rdx, r15                                                       ; +0x9d, 0x10003ff4d\nxor     ecx, ecx                                                       ; +0xa0, 0x10003ff50\ncall    EditorUI__scaleObjects                                         ; +0xa2, 0x10003ff52\nadd     rsp, 10h                                                       ; +0xa7, 0x10003ff57\npop     rbx                                                            ; +0xab, 0x10003ff5b\npop     r12                                                            ; +0xac, 0x10003ff5c\npop     r14                                                            ; +0xae, 0x10003ff5e\npop     r15                                                            ; +0xb0, 0x10003ff60\npop     rbp                                                            ; +0xb2, 0x10003ff62\nretn                                                                   ; +0xb3, 0x10003ff63", "xrefs": ["<???> @ 0x1008b0668"], "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"}