{"type": "func", "start": 5369929536, "end": 5369931083, "name": "GJScaleControl::loadValues", "pseudocode": "// \n// GJScaleControl::loadValues from 0x140129f40 to 0x14012a54b (1547 bytes)\n// \n// 5 xrefs:\n// > EditorUI::updateScaleControl @ 0x140114f32\n// > <???> @ 0x140670904\n// > <???> @ 0x14067094c\n// > <???> @ 0x14067095c\n// > <???> @ 0x1406c9abc\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 GJScaleControl::loadValues(\n        GJScaleControl *a1,\n        GameObject *a2,\n        cocos2d::CCArray *a3,\n        std::unordered_map<int, GameObjectEditorState> *a4)\n{\n  float v8; // xmm8_4\n  float v9; // xmm7_4\n  unsigned int v10; // r14d\n  unsigned int v11; // edi\n  struct cocos2d::CCObject *v12; // rbx\n  __int64 v13; // rcx\n  float v14; // xmm0_4\n  float v15; // xmm1_4\n  struct cocos2d::CCObject *v16; // rbx\n  float *v17; // rdi\n  __int64 v18; // rax\n  float v19; // xmm0_4\n  float v20; // xmm1_4\n  float v21; // xmm1_4\n  float v22; // xmm1_4\n  float v23; // xmm1_4\n  float v24; // xmm11_4\n  float v25; // xmm10_4\n  cocos2d::CCLabelProtocol_vtbl *v26; // rbx\n  cocos2d::CCString *v27; // rax\n  const char *CString; // rax\n  cocos2d::CCLabelProtocol_vtbl *v29; // rbx\n  cocos2d::CCString *v30; // rax\n  const char *v31; // rax\n  cocos2d::CCLabelProtocol_vtbl *v32; // rbx\n  cocos2d::CCString *v33; // rax\n  const char *v34; // rax\n  Slider *m_sliderXY; // rcx\n  int m_senderTag; // esi\n  Slider *m_sliderY; // rsi\n  cocos2d::CCNode *v38; // rdi\n  __int64 v39; // rax\n  _BYTE v40[16]; // [rsp+20h] [rbp-98h] BYREF\n  cocos2d::CCObjectType m_eObjType; // [rsp+C0h] [rbp+8h] BYREF\n  cocos2d::CCPoint v42; // [rsp+D0h] [rbp+18h] BYREF\n\n  a1->m_scale1Lock = 1;\n  v8 = -1.0;\n  v9 = -1.0;\n  if ( a3 && cocos2d::CCArray::count(a3) )\n  {\n    v10 = 0;\n    v11 = 0;\n    if ( cocos2d::CCArray::count(a3) )\n    {\n      do\n      {\n        v12 = cocos2d::CCArray::objectAtIndex(a3, v11);\n        m_eObjType = v12[16].m_eObjType;\n        v13 = *(_QWORD *)sub_14012CF70(a4, v40, &m_eObjType);\n        v14 = *(float *)&v12[20].m_unknown2 / *(float *)&v12[23].m_uIndexInArray;\n        v15 = *(float *)&v12[20].m_nZOrder / *(float *)&v12[23].m_uUnknown;\n        if ( v8 == -1.0 )\n        {\n          v8 = *(float *)&v12[20].m_unknown2 / *(float *)&v12[23].m_uIndexInArray;\n        }\n        else if ( v8 != v14 )\n        {\n          v8 = -2.0;\n        }\n        if ( v9 == -1.0 )\n        {\n          v9 = *(float *)&v12[20].m_nZOrder / *(float *)&v12[23].m_uUnknown;\n        }\n        else if ( v9 != v15 )\n        {\n          v9 = -2.0;\n        }\n        *(float *)(v13 + 28) = v14;\n        ++v11;\n        *(float *)(v13 + 32) = v15;\n      }\n      while ( v11 < cocos2d::CCArray::count(a3) );\n      if ( v8 == -2.0 )\n        v8 = 1.0;\n      if ( v9 == -2.0 )\n        v9 = 1.0;\n    }\n    if ( cocos2d::CCArray::count(a3) )\n    {\n      do\n      {\n        v16 = cocos2d::CCArray::objectAtIndex(a3, v10);\n        m_eObjType = v16[16].m_eObjType;\n        v17 = *(float **)sub_14012CF70(a4, v40, &m_eObjType);\n        v18 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v16->__vftable[2].getTag)(v16);\n        cocos2d::CCPoint::operator=(v17 + 5, v18);\n        v17[7] = *(float *)&v16[20].m_unknown2 / *(float *)&v16[23].m_uIndexInArray;\n        v17[8] = *(float *)&v16[20].m_nZOrder / *(float *)&v16[23].m_uUnknown;\n        v17[9] = ((float (__fastcall *)(struct cocos2d::CCObject *))v16->__vftable[5].copyWithZone)(v16);\n        v19 = ((float (__fastcall *)(struct cocos2d::CCObject *))v16->__vftable[5].isEqual)(v16);\n        v20 = v17[7];\n        v17[10] = v19;\n        ++v10;\n        v17[8] = v17[8] / v9;\n        v17[7] = v20 / v8;\n      }\n      while ( v10 < cocos2d::CCArray::count(a3) );\n    }\n    v21 = fminf(1.0, (float)(v8 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound));\n    if ( v21 < 0.0 )\n      v21 = 0.0;\n    Slider::setValue(a1->m_sliderX, v21);\n    v22 = fminf(1.0, (float)(v9 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound));\n    if ( v22 < 0.0 )\n      v22 = 0.0;\n  }\n  else\n  {\n    if ( !a2 )\n      goto LABEL_29;\n    v8 = a2->m_scaleX / a2->m_pixelScaleX;\n    v9 = a2->m_scaleY / a2->m_pixelScaleY;\n    v23 = fminf(1.0, (float)(v8 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound));\n    if ( v23 < 0.0 )\n      v23 = 0.0;\n    Slider::setValue(a1->m_sliderX, v23);\n    v22 = fminf(1.0, (float)(v9 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound));\n    if ( v22 < 0.0 )\n      v22 = 0.0;\n  }\n  Slider::setValue(a1->m_sliderY, v22);\nLABEL_29:\n  v24 = fmaxf(v8, v9);\n  v25 = fminf(1.0, (float)(v24 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound));\n  if ( v25 < 0.0 )\n    v25 = 0.0;\n  Slider::setValue(a1->m_sliderXY, v25);\n  v26 = a1->m_scaleXLabel->__vftable;\n  v27 = cocos2d::CCString::createWithFormat(\"ScaleX %.02f\", v8);\n  CString = cocos2d::CCString::getCString(v27);\n  v26->setString(&a1->m_scaleXLabel->cocos2d::CCLabelProtocol, CString);\n  cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleXLabel, 100.0, 0.0, 0.0);\n  v29 = a1->m_scaleYLabel->__vftable;\n  v30 = cocos2d::CCString::createWithFormat(\"ScaleY: %.02f\", v9);\n  v31 = cocos2d::CCString::getCString(v30);\n  v29->setString(&a1->m_scaleYLabel->cocos2d::CCLabelProtocol, v31);\n  cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleYLabel, 100.0, 0.0, 0.0);\n  v32 = a1->m_scaleLabel->__vftable;\n  v33 = cocos2d::CCString::createWithFormat(\"Scale: %.02f\", v24);\n  v34 = cocos2d::CCString::getCString(v33);\n  v32->setString(&a1->m_scaleLabel->cocos2d::CCLabelProtocol, v34);\n  cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleLabel, 100.0, 0.0, 0.0);\n  m_sliderXY = a1->m_sliderXY;\n  m_senderTag = a1->m_senderTag;\n  a1->m_valueX = v8;\n  a1->m_valueY = v9;\n  m_sliderXY->setVisible(m_sliderXY, m_senderTag != 30);\n  a1->m_scaleLabel->setVisible(a1->m_scaleLabel, m_senderTag != 30);\n  a1->m_sliderX->setVisible(a1->m_sliderX, m_senderTag == 30);\n  a1->m_scaleXLabel->setVisible(a1->m_scaleXLabel, m_senderTag == 30);\n  a1->m_sliderY->setVisible(a1->m_sliderY, m_senderTag == 30);\n  a1->m_scaleYLabel->setVisible(a1->m_scaleYLabel, m_senderTag == 30);\n  if ( m_senderTag == 30 )\n    m_sliderY = a1->m_sliderY;\n  else\n    m_sliderY = a1->m_sliderXY;\n  v38 = a1->m_scaleLockButton->getParent(a1->m_scaleLockButton);\n  cocos2d::CCPoint::CCPoint(&v42, 0.0, 60.0);\n  v39 = (__int64)m_sliderY->getPosition_0(m_sliderY);\n  cocos2d::CCPoint::operator+(v39, &m_eObjType);\n  v38->setPosition_0(v38, (const cocos2d::CCPoint *)&m_eObjType);\n}", "assembly": "; \n; GJScaleControl::loadValues from 0x140129f40 to 0x14012a54b (1547 bytes)\n; \n; 5 xrefs:\n; > EditorUI::updateScaleControl @ 0x140114f32\n; > <???> @ 0x140670904\n; > <???> @ 0x14067094c\n; > <???> @ 0x14067095c\n; > <???> @ 0x1406c9abc\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     rax, rsp                                                       ; +0x0, 0x140129f40\npush    rbx                                                            ; +0x3, 0x140129f43\npush    rbp                                                            ; +0x4, 0x140129f44\npush    rsi                                                            ; +0x5, 0x140129f45\npush    rdi                                                            ; +0x6, 0x140129f46\nsub     rsp, 98h                                                       ; +0x7, 0x140129f47\nmovaps  xmmword ptr [rax-68h], xmm9                                    ; +0xe, 0x140129f4e\nmov     rsi, r8                                                        ; +0x13, 0x140129f53\nmov     [rax-28h], r15                                                 ; +0x16, 0x140129f56\nmov     r15, r9                                                        ; +0x1a, 0x140129f5a\nmovaps  xmmword ptr [rax-38h], xmm6                                    ; +0x1d, 0x140129f5d\nmov     rbx, rdx                                                       ; +0x21, 0x140129f61\nmovaps  xmmword ptr [rax-48h], xmm7                                    ; +0x24, 0x140129f64\nmov     rbp, rcx                                                       ; +0x28, 0x140129f68\nmovaps  xmmword ptr [rax-58h], xmm8                                    ; +0x2b, 0x140129f6b\nxorps   xmm9, xmm9                                                     ; +0x30, 0x140129f70\nmovaps  xmmword ptr [rax-78h], xmm10                                   ; +0x34, 0x140129f74\nmovss   xmm10, cs:flt_140622C24                                        ; +0x39, 0x140129f79\nmovaps  [rsp+0B8h+var_88], xmm11                                       ; +0x42, 0x140129f82\nmovss   xmm11, cs:dword_1406236F0                                      ; +0x48, 0x140129f88\nmov     byte ptr [rcx+1C8h], 1                                         ; +0x51, 0x140129f91\nmovaps  xmm8, xmm11                                                    ; +0x58, 0x140129f98\nmovaps  xmm7, xmm11                                                    ; +0x5c, 0x140129f9c\ntest    r8, r8                                                         ; +0x60, 0x140129fa0\njz      loc_14012A1FB                                                  ; +0x63, 0x140129fa3\nmov     rcx, r8                                                        ; +0x69, 0x140129fa9\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6c, 0x140129fac\ntest    eax, eax                                                       ; +0x72, 0x140129fb2\njz      loc_14012A1FB                                                  ; +0x74, 0x140129fb4\nmov     [rsp+0B8h+arg_8], r14                                          ; +0x7a, 0x140129fba\nmov     rcx, rsi                                                       ; +0x82, 0x140129fc2\nxor     r14d, r14d                                                     ; +0x85, 0x140129fc5\nmov     edi, r14d                                                      ; +0x88, 0x140129fc8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8b, 0x140129fcb\ntest    eax, eax                                                       ; +0x91, 0x140129fd1\njz      loc_14012A099                                                  ; +0x93, 0x140129fd3\nmovss   xmm6, cs:dword_140623730                                       ; +0x99, 0x140129fd9\nmov     edx, edi                                                       ; +0xa1, 0x140129fe1\nmov     rcx, rsi                                                       ; +0xa3, 0x140129fe3\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xa6, 0x140129fe6\nlea     r8, [rsp+0B8h+arg_0]                                           ; +0xac, 0x140129fec\nmov     rbx, rax                                                       ; +0xb4, 0x140129ff4\nlea     rdx, [rsp+0B8h+var_98]                                         ; +0xb7, 0x140129ff7\nmov     ecx, [rax+39Ch]                                                ; +0xbc, 0x140129ffc\nmov     [rsp+0B8h+arg_0], ecx                                          ; +0xc2, 0x14012a002\nmov     rcx, r15                                                       ; +0xc9, 0x14012a009\ncall    sub_14012CF70                                                  ; +0xcc, 0x14012a00c\nucomiss xmm8, xmm11                                                    ; +0xd1, 0x14012a011\nmov     rcx, [rax]                                                     ; +0xd5, 0x14012a015\nmovss   xmm0, dword ptr [rbx+488h]                                     ; +0xd8, 0x14012a018\nmovss   xmm1, dword ptr [rbx+48Ch]                                     ; +0xe0, 0x14012a020\ndivss   xmm0, dword ptr [rbx+528h]                                     ; +0xe8, 0x14012a028\ndivss   xmm1, dword ptr [rbx+52Ch]                                     ; +0xf0, 0x14012a030\njp      short loc_14012A042                                            ; +0xf8, 0x14012a038\njnz     short loc_14012A042                                            ; +0xfa, 0x14012a03a\nmovaps  xmm8, xmm0                                                     ; +0xfc, 0x14012a03c\njmp     short loc_14012A04E                                            ; +0x100, 0x14012a040\nucomiss xmm8, xmm0                                                     ; +0x102, 0x14012a042\njp      short loc_14012A04A                                            ; +0x106, 0x14012a046\njz      short loc_14012A04E                                            ; +0x108, 0x14012a048\nmovaps  xmm8, xmm6                                                     ; +0x10a, 0x14012a04a\nucomiss xmm7, xmm11                                                    ; +0x10e, 0x14012a04e\njp      short loc_14012A05B                                            ; +0x112, 0x14012a052\njnz     short loc_14012A05B                                            ; +0x114, 0x14012a054\nmovaps  xmm7, xmm1                                                     ; +0x116, 0x14012a056\njmp     short loc_14012A065                                            ; +0x119, 0x14012a059\nucomiss xmm7, xmm1                                                     ; +0x11b, 0x14012a05b\njp      short loc_14012A062                                            ; +0x11e, 0x14012a05e\njz      short loc_14012A065                                            ; +0x120, 0x14012a060\nmovaps  xmm7, xmm6                                                     ; +0x122, 0x14012a062\nmovss   dword ptr [rcx+1Ch], xmm0                                      ; +0x125, 0x14012a065\ninc     edi                                                            ; +0x12a, 0x14012a06a\nmovss   dword ptr [rcx+20h], xmm1                                      ; +0x12c, 0x14012a06c\nmov     rcx, rsi                                                       ; +0x131, 0x14012a071\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x134, 0x14012a074\ncmp     edi, eax                                                       ; +0x13a, 0x14012a07a\njb      loc_140129FE1                                                  ; +0x13c, 0x14012a07c\nucomiss xmm8, xmm6                                                     ; +0x142, 0x14012a082\njp      short loc_14012A08E                                            ; +0x146, 0x14012a086\njnz     short loc_14012A08E                                            ; +0x148, 0x14012a088\nmovaps  xmm8, xmm10                                                    ; +0x14a, 0x14012a08a\nucomiss xmm7, xmm6                                                     ; +0x14e, 0x14012a08e\njp      short loc_14012A099                                            ; +0x151, 0x14012a091\njnz     short loc_14012A099                                            ; +0x153, 0x14012a093\nmovaps  xmm7, xmm10                                                    ; +0x155, 0x14012a095\nmov     rcx, rsi                                                       ; +0x159, 0x14012a099\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x15c, 0x14012a09c\ntest    eax, eax                                                       ; +0x162, 0x14012a0a2\njz      loc_14012A17B                                                  ; +0x164, 0x14012a0a4\nnop     word ptr [rax+rax+00h]                                         ; +0x16a, 0x14012a0aa\nmov     edx, r14d                                                      ; +0x170, 0x14012a0b0\nmov     rcx, rsi                                                       ; +0x173, 0x14012a0b3\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x176, 0x14012a0b6\nlea     r8, [rsp+0B8h+arg_0]                                           ; +0x17c, 0x14012a0bc\nmov     rbx, rax                                                       ; +0x184, 0x14012a0c4\nlea     rdx, [rsp+0B8h+var_98]                                         ; +0x187, 0x14012a0c7\nmov     ecx, [rax+39Ch]                                                ; +0x18c, 0x14012a0cc\nmov     [rsp+0B8h+arg_0], ecx                                          ; +0x192, 0x14012a0d2\nmov     rcx, r15                                                       ; +0x199, 0x14012a0d9\ncall    sub_14012CF70                                                  ; +0x19c, 0x14012a0dc\nmov     rdx, [rbx]                                                     ; +0x1a1, 0x14012a0e1\nmov     rcx, rbx                                                       ; +0x1a4, 0x14012a0e4\nmov     rdi, [rax]                                                     ; +0x1a7, 0x14012a0e7\ncall    qword ptr [rdx+0C8h]                                           ; +0x1aa, 0x14012a0ea\nmov     rdx, rax                                                       ; +0x1b0, 0x14012a0f0\nlea     rcx, [rdi+14h]                                                 ; +0x1b3, 0x14012a0f3\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1b7, 0x14012a0f7\nmovss   xmm0, dword ptr [rbx+488h]                                     ; +0x1bd, 0x14012a0fd\nmov     rcx, rbx                                                       ; +0x1c5, 0x14012a105\ndivss   xmm0, dword ptr [rbx+528h]                                     ; +0x1c8, 0x14012a108\nmovss   dword ptr [rdi+1Ch], xmm0                                      ; +0x1d0, 0x14012a110\nmovss   xmm0, dword ptr [rbx+48Ch]                                     ; +0x1d5, 0x14012a115\ndivss   xmm0, dword ptr [rbx+52Ch]                                     ; +0x1dd, 0x14012a11d\nmovss   dword ptr [rdi+20h], xmm0                                      ; +0x1e5, 0x14012a125\nmov     rax, [rbx]                                                     ; +0x1ea, 0x14012a12a\ncall    qword ptr [rax+168h]                                           ; +0x1ed, 0x14012a12d\nmovss   dword ptr [rdi+24h], xmm0                                      ; +0x1f3, 0x14012a133\nmov     rcx, rbx                                                       ; +0x1f8, 0x14012a138\nmov     rax, [rbx]                                                     ; +0x1fb, 0x14012a13b\ncall    qword ptr [rax+178h]                                           ; +0x1fe, 0x14012a13e\nmovss   xmm1, dword ptr [rdi+1Ch]                                      ; +0x204, 0x14012a144\nmov     rcx, rsi                                                       ; +0x209, 0x14012a149\nmovss   dword ptr [rdi+28h], xmm0                                      ; +0x20c, 0x14012a14c\ninc     r14d                                                           ; +0x211, 0x14012a151\nmovss   xmm0, dword ptr [rdi+20h]                                      ; +0x214, 0x14012a154\ndivss   xmm0, xmm7                                                     ; +0x219, 0x14012a159\ndivss   xmm1, xmm8                                                     ; +0x21d, 0x14012a15d\nmovss   dword ptr [rdi+20h], xmm0                                      ; +0x222, 0x14012a162\nmovss   dword ptr [rdi+1Ch], xmm1                                      ; +0x227, 0x14012a167\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x22c, 0x14012a16c\ncmp     r14d, eax                                                      ; +0x232, 0x14012a172\njb      loc_14012A0B0                                                  ; +0x235, 0x14012a175\nmovss   xmm1, dword ptr [rbp+1F4h]                                     ; +0x23b, 0x14012a17b\nmovaps  xmm2, xmm8                                                     ; +0x243, 0x14012a183\nmovss   xmm0, dword ptr [rbp+1F0h]                                     ; +0x247, 0x14012a187\nsubss   xmm2, xmm1                                                     ; +0x24f, 0x14012a18f\nmov     r14, [rsp+0B8h+arg_8]                                          ; +0x253, 0x14012a193\nsubss   xmm0, xmm1                                                     ; +0x25b, 0x14012a19b\nmovaps  xmm1, xmm10                                                    ; +0x25f, 0x14012a19f\ndivss   xmm2, xmm0                                                     ; +0x263, 0x14012a1a3\nminss   xmm1, xmm2                                                     ; +0x267, 0x14012a1a7\ncomiss  xmm9, xmm1                                                     ; +0x26b, 0x14012a1ab\njbe     short loc_14012A1B5                                            ; +0x26f, 0x14012a1af\nmovaps  xmm1, xmm9                                                     ; +0x271, 0x14012a1b1\nmov     rcx, [rbp+198h]                                                ; +0x275, 0x14012a1b5\ncall    Slider__setValue                                               ; +0x27c, 0x14012a1bc\nmovss   xmm1, dword ptr [rbp+1F4h]                                     ; +0x281, 0x14012a1c1\nmovaps  xmm2, xmm7                                                     ; +0x289, 0x14012a1c9\nmovss   xmm0, dword ptr [rbp+1F0h]                                     ; +0x28c, 0x14012a1cc\nsubss   xmm2, xmm1                                                     ; +0x294, 0x14012a1d4\nsubss   xmm0, xmm1                                                     ; +0x298, 0x14012a1d8\nmovaps  xmm1, xmm10                                                    ; +0x29c, 0x14012a1dc\ndivss   xmm2, xmm0                                                     ; +0x2a0, 0x14012a1e0\nminss   xmm1, xmm2                                                     ; +0x2a4, 0x14012a1e4\ncomiss  xmm9, xmm1                                                     ; +0x2a8, 0x14012a1e8\njbe     loc_14012A293                                                  ; +0x2ac, 0x14012a1ec\nmovaps  xmm1, xmm9                                                     ; +0x2b2, 0x14012a1f2\njmp     loc_14012A293                                                  ; +0x2b6, 0x14012a1f6\ntest    rbx, rbx                                                       ; +0x2bb, 0x14012a1fb\njz      loc_14012A29F                                                  ; +0x2be, 0x14012a1fe\nmovss   xmm8, dword ptr [rbx+488h]                                     ; +0x2c4, 0x14012a204\nmovss   xmm1, dword ptr [rbp+1F4h]                                     ; +0x2cd, 0x14012a20d\ndivss   xmm8, dword ptr [rbx+528h]                                     ; +0x2d5, 0x14012a215\nmovss   xmm0, dword ptr [rbp+1F0h]                                     ; +0x2de, 0x14012a21e\nmovss   xmm7, dword ptr [rbx+48Ch]                                     ; +0x2e6, 0x14012a226\nsubss   xmm0, xmm1                                                     ; +0x2ee, 0x14012a22e\ndivss   xmm7, dword ptr [rbx+52Ch]                                     ; +0x2f2, 0x14012a232\nmovaps  xmm2, xmm8                                                     ; +0x2fa, 0x14012a23a\nsubss   xmm2, xmm1                                                     ; +0x2fe, 0x14012a23e\nmovaps  xmm1, xmm10                                                    ; +0x302, 0x14012a242\ndivss   xmm2, xmm0                                                     ; +0x306, 0x14012a246\nminss   xmm1, xmm2                                                     ; +0x30a, 0x14012a24a\ncomiss  xmm9, xmm1                                                     ; +0x30e, 0x14012a24e\njbe     short loc_14012A257                                            ; +0x312, 0x14012a252\nxorps   xmm1, xmm1                                                     ; +0x314, 0x14012a254\nmov     rcx, [rbp+198h]                                                ; +0x317, 0x14012a257\ncall    Slider__setValue                                               ; +0x31e, 0x14012a25e\nmovss   xmm1, dword ptr [rbp+1F4h]                                     ; +0x323, 0x14012a263\nmovaps  xmm2, xmm7                                                     ; +0x32b, 0x14012a26b\nmovss   xmm0, dword ptr [rbp+1F0h]                                     ; +0x32e, 0x14012a26e\nsubss   xmm2, xmm1                                                     ; +0x336, 0x14012a276\nsubss   xmm0, xmm1                                                     ; +0x33a, 0x14012a27a\nmovaps  xmm1, xmm10                                                    ; +0x33e, 0x14012a27e\ndivss   xmm2, xmm0                                                     ; +0x342, 0x14012a282\nminss   xmm1, xmm2                                                     ; +0x346, 0x14012a286\ncomiss  xmm9, xmm1                                                     ; +0x34a, 0x14012a28a\njbe     short loc_14012A293                                            ; +0x34e, 0x14012a28e\nxorps   xmm1, xmm1                                                     ; +0x350, 0x14012a290\nmov     rcx, [rbp+1A0h]                                                ; +0x353, 0x14012a293\ncall    Slider__setValue                                               ; +0x35a, 0x14012a29a\nmovss   xmm1, dword ptr [rbp+1F4h]                                     ; +0x35f, 0x14012a29f\nmovaps  xmm11, xmm8                                                    ; +0x367, 0x14012a2a7\nmovss   xmm0, dword ptr [rbp+1F0h]                                     ; +0x36b, 0x14012a2ab\nmaxss   xmm11, xmm7                                                    ; +0x373, 0x14012a2b3\nmov     r15, [rsp+0B8h+var_28]                                         ; +0x378, 0x14012a2b8\nsubss   xmm0, xmm1                                                     ; +0x380, 0x14012a2c0\nmovaps  xmm2, xmm11                                                    ; +0x384, 0x14012a2c4\nsubss   xmm2, xmm1                                                     ; +0x388, 0x14012a2c8\ndivss   xmm2, xmm0                                                     ; +0x38c, 0x14012a2cc\nminss   xmm10, xmm2                                                    ; +0x390, 0x14012a2d0\ncomiss  xmm9, xmm10                                                    ; +0x395, 0x14012a2d5\njbe     short loc_14012A2DF                                            ; +0x399, 0x14012a2d9\nmovaps  xmm10, xmm9                                                    ; +0x39b, 0x14012a2db\nmov     rcx, [rbp+1A8h]                                                ; +0x39f, 0x14012a2df\nmovaps  xmm1, xmm10                                                    ; +0x3a6, 0x14012a2e6\ncall    Slider__setValue                                               ; +0x3aa, 0x14012a2ea\nmov     rax, [rbp+1D0h]                                                ; +0x3af, 0x14012a2ef\nlea     rcx, aScalex02f; \"ScaleX %.02f\"                                ; +0x3b6, 0x14012a2f6\nxorps   xmm1, xmm1                                                     ; +0x3bd, 0x14012a2fd\ncvtss2sd xmm1, xmm8                                                    ; +0x3c0, 0x14012a300\nmov     rbx, [rax+168h]                                                ; +0x3c5, 0x14012a305\nmovq    rdx, xmm1                                                      ; +0x3cc, 0x14012a30c\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x3d1, 0x14012a311\nmov     rcx, rax                                                       ; +0x3d7, 0x14012a317\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x3da, 0x14012a31a\nmov     rcx, [rbp+1D0h]                                                ; +0x3e0, 0x14012a320\nmov     rdx, rax                                                       ; +0x3e7, 0x14012a327\nadd     rcx, 168h                                                      ; +0x3ea, 0x14012a32a\ncall    qword ptr [rbx]                                                ; +0x3f1, 0x14012a331\nmovss   xmm6, cs:dword_1406232BC                                       ; +0x3f3, 0x14012a333\nmovaps  xmm3, xmm9                                                     ; +0x3fb, 0x14012a33b\nmov     rcx, [rbp+1D0h]                                                ; +0x3ff, 0x14012a33f\nmovaps  xmm1, xmm6                                                     ; +0x406, 0x14012a346\nmovaps  xmm2, xmm9                                                     ; +0x409, 0x14012a349\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x40d, 0x14012a34d\nmov     rax, [rbp+1D8h]                                                ; +0x413, 0x14012a353\nlea     rcx, aScaley02f; \"ScaleY: %.02f\"                               ; +0x41a, 0x14012a35a\nxorps   xmm1, xmm1                                                     ; +0x421, 0x14012a361\ncvtss2sd xmm1, xmm7                                                    ; +0x424, 0x14012a364\nmov     rbx, [rax+168h]                                                ; +0x428, 0x14012a368\nmovq    rdx, xmm1                                                      ; +0x42f, 0x14012a36f\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x434, 0x14012a374\nmov     rcx, rax                                                       ; +0x43a, 0x14012a37a\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x43d, 0x14012a37d\nmov     rcx, [rbp+1D8h]                                                ; +0x443, 0x14012a383\nmov     rdx, rax                                                       ; +0x44a, 0x14012a38a\nadd     rcx, 168h                                                      ; +0x44d, 0x14012a38d\ncall    qword ptr [rbx]                                                ; +0x454, 0x14012a394\nmov     rcx, [rbp+1D8h]                                                ; +0x456, 0x14012a396\nmovaps  xmm3, xmm9                                                     ; +0x45d, 0x14012a39d\nmovaps  xmm2, xmm9                                                     ; +0x461, 0x14012a3a1\nmovaps  xmm1, xmm6                                                     ; +0x465, 0x14012a3a5\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x468, 0x14012a3a8\nmov     rax, [rbp+1E0h]                                                ; +0x46e, 0x14012a3ae\nlea     rcx, aScale02f; \"Scale: %.02f\"                                 ; +0x475, 0x14012a3b5\nxorps   xmm1, xmm1                                                     ; +0x47c, 0x14012a3bc\ncvtss2sd xmm1, xmm11                                                   ; +0x47f, 0x14012a3bf\nmov     rbx, [rax+168h]                                                ; +0x484, 0x14012a3c4\nmovq    rdx, xmm1                                                      ; +0x48b, 0x14012a3cb\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x490, 0x14012a3d0\nmov     rcx, rax                                                       ; +0x496, 0x14012a3d6\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x499, 0x14012a3d9\nmov     rcx, [rbp+1E0h]                                                ; +0x49f, 0x14012a3df\nmov     rdx, rax                                                       ; +0x4a6, 0x14012a3e6\nadd     rcx, 168h                                                      ; +0x4a9, 0x14012a3e9\ncall    qword ptr [rbx]                                                ; +0x4b0, 0x14012a3f0\nmov     rcx, [rbp+1E0h]                                                ; +0x4b2, 0x14012a3f2\nmovaps  xmm3, xmm9                                                     ; +0x4b9, 0x14012a3f9\nmovaps  xmm2, xmm9                                                     ; +0x4bd, 0x14012a3fd\nmovaps  xmm1, xmm6                                                     ; +0x4c1, 0x14012a401\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x4c4, 0x14012a404\nmov     rcx, [rbp+1A8h]                                                ; +0x4ca, 0x14012a40a\nmov     esi, [rbp+1F8h]                                                ; +0x4d1, 0x14012a411\ncmp     esi, 1Eh                                                       ; +0x4d7, 0x14012a417\nmovss   dword ptr [rbp+1B4h], xmm8                                     ; +0x4da, 0x14012a41a\nmovss   dword ptr [rbp+1B8h], xmm7                                     ; +0x4e3, 0x14012a423\nsetnz   bl                                                             ; +0x4eb, 0x14012a42b\nmov     rax, [rcx]                                                     ; +0x4ee, 0x14012a42e\nmovzx   edx, bl                                                        ; +0x4f1, 0x14012a431\nsetz    dil                                                            ; +0x4f4, 0x14012a434\ncall    qword ptr [rax+140h]                                           ; +0x4f8, 0x14012a438\nmov     rcx, [rbp+1E0h]                                                ; +0x4fe, 0x14012a43e\nmovzx   edx, bl                                                        ; +0x505, 0x14012a445\nmov     rax, [rcx]                                                     ; +0x508, 0x14012a448\ncall    qword ptr [rax+140h]                                           ; +0x50b, 0x14012a44b\nmov     rcx, [rbp+198h]                                                ; +0x511, 0x14012a451\nmovzx   edx, dil                                                       ; +0x518, 0x14012a458\nmov     rax, [rcx]                                                     ; +0x51c, 0x14012a45c\ncall    qword ptr [rax+140h]                                           ; +0x51f, 0x14012a45f\nmov     rcx, [rbp+1D0h]                                                ; +0x525, 0x14012a465\nmovzx   edx, dil                                                       ; +0x52c, 0x14012a46c\nmov     rax, [rcx]                                                     ; +0x530, 0x14012a470\ncall    qword ptr [rax+140h]                                           ; +0x533, 0x14012a473\nmov     rcx, [rbp+1A0h]                                                ; +0x539, 0x14012a479\nmov     rax, [rcx]                                                     ; +0x540, 0x14012a480\nmovzx   edx, dil                                                       ; +0x543, 0x14012a483\ncall    qword ptr [rax+140h]                                           ; +0x547, 0x14012a487\nmov     rcx, [rbp+1D8h]                                                ; +0x54d, 0x14012a48d\nmovzx   edx, dil                                                       ; +0x554, 0x14012a494\nmov     rax, [rcx]                                                     ; +0x558, 0x14012a498\ncall    qword ptr [rax+140h]                                           ; +0x55b, 0x14012a49b\nmovaps  xmm11, [rsp+0B8h+var_88]                                       ; +0x561, 0x14012a4a1\nmovaps  xmm10, [rsp+0B8h+var_78]                                       ; +0x567, 0x14012a4a7\nmovaps  xmm8, [rsp+0B8h+var_58]                                        ; +0x56d, 0x14012a4ad\nmovaps  xmm7, [rsp+0B8h+var_48]                                        ; +0x573, 0x14012a4b3\nmovaps  xmm6, [rsp+0B8h+var_38]                                        ; +0x578, 0x14012a4b8\ncmp     esi, 1Eh                                                       ; +0x580, 0x14012a4c0\njnz     short loc_14012A4CE                                            ; +0x583, 0x14012a4c3\nmov     rsi, [rbp+1A0h]                                                ; +0x585, 0x14012a4c5\njmp     short loc_14012A4D5                                            ; +0x58c, 0x14012a4cc\nmov     rsi, [rbp+1A8h]                                                ; +0x58e, 0x14012a4ce\nmov     rcx, [rbp+200h]                                                ; +0x595, 0x14012a4d5\nmov     rax, [rcx]                                                     ; +0x59c, 0x14012a4dc\ncall    qword ptr [rax+1E8h]                                           ; +0x59f, 0x14012a4df\nmovss   xmm2, cs:dword_140623210                                       ; +0x5a5, 0x14012a4e5\nlea     rcx, [rsp+0B8h+arg_10]                                         ; +0x5ad, 0x14012a4ed\nmovaps  xmm1, xmm9                                                     ; +0x5b5, 0x14012a4f5\nmov     rdi, rax                                                       ; +0x5b9, 0x14012a4f9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5bc, 0x14012a4fc\nmov     rdx, [rsi]                                                     ; +0x5c2, 0x14012a502\nmov     rcx, rsi                                                       ; +0x5c5, 0x14012a505\nmov     rbx, rax                                                       ; +0x5c8, 0x14012a508\ncall    qword ptr [rdx+0C8h]                                           ; +0x5cb, 0x14012a50b\nmov     r8, rbx                                                        ; +0x5d1, 0x14012a511\nlea     rdx, [rsp+0B8h+arg_0]                                          ; +0x5d4, 0x14012a514\nmov     rcx, rax                                                       ; +0x5dc, 0x14012a51c\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x5df, 0x14012a51f\nmov     rax, [rdi]                                                     ; +0x5e5, 0x14012a525\nlea     rdx, [rsp+0B8h+arg_0]                                          ; +0x5e8, 0x14012a528\nmov     rcx, rdi                                                       ; +0x5f0, 0x14012a530\ncall    qword ptr [rax+0B8h]                                           ; +0x5f3, 0x14012a533\nmovaps  xmm9, [rsp+0B8h+var_68]                                        ; +0x5f9, 0x14012a539\nadd     rsp, 98h                                                       ; +0x5ff, 0x14012a53f\npop     rdi                                                            ; +0x606, 0x14012a546\npop     rsi                                                            ; +0x607, 0x14012a547\npop     rbp                                                            ; +0x608, 0x14012a548\npop     rbx                                                            ; +0x609, 0x14012a549\nretn                                                                   ; +0x60a, 0x14012a54a", "xrefs": ["EditorUI::updateScaleControl @ 0x140114f32", "<???> @ 0x140670904", "<???> @ 0x14067094c", "<???> @ 0x14067095c", "<???> @ 0x1406c9abc"], "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"}