{"type": "func", "start": 5370819056, "end": 5370819238, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0x1402031f0 to 0x1402032a6 (182 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407517d8\n// > <???> @ 0x14091afe4\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 11:28:14 +0000\n// \n\nint __fastcall EditorUI::scaleXYChanged(__int64 a1, __int64 a2, float a3, unsigned __int8 a4)\n{\n  float v4; // xmm1_4\n  __int64 v7; // rdx\n  int result; // eax\n  cocos2d::CCPoint *v9; // rax\n  char v10; // [rsp+70h] [rbp+8h] BYREF\n\n  if ( *(_QWORD *)(a1 + 1136) )\n  {\n    (**(void (__fastcall ***)(__int64, __int64, _QWORD))a1)(a1, a2, a4);\n    return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 8LL))(a1, v7, a4);\n  }\n  else\n  {\n    result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 512));\n    if ( result )\n    {\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, (const struct cocos2d::CCPoint *)(a1 + 384));\n      return EditorUI::scaleObjects(a1 - 432, *(cocos2d::CCArray **)(a1 + 512), v4, a3, v9, 0, a4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0x1402031f0 to 0x1402032a6 (182 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407517d8\n; > <???> @ 0x14091afe4\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 11:28:14 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1402031f0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1402031f5\npush    rdi                                                            ; +0xa, 0x1402031fa\nsub     rsp, 60h                                                       ; +0xb, 0x1402031fb\ncmp     qword ptr [rcx+470h], 0                                        ; +0xf, 0x1402031ff\nmovzx   edi, r9b                                                       ; +0x17, 0x140203207\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x1b, 0x14020320b\nmov     rbx, rcx                                                       ; +0x20, 0x140203210\nmovaps  [rsp+68h+var_28], xmm7                                         ; +0x23, 0x140203213\nmovaps  xmm6, xmm2                                                     ; +0x28, 0x140203218\nmovaps  xmm7, xmm1                                                     ; +0x2b, 0x14020321b\njz      short loc_14020323B                                            ; +0x2e, 0x14020321e\nmov     rax, [rcx]                                                     ; +0x30, 0x140203220\nmovzx   r8d, r9b                                                       ; +0x33, 0x140203223\ncall    qword ptr [rax]                                                ; +0x37, 0x140203227\nmov     rax, [rbx]                                                     ; +0x39, 0x140203229\nmovzx   r8d, dil                                                       ; +0x3c, 0x14020322c\nmovaps  xmm1, xmm6                                                     ; +0x40, 0x140203230\nmov     rcx, rbx                                                       ; +0x43, 0x140203233\ncall    qword ptr [rax+8]                                              ; +0x46, 0x140203236\njmp     short loc_140203289                                            ; +0x49, 0x140203239\nmov     rcx, [rcx+200h]                                                ; +0x4b, 0x14020323b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x52, 0x140203242\ntest    eax, eax                                                       ; +0x58, 0x140203248\njz      short loc_140203289                                            ; +0x5a, 0x14020324a\nlea     rdx, [rbx+180h]                                                ; +0x5c, 0x14020324c\nlea     rcx, [rsp+68h+arg_0]                                           ; +0x63, 0x140203253\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x68, 0x140203258\nmov     rdx, [rbx+200h]                                                ; +0x6e, 0x14020325e\nlea     rcx, [rbx-1B0h]                                                ; +0x75, 0x140203265\nmov     [rsp+68h+var_38], dil                                          ; +0x7c, 0x14020326c\nmovaps  xmm3, xmm6                                                     ; +0x81, 0x140203271\nmov     [rsp+68h+var_40], 0                                            ; +0x84, 0x140203274\nmovaps  xmm2, xmm7                                                     ; +0x8c, 0x14020327c\nmov     [rsp+68h+var_48], rax                                          ; +0x8f, 0x14020327f\ncall    EditorUI__scaleObjects                                         ; +0x94, 0x140203284\nmov     rbx, [rsp+68h+arg_8]                                           ; +0x99, 0x140203289\nmov     rsi, [rsp+68h+arg_10]                                          ; +0x9e, 0x14020328e\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0xa6, 0x140203296\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0xab, 0x14020329b\nadd     rsp, 60h                                                       ; +0xb0, 0x1402032a0\npop     rdi                                                            ; +0xb4, 0x1402032a4\nretn                                                                   ; +0xb5, 0x1402032a5", "xrefs": ["<???> @ 0x1407517d8", "<???> @ 0x14091afe4"], "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"}