{"type": "func", "start": 5369843904, "end": 5369844073, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0x1401150c0 to 0x140115169 (169 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140553eb8\n// > <???> @ 0x1406c9210\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 EditorUI::scaleXYChanged(EditorUI *a1, float a2, float a3, bool a4)\n{\n  __int64 v4; // rdx\n  __int64 v7; // rdx\n  cocos2d::CCPoint v8; // rax\n  cocos2d::CCPoint v9; // [rsp+70h] [rbp+8h] BYREF\n\n  if ( a1->m_snapBtn )\n  {\n    ((void (__fastcall *)(EditorUI *, __int64, bool))a1->copyWithZone)(a1, v4, a4);\n    ((void (__fastcall *)(EditorUI *, __int64, bool))a1->~EditorUI)(a1, v7, a4);\n  }\n  else if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)&a1->m_uPreviousPriority) )\n  {\n    cocos2d::CCPoint::CCPoint(&v9, (const struct cocos2d::CCPoint *)&a1->m_bRunning);\n    EditorUI::scaleObjects(\n      (EditorUI *)((char *)a1 - 432),\n      *(cocos2d::CCArray **)&a1->m_uPreviousPriority,\n      a2,\n      a3,\n      v8,\n      X,\n      a4);\n  }\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0x1401150c0 to 0x140115169 (169 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140553eb8\n; > <???> @ 0x1406c9210\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1401150c0\npush    rdi                                                            ; +0x5, 0x1401150c5\nsub     rsp, 60h                                                       ; +0x6, 0x1401150c6\ncmp     qword ptr [rcx+388h], 0                                        ; +0xa, 0x1401150ca\nmovzx   edi, r9b                                                       ; +0x12, 0x1401150d2\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x16, 0x1401150d6\nmov     rbx, rcx                                                       ; +0x1b, 0x1401150db\nmovaps  [rsp+68h+var_28], xmm7                                         ; +0x1e, 0x1401150de\nmovaps  xmm6, xmm2                                                     ; +0x23, 0x1401150e3\nmovaps  xmm7, xmm1                                                     ; +0x26, 0x1401150e6\njz      short loc_140115106                                            ; +0x29, 0x1401150e9\nmov     rax, [rcx]                                                     ; +0x2b, 0x1401150eb\nmovzx   r8d, r9b                                                       ; +0x2e, 0x1401150ee\ncall    qword ptr [rax]                                                ; +0x32, 0x1401150f2\nmov     rax, [rbx]                                                     ; +0x34, 0x1401150f4\nmovzx   r8d, dil                                                       ; +0x37, 0x1401150f7\nmovaps  xmm1, xmm6                                                     ; +0x3b, 0x1401150fb\nmov     rcx, rbx                                                       ; +0x3e, 0x1401150fe\ncall    qword ptr [rax+8]                                              ; +0x41, 0x140115101\njmp     short loc_140115154                                            ; +0x44, 0x140115104\nmov     rcx, [rcx+190h]                                                ; +0x46, 0x140115106\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4d, 0x14011510d\ntest    eax, eax                                                       ; +0x53, 0x140115113\njz      short loc_140115154                                            ; +0x55, 0x140115115\nlea     rdx, [rbx+110h]                                                ; +0x57, 0x140115117\nlea     rcx, [rsp+68h+arg_0]                                           ; +0x5e, 0x14011511e\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x63, 0x140115123\nmov     rdx, [rbx+190h]                                                ; +0x69, 0x140115129\nlea     rcx, [rbx-1B0h]                                                ; +0x70, 0x140115130\nmov     [rsp+68h+var_38], dil                                          ; +0x77, 0x140115137\nmovaps  xmm3, xmm6                                                     ; +0x7c, 0x14011513c\nmov     [rsp+68h+var_40], 0                                            ; +0x7f, 0x14011513f\nmovaps  xmm2, xmm7                                                     ; +0x87, 0x140115147\nmov     [rsp+68h+var_48], rax                                          ; +0x8a, 0x14011514a\ncall    EditorUI__scaleObjects                                         ; +0x8f, 0x14011514f\nmov     rbx, [rsp+68h+arg_8]                                           ; +0x94, 0x140115154\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0x99, 0x140115159\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0x9e, 0x14011515e\nadd     rsp, 60h                                                       ; +0xa3, 0x140115163\npop     rdi                                                            ; +0xa7, 0x140115167\nretn                                                                   ; +0xa8, 0x140115168", "xrefs": ["<???> @ 0x140553eb8", "<???> @ 0x1406c9210"], "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"}