{"type": "func", "start": 5369843552, "end": 5369843714, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0x140114f60 to 0x140115002 (162 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140553ea8\n// > <???> @ 0x1406c91f8\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::scaleXChanged(EditorUI *a1, float a2, bool a3)\n{\n  GameObject *m_snapBtn; // rcx\n  cocos2d::CCPoint v6; // rax\n  cocos2d::CCPoint v7; // [rsp+60h] [rbp+8h] BYREF\n\n  m_snapBtn = (GameObject *)a1->m_snapBtn;\n  if ( m_snapBtn )\n  {\n    GameObject::updateCustomScaleX(m_snapBtn, a2 * m_snapBtn->m_pixelScaleX);\n  }\n  else if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)&a1->m_uPreviousPriority) )\n  {\n    cocos2d::CCPoint::CCPoint(&v7, (const struct cocos2d::CCPoint *)&a1->m_bRunning);\n    EditorUI::scaleObjects(\n      (EditorUI *)((char *)a1 - 432),\n      *(cocos2d::CCArray **)&a1->m_uPreviousPriority,\n      a2,\n      0.0,\n      v6,\n      Y,\n      a3);\n  }\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0x140114f60 to 0x140115002 (162 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140553ea8\n; > <???> @ 0x1406c91f8\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, 0x140114f60\npush    rdi                                                            ; +0x5, 0x140114f65\nsub     rsp, 50h                                                       ; +0x6, 0x140114f66\nmov     rbx, rcx                                                       ; +0xa, 0x140114f6a\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0xd, 0x140114f6d\nmov     rcx, [rcx+388h]                                                ; +0x12, 0x140114f72\nmovzx   edi, r8b                                                       ; +0x19, 0x140114f79\nmovaps  xmm6, xmm1                                                     ; +0x1d, 0x140114f7d\ntest    rcx, rcx                                                       ; +0x20, 0x140114f80\njz      short loc_140114FA4                                            ; +0x23, 0x140114f83\nmulss   xmm6, dword ptr [rcx+528h]                                     ; +0x25, 0x140114f85\nmovaps  xmm1, xmm6                                                     ; +0x2d, 0x140114f8d\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x30, 0x140114f90\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x35, 0x140114f95\nadd     rsp, 50h                                                       ; +0x3a, 0x140114f9a\npop     rdi                                                            ; +0x3e, 0x140114f9e\njmp     GameObject__updateCustomScaleX                                 ; +0x3f, 0x140114f9f\nmov     rcx, [rbx+190h]                                                ; +0x44, 0x140114fa4\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4b, 0x140114fab\ntest    eax, eax                                                       ; +0x51, 0x140114fb1\njz      short loc_140114FF2                                            ; +0x53, 0x140114fb3\nlea     rdx, [rbx+110h]                                                ; +0x55, 0x140114fb5\nlea     rcx, [rsp+58h+arg_0]                                           ; +0x5c, 0x140114fbc\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x61, 0x140114fc1\nmov     rdx, [rbx+190h]                                                ; +0x67, 0x140114fc7\nlea     rcx, [rbx-1B0h]                                                ; +0x6e, 0x140114fce\nmov     [rsp+58h+var_28], dil                                          ; +0x75, 0x140114fd5\nxorps   xmm3, xmm3                                                     ; +0x7a, 0x140114fda\nmov     [rsp+58h+var_30], 1                                            ; +0x7d, 0x140114fdd\nmovaps  xmm2, xmm6                                                     ; +0x85, 0x140114fe5\nmov     [rsp+58h+var_38], rax                                          ; +0x88, 0x140114fe8\ncall    EditorUI__scaleObjects                                         ; +0x8d, 0x140114fed\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x92, 0x140114ff2\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x97, 0x140114ff7\nadd     rsp, 50h                                                       ; +0x9c, 0x140114ffc\npop     rdi                                                            ; +0xa0, 0x140115000\nretn                                                                   ; +0xa1, 0x140115001", "xrefs": ["<???> @ 0x140553ea8", "<???> @ 0x1406c91f8"], "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"}