{"type": "func", "start": 5371688544, "end": 5371689909, "name": "LevelEditorLayer::updateObjectLabel", "pseudocode": "// \n// LevelEditorLayer::updateObjectLabel from 0x1402d7660 to 0x1402d7bb5 (1365 bytes)\n// \n// 5 xrefs:\n// > CollisionBlockPopup::updateEditorLabel @ 0x14008b9ae\n// > EditorUI::dynamicGroupUpdate @ 0x140118f6e\n// > LevelEditorLayer::addSpecial @ 0x1402d7c7f\n// > SetupTriggerPopup::updateEditorLabel @ 0x14047555e\n// > <???> @ 0x1406d3104\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\n// Hidden C++ exception states: #wind=1\nvoid LevelEditorLayer::updateObjectLabel(GameObject *a1)\n{\n  int m_objectID; // edx\n  float b; // r9d\n  __int64 m_targetColor; // r8\n  __m128i v5; // xmm0\n  __int64 v6; // rdx\n  cocos2d::CCString *v7; // rax\n  char *CString; // rax\n  size_t v9; // r8\n  cocos2d::CCString *v10; // rax\n  cocos2d::CCString *v11; // rax\n  cocos2d::CCString *v12; // rax\n  __m128i *v13; // rbx\n  void *v14; // rcx\n  cocos2d::CCLabelBMFont *v15; // rax\n  struct cocos2d::CCLabelBMFont *v16; // rsi\n  void **v17; // rcx\n  void **v18; // rdx\n  cocos2d::CCLabelBMFont_vtbl *v19; // rbx\n  const cocos2d::CCSize *v20; // rax\n  const cocos2d::CCPoint *v21; // rax\n  void *Block[2]; // [rsp+30h] [rbp-21h] BYREF\n  __m128i si128; // [rsp+40h] [rbp-11h]\n  _QWORD v24[4]; // [rsp+50h] [rbp-1h] BYREF\n\n  m_objectID = a1->m_objectID;\n  if ( m_objectID <= 1585 )\n  {\n    if ( m_objectID != 1585 )\n    {\n      if ( m_objectID > 1049 )\n      {\n        if ( m_objectID != 1268 && (unsigned int)(m_objectID - 1346) >= 2 )\n          return;\n      }\n      else if ( m_objectID != 1049 && m_objectID != 899 && m_objectID != 901 && (unsigned int)(m_objectID - 1006) >= 2 )\n      {\n        return;\n      }\n    }\n    goto LABEL_29;\n  }\n  if ( m_objectID <= 1811 )\n  {\n    if ( m_objectID != 1811 && m_objectID != 1595 && m_objectID != 1611 && m_objectID != 1616 )\n      return;\n    goto LABEL_29;\n  }\n  if ( m_objectID > 2062 )\n  {\n    if ( m_objectID > 3609 )\n    {\n      if ( m_objectID != 3640 && m_objectID != 3660 )\n        return;\n    }\n    else if ( m_objectID != 3609 && m_objectID != 2067 && m_objectID != 3016 && m_objectID != 3033 )\n    {\n      return;\n    }\nLABEL_29:\n    b = a1[1].m_sAdditionalTransform.b;\n    m_targetColor = LODWORD(b);\n    switch ( m_objectID )\n    {\n      case 899:\n        m_targetColor = (unsigned int)a1->m_targetColor;\n        break;\n      case 1811:\nLABEL_33:\n        m_targetColor = *(unsigned int *)&a1[1]._cascadeColorEnabled;\n        break;\n      case 1816:\n        m_targetColor = *(unsigned int *)&a1[1]._cascadeColorEnabled;\n        break;\n      case 1817:\n        goto LABEL_33;\n      default:\n        break;\n    }\n    v5.m128i_i32[0] = 0;\n    *(_OWORD *)Block = 0;\n    si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30);\n    LOBYTE(Block[0]) = 0;\n    switch ( m_objectID )\n    {\n      case 1816:\n        v6 = *(unsigned int *)&a1[1]._cascadeColorEnabled;\n        if ( a1[1]._realColor.r )\n        {\n          v7 = cocos2d::CCString::createWithFormat(\"%i.\", v6, m_targetColor);\n          CString = (char *)cocos2d::CCString::getCString(v7);\n          v9 = -1;\n          do\n            ++v9;\n          while ( CString[v9] );\n        }\n        else\n        {\n          v10 = cocos2d::CCString::createWithFormat(\"%i\", v6);\n          CString = (char *)cocos2d::CCString::getCString(v10);\n          v9 = -1;\n          do\n            ++v9;\n          while ( CString[v9] );\n        }\n        break;\n      case 3640:\n        v11 = cocos2d::CCString::createWithFormat(\"%i\\n%i\", b, a1[1].m_sAdditionalTransform.c);\n        CString = (char *)cocos2d::CCString::getCString(v11);\n        v9 = -1;\n        do\n          ++v9;\n        while ( CString[v9] );\n        break;\n      case 1912:\n        v12 = cocos2d::CCString::createWithFormat(\"%i/%i\", b, a1[1].m_sAdditionalTransform.c);\n        CString = (char *)cocos2d::CCString::getCString(v12);\n        v9 = -1;\n        do\n          ++v9;\n        while ( CString[v9] );\n        break;\n      default:\n        if ( (int)m_targetColor < 1000 || m_objectID != 899 && (m_objectID != 1006 || LODWORD(a1[1].m_pActionManager)) )\n        {\n          v13 = (__m128i *)GameToolbox::intToString(v24, m_targetColor);\n          if ( Block != (void **)v13 )\n          {\n            if ( si128.m128i_i64[1] > 0xFuLL )\n            {\n              v14 = Block[0];\n              if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n              {\n                v14 = *((void **)Block[0] - 1);\n                if ( (unsigned __int64)((char *)Block[0] - (char *)v14 - 8) > 0x1F )\n                  invalid_parameter_noinfo_noreturn();\n              }\n              j_j_free(v14);\n            }\n            si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30);\n            LOBYTE(Block[0]) = 0;\n            v5 = *v13;\n            *(__m128i *)Block = *v13;\n            si128 = v13[1];\n            v13[1].m128i_i64[0] = 0;\n            v13[1].m128i_i64[1] = 15;\n            v13->m128i_i8[0] = 0;\n          }\n          sub_14003A830((__int64)v24);\n          goto LABEL_67;\n        }\n        CString = (char *)GJSpecialColorSelect::textForColorIdx(m_targetColor);\n        v9 = -1;\n        do\n          ++v9;\n        while ( CString[v9] );\n        break;\n    }\n    sub_14003CCE0(Block, CString, v9);\nLABEL_67:\n    v15 = a1->getObjectLabel(a1);\n    v16 = v15;\n    if ( v15 )\n    {\n      v18 = Block;\n      if ( si128.m128i_i64[1] > 0xFuLL )\n        v18 = (void **)Block[0];\n      v15->setString(&v15->cocos2d::CCLabelProtocol, (const char *)v18);\n    }\n    else\n    {\n      v17 = Block;\n      if ( si128.m128i_i64[1] > 0xFuLL )\n        v17 = (void **)Block[0];\n      v16 = cocos2d::CCLabelBMFont::create((const char *)v17, (const char *)&qword_14052A4D8);\n      ((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v16->setScale_0)(v16);\n      a1->addChild_0(a1, v16, 1);\n      a1->setObjectLabel(a1, v16);\n    }\n    v19 = v16->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->getContentSize(a1);\n    v20 = a1->getContentSize(a1);\n    cocos2d::CCPoint::CCPoint(*(float *)v5.m128i_i32, v20->width * 0.5);\n    v19->setPosition_0(v16, v21);\n    cocos2d::CCLabelBMFont::limitLabelWidth(v16, 30.0, 0.5, 0.0);\n    sub_14003A830((__int64)Block);\n    return;\n  }\n  if ( m_objectID == 2062 )\n    goto LABEL_29;\n  switch ( m_objectID )\n  {\n    case 1812:\n    case 1814:\n    case 1815:\n    case 1816:\n    case 1817:\n    case 1912:\n      goto LABEL_29;\n    default:\n      return;\n  }\n}", "assembly": "; \n; LevelEditorLayer::updateObjectLabel from 0x1402d7660 to 0x1402d7bb5 (1365 bytes)\n; \n; 5 xrefs:\n; > CollisionBlockPopup::updateEditorLabel @ 0x14008b9ae\n; > EditorUI::dynamicGroupUpdate @ 0x140118f6e\n; > LevelEditorLayer::addSpecial @ 0x1402d7c7f\n; > SetupTriggerPopup::updateEditorLabel @ 0x14047555e\n; > <???> @ 0x1406d3104\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, 0x1402d7660\nmov     [rax+10h], rbx                                                 ; +0x3, 0x1402d7663\nmov     [rax+18h], rsi                                                 ; +0x7, 0x1402d7667\nmov     [rax+20h], rdi                                                 ; +0xb, 0x1402d766b\npush    rbp                                                            ; +0xf, 0x1402d766f\nlea     rbp, [rax-5Fh]                                                 ; +0x10, 0x1402d7670\nsub     rsp, 0A0h                                                      ; +0x14, 0x1402d7674\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0x1b, 0x1402d767b\nmovaps  xmmword ptr [rax-28h], xmm7                                    ; +0x1f, 0x1402d767f\nmovaps  xmmword ptr [rax-38h], xmm8                                    ; +0x23, 0x1402d7683\nmov     rax, cs:__security_cookie                                      ; +0x28, 0x1402d7688\nxor     rax, rsp                                                       ; +0x2f, 0x1402d768f\nmov     [rbp+57h+var_38], rax                                          ; +0x32, 0x1402d7692\nmov     rdi, rcx                                                       ; +0x36, 0x1402d7696\nmov     edx, [rcx+40Ch]                                                ; +0x39, 0x1402d7699\nmov     ecx, edx                                                       ; +0x3f, 0x1402d769f\ncmp     edx, 631h                                                      ; +0x41, 0x1402d76a1\njg      short loc_1402D770C                                            ; +0x47, 0x1402d76a7\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x49, 0x1402d76a9\ncmp     edx, 419h                                                      ; +0x4f, 0x1402d76af\njg      short loc_1402D76E9                                            ; +0x55, 0x1402d76b5\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x57, 0x1402d76b7\nsub     ecx, 383h                                                      ; +0x5d, 0x1402d76bd\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x63, 0x1402d76c3\nsub     ecx, 2                                                         ; +0x69, 0x1402d76c9\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x6c, 0x1402d76cc\nsub     ecx, 69h ; 'i'                                                 ; +0x72, 0x1402d76d2\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x75, 0x1402d76d5\ncmp     ecx, 1                                                         ; +0x7b, 0x1402d76db\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x7e, 0x1402d76de\njmp     def_1402D7768; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0x84, 0x1402d76e4\nsub     ecx, 4F4h                                                      ; +0x89, 0x1402d76e9\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x8f, 0x1402d76ef\nsub     ecx, 4Eh ; 'N'                                                 ; +0x95, 0x1402d76f5\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x98, 0x1402d76f8\ncmp     ecx, 1                                                         ; +0x9e, 0x1402d76fe\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0xa1, 0x1402d7701\njmp     def_1402D7768; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0xa7, 0x1402d7707\ncmp     ecx, 713h                                                      ; +0xac, 0x1402d770c\njg      short loc_1402D7731                                            ; +0xb2, 0x1402d7712\njz      loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0xb4, 0x1402d7714\nsub     ecx, 63Bh                                                      ; +0xba, 0x1402d771a\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0xc0, 0x1402d7720\nsub     ecx, 10h                                                       ; +0xc2, 0x1402d7722\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0xc5, 0x1402d7725\ncmp     ecx, 5                                                         ; +0xc7, 0x1402d7727\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0xca, 0x1402d772a\njmp     def_1402D7768; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0xcc, 0x1402d772c\ncmp     ecx, 80Eh                                                      ; +0xd1, 0x1402d7731\njg      short loc_1402D776A                                            ; +0xd7, 0x1402d7737\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0xd9, 0x1402d7739\nsub     ecx, 714h; switch 101 cases                                    ; +0xdb, 0x1402d773b\ncmp     ecx, 64h                                                       ; +0xe1, 0x1402d7741\nja      def_1402D7768; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0xe4, 0x1402d7744\nmovsxd  rax, ecx                                                       ; +0xea, 0x1402d774a\nlea     r8, cs:140000000h                                              ; +0xed, 0x1402d774d\nmovzx   eax, ds:(byte_1402D7B50 - 140000000h)[r8+rax]                  ; +0xf4, 0x1402d7754\nmov     ecx, ds:(jpt_1402D7768 - 140000000h)[r8+rax*4]                 ; +0xfd, 0x1402d775d\nadd     rcx, r8                                                        ; +0x105, 0x1402d7765\njmp     rcx; switch jump                                               ; +0x108, 0x1402d7768\ncmp     ecx, 0E19h                                                     ; +0x10a, 0x1402d776a\njg      short loc_1402D778E                                            ; +0x110, 0x1402d7770\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x112, 0x1402d7772\nsub     ecx, 813h                                                      ; +0x114, 0x1402d7774\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x11a, 0x1402d777a\nsub     ecx, 3B5h                                                      ; +0x11c, 0x1402d777c\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x122, 0x1402d7782\ncmp     ecx, 11h                                                       ; +0x124, 0x1402d7784\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x127, 0x1402d7787\njmp     def_1402D7768; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0x129, 0x1402d7789\nsub     ecx, 0E38h                                                     ; +0x12e, 0x1402d778e\njz      short loc_1402D779F; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x134, 0x1402d7794\ncmp     ecx, 14h                                                       ; +0x136, 0x1402d7796\njnz     def_1402D7768; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0x139, 0x1402d7799\nmovss   xmm8, cs:dword_1406237C0; jumptable 00000001402D7768 cases 1812,1814-1817,1912 ; +0x13f, 0x1402d779f\nmov     r9d, [rdi+5C8h]                                                ; +0x148, 0x1402d77a8\nmov     r8d, r9d                                                       ; +0x14f, 0x1402d77af\nmov     ecx, edx                                                       ; +0x152, 0x1402d77b2\nsub     ecx, 383h                                                      ; +0x154, 0x1402d77b4\njz      short loc_1402D77E4                                            ; +0x15a, 0x1402d77ba\nsub     ecx, 390h                                                      ; +0x15c, 0x1402d77bc\njz      short loc_1402D77CE                                            ; +0x162, 0x1402d77c2\nsub     ecx, 5                                                         ; +0x164, 0x1402d77c4\njz      short loc_1402D77D7                                            ; +0x167, 0x1402d77c7\ncmp     ecx, 1                                                         ; +0x169, 0x1402d77c9\njnz     short loc_1402D77EB                                            ; +0x16c, 0x1402d77cc\nmov     r8d, [rdi+6A0h]                                                ; +0x16e, 0x1402d77ce\njmp     short loc_1402D77EB                                            ; +0x175, 0x1402d77d5\nmov     r8d, [rdi+6A0h]                                                ; +0x177, 0x1402d77d7\nxorps   xmm8, xmm8                                                     ; +0x17e, 0x1402d77de\njmp     short loc_1402D77EB                                            ; +0x182, 0x1402d77e2\nmov     r8d, [rdi+408h]                                                ; +0x184, 0x1402d77e4\nxorps   xmm0, xmm0                                                     ; +0x18b, 0x1402d77eb\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x18e, 0x1402d77ee\nmovdqa  xmm1, cs:xmmword_140623F30                                     ; +0x192, 0x1402d77f2\nmovdqu  [rbp+57h+var_68], xmm1                                         ; +0x19a, 0x1402d77fa\nmov     byte ptr [rbp+57h+Block], 0                                    ; +0x19f, 0x1402d77ff\ncmp     edx, 718h                                                      ; +0x1a3, 0x1402d7803\njnz     loc_1402D789B                                                  ; +0x1a9, 0x1402d7809\nmov     edx, [rdi+6A0h]                                                ; +0x1af, 0x1402d780f\ncmp     byte ptr [rdi+69Dh], 0                                         ; +0x1b5, 0x1402d7815\njz      short loc_1402D785B                                            ; +0x1bc, 0x1402d781c\nlea     rcx, aI_12; \"%i.\"                                              ; +0x1be, 0x1402d781e\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1c5, 0x1402d7825\nmov     rcx, rax                                                       ; +0x1cb, 0x1402d782b\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1ce, 0x1402d782e\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x1d4, 0x1402d7834\nnop     dword ptr [rax+rax+00h]                                        ; +0x1db, 0x1402d783b\ninc     r8; Size                                                       ; +0x1e0, 0x1402d7840\ncmp     byte ptr [rax+r8], 0                                           ; +0x1e3, 0x1402d7843\njnz     short loc_1402D7840                                            ; +0x1e8, 0x1402d7848\nmov     rdx, rax; Src                                                  ; +0x1ea, 0x1402d784a\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x1ed, 0x1402d784d\ncall    sub_14003CCE0                                                  ; +0x1f1, 0x1402d7851\njmp     loc_1402D7A1D                                                  ; +0x1f6, 0x1402d7856\nlea     rcx, aI_11; \"%i\"                                               ; +0x1fb, 0x1402d785b\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x202, 0x1402d7862\nmov     rcx, rax                                                       ; +0x208, 0x1402d7868\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x20b, 0x1402d786b\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x211, 0x1402d7871\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x218, 0x1402d7878\ninc     r8; Size                                                       ; +0x220, 0x1402d7880\ncmp     byte ptr [rax+r8], 0                                           ; +0x223, 0x1402d7883\njnz     short loc_1402D7880                                            ; +0x228, 0x1402d7888\nmov     rdx, rax; Src                                                  ; +0x22a, 0x1402d788a\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x22d, 0x1402d788d\ncall    sub_14003CCE0                                                  ; +0x231, 0x1402d7891\njmp     loc_1402D7A1D                                                  ; +0x236, 0x1402d7896\ncmp     edx, 0E38h                                                     ; +0x23b, 0x1402d789b\njnz     short loc_1402D78EF                                            ; +0x241, 0x1402d78a1\nmov     r8d, [rdi+5CCh]                                                ; +0x243, 0x1402d78a3\nmov     edx, r9d                                                       ; +0x24a, 0x1402d78aa\nlea     rcx, aII_2; \"%i\\n%i\"                                           ; +0x24d, 0x1402d78ad\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x254, 0x1402d78b4\nmov     rcx, rax                                                       ; +0x25a, 0x1402d78ba\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x25d, 0x1402d78bd\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x263, 0x1402d78c3\nnop     word ptr [rax+rax+00h]                                         ; +0x26a, 0x1402d78ca\ninc     r8; Size                                                       ; +0x270, 0x1402d78d0\ncmp     byte ptr [rax+r8], 0                                           ; +0x273, 0x1402d78d3\njnz     short loc_1402D78D0                                            ; +0x278, 0x1402d78d8\nmov     rdx, rax; Src                                                  ; +0x27a, 0x1402d78da\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x27d, 0x1402d78dd\ncall    sub_14003CCE0                                                  ; +0x281, 0x1402d78e1\nxorps   xmm8, xmm8                                                     ; +0x286, 0x1402d78e6\njmp     loc_1402D7A1D                                                  ; +0x28a, 0x1402d78ea\ncmp     edx, 778h                                                      ; +0x28f, 0x1402d78ef\njnz     short loc_1402D793B                                            ; +0x295, 0x1402d78f5\nmov     r8d, [rdi+5CCh]                                                ; +0x297, 0x1402d78f7\nmov     edx, r9d                                                       ; +0x29e, 0x1402d78fe\nlea     rcx, aII_0; \"%i/%i\"                                            ; +0x2a1, 0x1402d7901\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2a8, 0x1402d7908\nmov     rcx, rax                                                       ; +0x2ae, 0x1402d790e\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2b1, 0x1402d7911\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x2b7, 0x1402d7917\nxchg    ax, ax                                                         ; +0x2be, 0x1402d791e\ninc     r8; Size                                                       ; +0x2c0, 0x1402d7920\ncmp     byte ptr [rax+r8], 0                                           ; +0x2c3, 0x1402d7923\njnz     short loc_1402D7920                                            ; +0x2c8, 0x1402d7928\nmov     rdx, rax; Src                                                  ; +0x2ca, 0x1402d792a\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x2cd, 0x1402d792d\ncall    sub_14003CCE0                                                  ; +0x2d1, 0x1402d7931\njmp     loc_1402D7A1D                                                  ; +0x2d6, 0x1402d7936\ncmp     r8d, 3E8h                                                      ; +0x2db, 0x1402d793b\njl      short loc_1402D798B                                            ; +0x2e2, 0x1402d7942\ncmp     edx, 383h                                                      ; +0x2e4, 0x1402d7944\njz      short loc_1402D795D                                            ; +0x2ea, 0x1402d794a\ncmp     edx, 3EEh                                                      ; +0x2ec, 0x1402d794c\njnz     short loc_1402D798B                                            ; +0x2f2, 0x1402d7952\ncmp     dword ptr [rdi+658h], 0                                        ; +0x2f4, 0x1402d7954\njnz     short loc_1402D798B                                            ; +0x2fb, 0x1402d795b\nmov     ecx, r8d                                                       ; +0x2fd, 0x1402d795d\ncall    GJSpecialColorSelect__textForColorIdx                          ; +0x300, 0x1402d7960\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x305, 0x1402d7965\nnop     dword ptr [rax+00h]                                            ; +0x30c, 0x1402d796c\ninc     r8; Size                                                       ; +0x310, 0x1402d7970\ncmp     byte ptr [rax+r8], 0                                           ; +0x313, 0x1402d7973\njnz     short loc_1402D7970                                            ; +0x318, 0x1402d7978\nmov     rdx, rax; Src                                                  ; +0x31a, 0x1402d797a\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x31d, 0x1402d797d\ncall    sub_14003CCE0                                                  ; +0x321, 0x1402d7981\njmp     loc_1402D7A1D                                                  ; +0x326, 0x1402d7986\nmov     edx, r8d                                                       ; +0x32b, 0x1402d798b\nlea     rcx, [rbp+57h+var_58]                                          ; +0x32e, 0x1402d798e\ncall    GameToolbox__intToString                                       ; +0x332, 0x1402d7992\nmov     rbx, rax                                                       ; +0x337, 0x1402d7997\nlea     rax, [rbp+57h+Block]                                           ; +0x33a, 0x1402d799a\ncmp     rax, rbx                                                       ; +0x33e, 0x1402d799e\njz      short loc_1402D7A14                                            ; +0x341, 0x1402d79a1\nmov     rdx, qword ptr [rbp+57h+var_68+8]                              ; +0x343, 0x1402d79a3\ncmp     rdx, 0Fh                                                       ; +0x347, 0x1402d79a7\njbe     short loc_1402D79E1                                            ; +0x34b, 0x1402d79ab\ninc     rdx                                                            ; +0x34d, 0x1402d79ad\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x350, 0x1402d79b0\nmov     rax, rcx                                                       ; +0x354, 0x1402d79b4\ncmp     rdx, 1000h                                                     ; +0x357, 0x1402d79b7\njb      short loc_1402D79DC                                            ; +0x35e, 0x1402d79be\nadd     rdx, 27h ; '''                                                 ; +0x360, 0x1402d79c0\nmov     rcx, [rcx-8]                                                   ; +0x364, 0x1402d79c4\nsub     rax, rcx                                                       ; +0x368, 0x1402d79c8\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x36b, 0x1402d79cb\ncmp     rax, 1Fh                                                       ; +0x36f, 0x1402d79cf\njbe     short loc_1402D79DC                                            ; +0x373, 0x1402d79d3\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x375, 0x1402d79d5\nalign 4                                                                ; +0x37b, 0x1402d79db\ncall    j_j_free                                                       ; +0x37c, 0x1402d79dc\nmovdqa  xmm0, cs:xmmword_140623F30                                     ; +0x381, 0x1402d79e1\nmovdqu  [rbp+57h+var_68], xmm0                                         ; +0x389, 0x1402d79e9\nmov     byte ptr [rbp+57h+Block], 0                                    ; +0x38e, 0x1402d79ee\nmovups  xmm0, xmmword ptr [rbx]                                        ; +0x392, 0x1402d79f2\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x395, 0x1402d79f5\nmovups  xmm1, xmmword ptr [rbx+10h]                                    ; +0x399, 0x1402d79f9\nmovups  [rbp+57h+var_68], xmm1                                         ; +0x39d, 0x1402d79fd\nmov     qword ptr [rbx+10h], 0                                         ; +0x3a1, 0x1402d7a01\nmov     qword ptr [rbx+18h], 0Fh                                       ; +0x3a9, 0x1402d7a09\nmov     byte ptr [rbx], 0                                              ; +0x3b1, 0x1402d7a11\nlea     rcx, [rbp+57h+var_58]                                          ; +0x3b4, 0x1402d7a14\ncall    sub_14003A830                                                  ; +0x3b8, 0x1402d7a18\nmov     rax, [rdi]                                                     ; +0x3bd, 0x1402d7a1d\nmov     rcx, rdi                                                       ; +0x3c0, 0x1402d7a20\ncall    qword ptr [rax+600h]                                           ; +0x3c3, 0x1402d7a23\nmov     rsi, rax                                                       ; +0x3c9, 0x1402d7a29\nmovss   xmm7, cs:dword_140622B08                                       ; +0x3cc, 0x1402d7a2c\ntest    rax, rax                                                       ; +0x3d4, 0x1402d7a34\njnz     short loc_1402D7A8C                                            ; +0x3d7, 0x1402d7a37\nlea     rcx, [rbp+57h+Block]                                           ; +0x3d9, 0x1402d7a39\ncmp     qword ptr [rbp+57h+var_68+8], 0Fh                              ; +0x3dd, 0x1402d7a3d\ncmova   rcx, [rbp+57h+Block]                                           ; +0x3e2, 0x1402d7a42\nlea     rdx, qword_14052A4D8                                           ; +0x3e7, 0x1402d7a47\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x3ee, 0x1402d7a4e\nmov     rsi, rax                                                       ; +0x3f4, 0x1402d7a54\nmov     rax, [rax]                                                     ; +0x3f7, 0x1402d7a57\nmovaps  xmm1, xmm7                                                     ; +0x3fa, 0x1402d7a5a\nmov     rcx, rsi                                                       ; +0x3fd, 0x1402d7a5d\ncall    qword ptr [rax+0A0h]                                           ; +0x400, 0x1402d7a60\nmov     rax, [rdi]                                                     ; +0x406, 0x1402d7a66\nmov     r8d, 1                                                         ; +0x409, 0x1402d7a69\nmov     rdx, rsi                                                       ; +0x40f, 0x1402d7a6f\nmov     rcx, rdi                                                       ; +0x412, 0x1402d7a72\ncall    qword ptr [rax+1B8h]                                           ; +0x415, 0x1402d7a75\nmov     rax, [rdi]                                                     ; +0x41b, 0x1402d7a7b\nmov     rdx, rsi                                                       ; +0x41e, 0x1402d7a7e\nmov     rcx, rdi                                                       ; +0x421, 0x1402d7a81\ncall    qword ptr [rax+608h]                                           ; +0x424, 0x1402d7a84\njmp     short loc_1402D7AA6                                            ; +0x42a, 0x1402d7a8a\nlea     rdx, [rbp+57h+Block]                                           ; +0x42c, 0x1402d7a8c\ncmp     qword ptr [rbp+57h+var_68+8], 0Fh                              ; +0x430, 0x1402d7a90\ncmova   rdx, [rbp+57h+Block]                                           ; +0x435, 0x1402d7a95\nlea     rcx, [rax+168h]                                                ; +0x43a, 0x1402d7a9a\nmov     rax, [rcx]                                                     ; +0x441, 0x1402d7aa1\ncall    qword ptr [rax]                                                ; +0x444, 0x1402d7aa4\nmov     rbx, [rsi]                                                     ; +0x446, 0x1402d7aa6\nmov     rax, [rdi]                                                     ; +0x449, 0x1402d7aa9\nmov     rcx, rdi                                                       ; +0x44c, 0x1402d7aac\ncall    qword ptr [rax+130h]                                           ; +0x44f, 0x1402d7aaf\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x455, 0x1402d7ab5\nmov     rax, [rdi]                                                     ; +0x45a, 0x1402d7aba\nmov     rcx, rdi                                                       ; +0x45d, 0x1402d7abd\ncall    qword ptr [rax+130h]                                           ; +0x460, 0x1402d7ac0\nmulss   xmm6, xmm7                                                     ; +0x466, 0x1402d7ac6\naddss   xmm6, xmm8                                                     ; +0x46a, 0x1402d7aca\nmovss   xmm1, dword ptr [rax]                                          ; +0x46f, 0x1402d7acf\nmulss   xmm1, xmm7                                                     ; +0x473, 0x1402d7ad3\nmovaps  xmm2, xmm6                                                     ; +0x477, 0x1402d7ad7\nlea     rcx, [rbp+57h+var_80]                                          ; +0x47a, 0x1402d7ada\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x47e, 0x1402d7ade\nmov     rdx, rax                                                       ; +0x484, 0x1402d7ae4\nmov     rcx, rsi                                                       ; +0x487, 0x1402d7ae7\ncall    qword ptr [rbx+0B8h]                                           ; +0x48a, 0x1402d7aea\nxorps   xmm3, xmm3                                                     ; +0x490, 0x1402d7af0\nmovaps  xmm2, xmm7                                                     ; +0x493, 0x1402d7af3\nmovss   xmm1, cs:dword_140623164                                       ; +0x496, 0x1402d7af6\nmov     rcx, rsi                                                       ; +0x49e, 0x1402d7afe\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x4a1, 0x1402d7b01\nnop                                                                    ; +0x4a7, 0x1402d7b07\nlea     rcx, [rbp+57h+Block]                                           ; +0x4a8, 0x1402d7b08\ncall    sub_14003A830                                                  ; +0x4ac, 0x1402d7b0c\nmov     rcx, [rbp+57h+var_38]; jumptable 00000001402D7768 default case, cases 1813,1818-1911 ; +0x4b1, 0x1402d7b11\nxor     rcx, rsp; StackCookie                                          ; +0x4b5, 0x1402d7b15\ncall    __security_check_cookie                                        ; +0x4b8, 0x1402d7b18\nlea     r11, [rsp+0A0h+var_s0]                                         ; +0x4bd, 0x1402d7b1d\nmov     rbx, [r11+18h]                                                 ; +0x4c5, 0x1402d7b25\nmov     rsi, [r11+20h]                                                 ; +0x4c9, 0x1402d7b29\nmov     rdi, [r11+28h]                                                 ; +0x4cd, 0x1402d7b2d\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x4d1, 0x1402d7b31\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x4d6, 0x1402d7b36\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x4db, 0x1402d7b3b\nmov     rsp, r11                                                       ; +0x4e0, 0x1402d7b40\npop     rbp                                                            ; +0x4e3, 0x1402d7b43\nretn                                                                   ; +0x4e4, 0x1402d7b44\nalign 8                                                                ; +0x4e5, 0x1402d7b45\ndd offset loc_1402D779F - 140000000h; jump table for switch statement  ; +0x4e8, 0x1402d7b48\ndb      0,     1,     0,     0; indirect table for switch statement    ; +0x4f0, 0x1402d7b50", "xrefs": ["CollisionBlockPopup::updateEditorLabel @ 0x14008b9ae", "EditorUI::dynamicGroupUpdate @ 0x140118f6e", "LevelEditorLayer::addSpecial @ 0x1402d7c7f", "SetupTriggerPopup::updateEditorLabel @ 0x14047555e", "<???> @ 0x1406d3104"], "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"}