{"type": "func", "start": 5369843728, "end": 5369843890, "name": "EditorUI::scaleYChanged", "pseudocode": "// \n// EditorUI::scaleYChanged from 0x140115010 to 0x1401150b2 (162 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140553eb0\n// > <???> @ 0x1406c9204\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::scaleYChanged(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::updateCustomScaleY(m_snapBtn, a2 * m_snapBtn->m_pixelScaleY);\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      0.0,\n      a2,\n      v6,\n      XY,\n      a3);\n  }\n}", "assembly": "; \n; EditorUI::scaleYChanged from 0x140115010 to 0x1401150b2 (162 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140553eb0\n; > <???> @ 0x1406c9204\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, 0x140115010\npush    rdi                                                            ; +0x5, 0x140115015\nsub     rsp, 50h                                                       ; +0x6, 0x140115016\nmov     rbx, rcx                                                       ; +0xa, 0x14011501a\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0xd, 0x14011501d\nmov     rcx, [rcx+388h]                                                ; +0x12, 0x140115022\nmovzx   edi, r8b                                                       ; +0x19, 0x140115029\nmovaps  xmm6, xmm1                                                     ; +0x1d, 0x14011502d\ntest    rcx, rcx                                                       ; +0x20, 0x140115030\njz      short loc_140115054                                            ; +0x23, 0x140115033\nmulss   xmm6, dword ptr [rcx+52Ch]                                     ; +0x25, 0x140115035\nmovaps  xmm1, xmm6                                                     ; +0x2d, 0x14011503d\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x30, 0x140115040\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x35, 0x140115045\nadd     rsp, 50h                                                       ; +0x3a, 0x14011504a\npop     rdi                                                            ; +0x3e, 0x14011504e\njmp     GameObject__updateCustomScaleY                                 ; +0x3f, 0x14011504f\nmov     rcx, [rbx+190h]                                                ; +0x44, 0x140115054\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4b, 0x14011505b\ntest    eax, eax                                                       ; +0x51, 0x140115061\njz      short loc_1401150A2                                            ; +0x53, 0x140115063\nlea     rdx, [rbx+110h]                                                ; +0x55, 0x140115065\nlea     rcx, [rsp+58h+arg_0]                                           ; +0x5c, 0x14011506c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x61, 0x140115071\nmov     rdx, [rbx+190h]                                                ; +0x67, 0x140115077\nlea     rcx, [rbx-1B0h]                                                ; +0x6e, 0x14011507e\nmov     [rsp+58h+var_28], dil                                          ; +0x75, 0x140115085\nmovaps  xmm3, xmm6                                                     ; +0x7a, 0x14011508a\nmov     [rsp+58h+var_30], 2                                            ; +0x7d, 0x14011508d\nxorps   xmm2, xmm2                                                     ; +0x85, 0x140115095\nmov     [rsp+58h+var_38], rax                                          ; +0x88, 0x140115098\ncall    EditorUI__scaleObjects                                         ; +0x8d, 0x14011509d\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x92, 0x1401150a2\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x97, 0x1401150a7\nadd     rsp, 50h                                                       ; +0x9c, 0x1401150ac\npop     rdi                                                            ; +0xa0, 0x1401150b0\nretn                                                                   ; +0xa1, 0x1401150b1", "xrefs": ["<???> @ 0x140553eb0", "<???> @ 0x1406c9204"], "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"}