{"type": "func", "start": 4295156336, "end": 4295157566, "name": "EditorUI::updateCreateMenu", "pseudocode": "// \n// EditorUI::updateCreateMenu from 0x10002e270 to 0x10002e73e (1230 bytes)\n// \n// 6 xrefs:\n// > EditorUI::setupCreateMenu @ 0x10002a526\n// > EditorUI::resetUI @ 0x10002a696\n// > EditorUI::clickOnPosition @ 0x10002db48\n// > EditorUI::orderUpCustomItem @ 0x1000315ca\n// > EditorUI::orderDownCustomItem @ 0x100031687\n// > EditorUI::onCreateButton @ 0x1000347f2\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 __fastcall EditorUI::updateCreateMenu(EditorUI *a1, bool a2)\n{\n  bool v3; // zf\n  EditButtonBar *m_createButtonBar; // rdi\n  void (__cdecl *setVisible)(cocos2d::CCNode *__hidden, bool); // rax\n  cocos2d::CCArray *m_createButtonArray; // r15\n  unsigned int i; // r12d\n  int *v8; // r14\n  __int64 v9; // rax\n  __int64 v10; // rbx\n  __int64 v11; // rdi\n  __int64 v12; // r14\n  int v13; // eax\n  cocos2d::CCArray *m_customObjectButtonArray; // r15\n  unsigned int j; // r12d\n  int *v16; // r13\n  __int64 v17; // rax\n  __int64 v18; // rbx\n  __int64 v19; // rdi\n  __int64 v20; // r13\n  int v21; // eax\n  cocos2d::CCArray *v22; // r14\n  unsigned int v23; // ebx\n  _DWORD *v24; // rax\n  cocos2d::CCArray *v25; // r14\n  unsigned int v26; // ebx\n  _DWORD *v27; // rbx\n  __int64 v28; // rax\n  __int64 v29; // r14\n  __int64 v30; // rdi\n  _DWORD *v31; // rax\n  __int64 v32; // r14\n  _DWORD *v33; // rbx\n  EditorUI *v34; // [rsp+0h] [rbp-40h]\n  __int16 v35; // [rsp+10h] [rbp-30h] BYREF\n  char v36; // [rsp+12h] [rbp-2Eh]\n  __int16 v37; // [rsp+14h] [rbp-2Ch] BYREF\n  char v38; // [rsp+16h] [rbp-2Ah]\n\n  v3 = a1->m_selectedMode == 2;\n  m_createButtonBar = a1->m_createButtonBar;\n  setVisible = m_createButtonBar->setVisible;\n  if ( !v3 )\n  {\n    ((void (__fastcall *)(EditButtonBar *, _QWORD))setVisible)(m_createButtonBar, 0);\n    ((void (__fastcall *)(cocos2d::CCMenu *, _QWORD))a1->m_tabsMenu->setVisible)(a1->m_tabsMenu, 0);\n    return;\n  }\n  ((void (__fastcall *)(EditButtonBar *, __int64))setVisible)(m_createButtonBar, 1);\n  ((void (__fastcall *)(cocos2d::CCMenu *, __int64))a1->m_tabsMenu->setVisible)(a1->m_tabsMenu, 1);\n  v34 = a1;\n  m_createButtonArray = a1->m_createButtonArray;\n  if ( (unsigned int)sub_100720070(m_createButtonArray) )\n  {\n    for ( i = 0; i < (unsigned int)sub_100720070(m_createButtonArray); ++i )\n    {\n      v8 = (int *)sub_1007200C0(m_createButtonArray, i);\n      v9 = (*(__int64 (__fastcall **)(int *))(*(_QWORD *)v8 + 1056LL))(v8);\n      v10 = v9;\n      v11 = *(_QWORD *)(v9 + 640);\n      if ( v11 || (v11 = *(_QWORD *)(v9 + 648)) != 0 )\n        (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v11 + 944LL))(v11, &unk_100815540);\n      if ( v8[132] < 0 )\n        continue;\n      v12 = *(_QWORD *)(v10 + 632);\n      v38 = -1;\n      v37 = -1;\n      if ( *(_DWORD *)(v12 + 1248) == 1 && GameObject::isColorObject((GameObject *)v12) && *(_BYTE *)(v12 + 1768) == 1 )\n      {\n        v38 = -1;\n        v37 = -14136;\n        goto LABEL_5;\n      }\n      v13 = *(_DWORD *)(v12 + 1028);\n      if ( v13 > 1583 )\n      {\n        if ( v13 != 2012 && v13 != 1584 )\n        {\nLABEL_21:\n          if ( GameObject::getMainColorMode((GameObject *)v12) != 1010 )\n            goto LABEL_5;\n        }\n      }\n      else if ( (unsigned int)(v13 - 918) >= 2 && (unsigned int)(v13 - 1327) >= 2 )\n      {\n        goto LABEL_21;\n      }\n      v38 = 0;\n      v37 = 0;\nLABEL_5:\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v12 + 1480LL))(v12, &v37);\n      v36 = -1;\n      v35 = -14136;\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v12 + 1080LL))(v12, &v35);\n    }\n  }\n  m_customObjectButtonArray = v34->m_customObjectButtonArray;\n  if ( (unsigned int)sub_100720070(m_customObjectButtonArray) )\n  {\n    for ( j = 0; j < (unsigned int)sub_100720070(m_customObjectButtonArray); ++j )\n    {\n      v16 = (int *)sub_1007200C0(m_customObjectButtonArray, j);\n      v17 = (*(__int64 (__fastcall **)(int *))(*(_QWORD *)v16 + 1056LL))(v16);\n      v18 = v17;\n      v19 = *(_QWORD *)(v17 + 640);\n      if ( v19 || (v19 = *(_QWORD *)(v17 + 648)) != 0 )\n        (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v19 + 944LL))(v19, &unk_100815540);\n      if ( v16[132] < 0 )\n        continue;\n      v20 = *(_QWORD *)(v18 + 632);\n      v38 = -1;\n      v37 = -1;\n      if ( *(_DWORD *)(v20 + 1248) == 1 && GameObject::isColorObject((GameObject *)v20) && *(_BYTE *)(v20 + 1768) )\n      {\n        v38 = -1;\n        v37 = -14136;\n        goto LABEL_27;\n      }\n      v21 = *(_DWORD *)(v20 + 1028);\n      if ( v21 > 1583 )\n      {\n        if ( v21 != 2012 && v21 != 1584 )\n        {\nLABEL_43:\n          if ( GameObject::getMainColorMode((GameObject *)v20) != 1010 )\n            goto LABEL_27;\n        }\n      }\n      else if ( (unsigned int)(v21 - 918) >= 2 && (unsigned int)(v21 - 1327) >= 2 )\n      {\n        goto LABEL_43;\n      }\n      v38 = 0;\n      v37 = 0;\nLABEL_27:\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v20 + 1480LL))(v20, &v37);\n      v36 = -1;\n      v35 = -14136;\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v20 + 1080LL))(v20, &v35);\n    }\n  }\n  v22 = v34->m_createButtonArray;\n  if ( (unsigned int)sub_100720070(v22) )\n  {\n    v23 = 0;\n    while ( 1 )\n    {\n      v24 = (_DWORD *)sub_1007200C0(v22, v23);\n      if ( v24[132] == v34->m_selectedObjectIndex )\n        break;\n      if ( ++v23 >= (unsigned int)sub_100720070(v22) )\n        goto LABEL_49;\n    }\n  }\n  else\n  {\nLABEL_49:\n    v25 = v34->m_customObjectButtonArray;\n    if ( !(unsigned int)sub_100720070(v25) )\n      return;\n    v26 = 0;\n    while ( 1 )\n    {\n      v24 = (_DWORD *)sub_1007200C0(v25, v26);\n      if ( v24[132] == v34->m_selectedObjectIndex )\n        break;\n      if ( ++v26 >= (unsigned int)sub_100720070(v25) )\n        return;\n    }\n  }\n  v27 = v24;\n  v28 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v24 + 1056LL))(v24);\n  v29 = v28;\n  v30 = *(_QWORD *)(v28 + 640);\n  if ( v30 || (v30 = *(_QWORD *)(v28 + 648)) != 0 )\n  {\n    v38 = 127;\n    v37 = 32639;\n    (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v30 + 944LL))(v30, &v37);\n  }\n  v31 = v27;\n  if ( (int)v27[132] >= 0 )\n  {\n    v32 = *(_QWORD *)(v29 + 632);\n    v38 = 127;\n    v37 = 32639;\n    v36 = 127;\n    v35 = 25700;\n    if ( *(_DWORD *)(v32 + 1248) == 1 && GameObject::isColorObject((GameObject *)v32) && *(_BYTE *)(v32 + 1768) == 1 )\n    {\n      v38 = v36;\n      v37 = v35;\n    }\n    (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v32 + 1480LL))(v32, &v37);\n    (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v32 + 1080LL))(v32, &v35);\n    v31 = v27;\n  }\n  if ( a2 )\n  {\n    v33 = v31;\n    EditorUI::selectBuildTab(v34, v31[134]);\n    EditButtonBar::goToPage(v34->m_createButtonBar, v33[133]);\n  }\n}", "assembly": "; \n; EditorUI::updateCreateMenu from 0x10002e270 to 0x10002e73e (1230 bytes)\n; \n; 6 xrefs:\n; > EditorUI::setupCreateMenu @ 0x10002a526\n; > EditorUI::resetUI @ 0x10002a696\n; > EditorUI::clickOnPosition @ 0x10002db48\n; > EditorUI::orderUpCustomItem @ 0x1000315ca\n; > EditorUI::orderDownCustomItem @ 0x100031687\n; > EditorUI::onCreateButton @ 0x1000347f2\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\npush    rbp                                                            ; +0x0, 0x10002e270\nmov     rbp, rsp                                                       ; +0x1, 0x10002e271\npush    r15                                                            ; +0x4, 0x10002e274\npush    r14                                                            ; +0x6, 0x10002e276\npush    r13                                                            ; +0x8, 0x10002e278\npush    r12                                                            ; +0xa, 0x10002e27a\npush    rbx                                                            ; +0xc, 0x10002e27c\nsub     rsp, 18h                                                       ; +0xd, 0x10002e27d\nmov     rbx, rdi                                                       ; +0x11, 0x10002e281\ncmp     dword ptr [rdi+4E0h], 2                                        ; +0x14, 0x10002e284\nmov     rdi, [rdi+2E0h]                                                ; +0x1b, 0x10002e28b\nmov     rax, [rdi]                                                     ; +0x22, 0x10002e292\nmov     rax, [rax+148h]                                                ; +0x25, 0x10002e295\njnz     loc_10002E42B                                                  ; +0x2c, 0x10002e29c\nmov     [rbp+var_34], esi                                              ; +0x32, 0x10002e2a2\nmov     esi, 1                                                         ; +0x35, 0x10002e2a5\ncall    rax                                                            ; +0x3a, 0x10002e2aa\nmov     rdi, [rbx+430h]                                                ; +0x3c, 0x10002e2ac\nmov     rax, [rdi]                                                     ; +0x43, 0x10002e2b3\nmov     esi, 1                                                         ; +0x46, 0x10002e2b6\ncall    qword ptr [rax+148h]                                           ; +0x4b, 0x10002e2bb\nmov     [rbp+var_40], rbx                                              ; +0x51, 0x10002e2c1\nmov     r15, [rbx+4C8h]                                                ; +0x55, 0x10002e2c5\nmov     rdi, r15                                                       ; +0x5c, 0x10002e2cc\ncall    sub_100720070                                                  ; +0x5f, 0x10002e2cf\ntest    eax, eax                                                       ; +0x64, 0x10002e2d4\njz      loc_10002E452                                                  ; +0x66, 0x10002e2d6\nxor     r12d, r12d                                                     ; +0x6c, 0x10002e2dc\nlea     r13, unk_100815540                                             ; +0x6f, 0x10002e2df\njmp     short loc_10002E338                                            ; +0x76, 0x10002e2e6\nalign 10h                                                              ; +0x78, 0x10002e2e8\nmov     [rbp+var_2A], 0                                                ; +0x80, 0x10002e2f0\nmov     [rbp+var_2C], 0                                                ; +0x84, 0x10002e2f4\nmov     rax, [r14]                                                     ; +0x8a, 0x10002e2fa\nmov     rdi, r14                                                       ; +0x8d, 0x10002e2fd\nlea     rsi, [rbp+var_2C]                                              ; +0x90, 0x10002e300\ncall    qword ptr [rax+5C8h]                                           ; +0x94, 0x10002e304\nmov     [rbp+var_2E], 0FFh                                             ; +0x9a, 0x10002e30a\nmov     [rbp+var_30], 0C8C8h                                           ; +0x9e, 0x10002e30e\nmov     rax, [r14]                                                     ; +0xa4, 0x10002e314\nmov     rdi, r14                                                       ; +0xa7, 0x10002e317\nlea     rsi, [rbp+var_30]                                              ; +0xaa, 0x10002e31a\ncall    qword ptr [rax+438h]                                           ; +0xae, 0x10002e31e\ninc     r12d                                                           ; +0xb4, 0x10002e324\nmov     rdi, r15                                                       ; +0xb7, 0x10002e327\ncall    sub_100720070                                                  ; +0xba, 0x10002e32a\ncmp     r12d, eax                                                      ; +0xbf, 0x10002e32f\njnb     loc_10002E452                                                  ; +0xc2, 0x10002e332\nmov     rdi, r15                                                       ; +0xc8, 0x10002e338\nmov     esi, r12d                                                      ; +0xcb, 0x10002e33b\ncall    sub_1007200C0                                                  ; +0xce, 0x10002e33e\nmov     r14, rax                                                       ; +0xd3, 0x10002e343\nmov     rax, [rax]                                                     ; +0xd6, 0x10002e346\nmov     rdi, r14                                                       ; +0xd9, 0x10002e349\ncall    qword ptr [rax+420h]                                           ; +0xdc, 0x10002e34c\nmov     rbx, rax                                                       ; +0xe2, 0x10002e352\nmov     rdi, [rax+280h]                                                ; +0xe5, 0x10002e355\ntest    rdi, rdi                                                       ; +0xec, 0x10002e35c\njnz     short loc_10002E36D                                            ; +0xef, 0x10002e35f\nmov     rdi, [rbx+288h]                                                ; +0xf1, 0x10002e361\ntest    rdi, rdi                                                       ; +0xf8, 0x10002e368\njz      short loc_10002E379                                            ; +0xfb, 0x10002e36b\nmov     rax, [rdi]                                                     ; +0xfd, 0x10002e36d\nmov     rsi, r13                                                       ; +0x100, 0x10002e370\ncall    qword ptr [rax+3B0h]                                           ; +0x103, 0x10002e373\ncmp     dword ptr [r14+210h], 0                                        ; +0x109, 0x10002e379\njs      short loc_10002E324                                            ; +0x111, 0x10002e381\nmov     r14, [rbx+278h]                                                ; +0x113, 0x10002e383\nmov     [rbp+var_2A], 0FFh                                             ; +0x11a, 0x10002e38a\nmov     [rbp+var_2C], 0FFFFh                                           ; +0x11e, 0x10002e38e\ncmp     dword ptr [r14+4E0h], 1                                        ; +0x124, 0x10002e394\njnz     short loc_10002E3D0                                            ; +0x12c, 0x10002e39c\nmov     rdi, r14                                                       ; +0x12e, 0x10002e39e\ncall    GameObject__isColorObject                                      ; +0x131, 0x10002e3a1\ntest    al, al                                                         ; +0x136, 0x10002e3a6\njz      short loc_10002E3D0                                            ; +0x138, 0x10002e3a8\ncmp     byte ptr [r14+6E8h], 1                                         ; +0x13a, 0x10002e3aa\njnz     short loc_10002E3D0                                            ; +0x142, 0x10002e3b2\nmov     [rbp+var_2A], 0FFh                                             ; +0x144, 0x10002e3b4\nmov     [rbp+var_2C], 0C8C8h                                           ; +0x148, 0x10002e3b8\njmp     loc_10002E2FA                                                  ; +0x14e, 0x10002e3be\nalign 10h                                                              ; +0x153, 0x10002e3c3\nmov     eax, [r14+404h]                                                ; +0x160, 0x10002e3d0\ncmp     eax, 62Fh                                                      ; +0x167, 0x10002e3d7\njg      short loc_10002E3FD                                            ; +0x16c, 0x10002e3dc\nlea     ecx, [rax-396h]                                                ; +0x16e, 0x10002e3de\ncmp     ecx, 2                                                         ; +0x174, 0x10002e3e4\njb      loc_10002E2F0                                                  ; +0x177, 0x10002e3e7\nadd     eax, 0FFFFFAD1h                                                ; +0x17d, 0x10002e3ed\ncmp     eax, 2                                                         ; +0x182, 0x10002e3f2\njb      loc_10002E2F0                                                  ; +0x185, 0x10002e3f5\njmp     short loc_10002E413                                            ; +0x18b, 0x10002e3fb\ncmp     eax, 7DCh                                                      ; +0x18d, 0x10002e3fd\njz      loc_10002E2F0                                                  ; +0x192, 0x10002e402\ncmp     eax, 630h                                                      ; +0x198, 0x10002e408\njz      loc_10002E2F0                                                  ; +0x19d, 0x10002e40d\nmov     rdi, r14                                                       ; +0x1a3, 0x10002e413\ncall    GameObject__getMainColorMode                                   ; +0x1a6, 0x10002e416\ncmp     eax, 3F2h                                                      ; +0x1ab, 0x10002e41b\njz      loc_10002E2F0                                                  ; +0x1b0, 0x10002e420\njmp     loc_10002E2FA                                                  ; +0x1b6, 0x10002e426\nxor     esi, esi                                                       ; +0x1bb, 0x10002e42b\ncall    rax                                                            ; +0x1bd, 0x10002e42d\nmov     rdi, [rbx+430h]                                                ; +0x1bf, 0x10002e42f\nmov     rax, [rdi]                                                     ; +0x1c6, 0x10002e436\nmov     rax, [rax+148h]                                                ; +0x1c9, 0x10002e439\nxor     esi, esi                                                       ; +0x1d0, 0x10002e440\nadd     rsp, 18h                                                       ; +0x1d2, 0x10002e442\npop     rbx                                                            ; +0x1d6, 0x10002e446\npop     r12                                                            ; +0x1d7, 0x10002e447\npop     r13                                                            ; +0x1d9, 0x10002e449\npop     r14                                                            ; +0x1db, 0x10002e44b\npop     r15                                                            ; +0x1dd, 0x10002e44d\npop     rbp                                                            ; +0x1df, 0x10002e44f\njmp     rax                                                            ; +0x1e0, 0x10002e450\nmov     rax, [rbp+var_40]                                              ; +0x1e2, 0x10002e452\nmov     r15, [rax+4D0h]                                                ; +0x1e6, 0x10002e456\nmov     rdi, r15                                                       ; +0x1ed, 0x10002e45d\ncall    sub_100720070                                                  ; +0x1f0, 0x10002e460\ntest    eax, eax                                                       ; +0x1f5, 0x10002e465\njz      loc_10002E5BB                                                  ; +0x1f7, 0x10002e467\nxor     r12d, r12d                                                     ; +0x1fd, 0x10002e46d\nlea     r14, unk_100815540                                             ; +0x200, 0x10002e470\njmp     short loc_10002E4CA                                            ; +0x207, 0x10002e477\nalign 20h                                                              ; +0x209, 0x10002e479\nmov     [rbp+var_2A], 0                                                ; +0x210, 0x10002e480\nmov     [rbp+var_2C], 0                                                ; +0x214, 0x10002e484\nmov     rax, [r13+0]                                                   ; +0x21a, 0x10002e48a\nmov     rdi, r13                                                       ; +0x21e, 0x10002e48e\nlea     rsi, [rbp+var_2C]                                              ; +0x221, 0x10002e491\ncall    qword ptr [rax+5C8h]                                           ; +0x225, 0x10002e495\nmov     [rbp+var_2E], 0FFh                                             ; +0x22b, 0x10002e49b\nmov     [rbp+var_30], 0C8C8h                                           ; +0x22f, 0x10002e49f\nmov     rax, [r13+0]                                                   ; +0x235, 0x10002e4a5\nmov     rdi, r13                                                       ; +0x239, 0x10002e4a9\nlea     rsi, [rbp+var_30]                                              ; +0x23c, 0x10002e4ac\ncall    qword ptr [rax+438h]                                           ; +0x240, 0x10002e4b0\ninc     r12d                                                           ; +0x246, 0x10002e4b6\nmov     rdi, r15                                                       ; +0x249, 0x10002e4b9\ncall    sub_100720070                                                  ; +0x24c, 0x10002e4bc\ncmp     r12d, eax                                                      ; +0x251, 0x10002e4c1\njnb     loc_10002E5BB                                                  ; +0x254, 0x10002e4c4\nmov     rdi, r15                                                       ; +0x25a, 0x10002e4ca\nmov     esi, r12d                                                      ; +0x25d, 0x10002e4cd\ncall    sub_1007200C0                                                  ; +0x260, 0x10002e4d0\nmov     r13, rax                                                       ; +0x265, 0x10002e4d5\nmov     rax, [rax]                                                     ; +0x268, 0x10002e4d8\nmov     rdi, r13                                                       ; +0x26b, 0x10002e4db\ncall    qword ptr [rax+420h]                                           ; +0x26e, 0x10002e4de\nmov     rbx, rax                                                       ; +0x274, 0x10002e4e4\nmov     rdi, [rax+280h]                                                ; +0x277, 0x10002e4e7\ntest    rdi, rdi                                                       ; +0x27e, 0x10002e4ee\njnz     short loc_10002E4FF                                            ; +0x281, 0x10002e4f1\nmov     rdi, [rbx+288h]                                                ; +0x283, 0x10002e4f3\ntest    rdi, rdi                                                       ; +0x28a, 0x10002e4fa\njz      short loc_10002E50B                                            ; +0x28d, 0x10002e4fd\nmov     rax, [rdi]                                                     ; +0x28f, 0x10002e4ff\nmov     rsi, r14                                                       ; +0x292, 0x10002e502\ncall    qword ptr [rax+3B0h]                                           ; +0x295, 0x10002e505\ncmp     dword ptr [r13+210h], 0                                        ; +0x29b, 0x10002e50b\njs      short loc_10002E4B6                                            ; +0x2a3, 0x10002e513\nmov     r13, [rbx+278h]                                                ; +0x2a5, 0x10002e515\nmov     [rbp+var_2A], 0FFh                                             ; +0x2ac, 0x10002e51c\nmov     [rbp+var_2C], 0FFFFh                                           ; +0x2b0, 0x10002e520\ncmp     dword ptr [r13+4E0h], 1                                        ; +0x2b6, 0x10002e526\njnz     short loc_10002E560                                            ; +0x2be, 0x10002e52e\nmov     rdi, r13                                                       ; +0x2c0, 0x10002e530\ncall    GameObject__isColorObject                                      ; +0x2c3, 0x10002e533\ntest    al, al                                                         ; +0x2c8, 0x10002e538\njz      short loc_10002E560                                            ; +0x2ca, 0x10002e53a\ncmp     byte ptr [r13+6E8h], 0                                         ; +0x2cc, 0x10002e53c\njz      short loc_10002E560                                            ; +0x2d4, 0x10002e544\nmov     [rbp+var_2A], 0FFh                                             ; +0x2d6, 0x10002e546\nmov     [rbp+var_2C], 0C8C8h                                           ; +0x2da, 0x10002e54a\njmp     loc_10002E48A                                                  ; +0x2e0, 0x10002e550\nalign 20h                                                              ; +0x2e5, 0x10002e555\nmov     eax, [r13+404h]                                                ; +0x2f0, 0x10002e560\ncmp     eax, 62Fh                                                      ; +0x2f7, 0x10002e567\njg      short loc_10002E58D                                            ; +0x2fc, 0x10002e56c\nlea     ecx, [rax-396h]                                                ; +0x2fe, 0x10002e56e\ncmp     ecx, 2                                                         ; +0x304, 0x10002e574\njb      loc_10002E480                                                  ; +0x307, 0x10002e577\nadd     eax, 0FFFFFAD1h                                                ; +0x30d, 0x10002e57d\ncmp     eax, 2                                                         ; +0x312, 0x10002e582\njb      loc_10002E480                                                  ; +0x315, 0x10002e585\njmp     short loc_10002E5A3                                            ; +0x31b, 0x10002e58b\ncmp     eax, 7DCh                                                      ; +0x31d, 0x10002e58d\njz      loc_10002E480                                                  ; +0x322, 0x10002e592\ncmp     eax, 630h                                                      ; +0x328, 0x10002e598\njz      loc_10002E480                                                  ; +0x32d, 0x10002e59d\nmov     rdi, r13                                                       ; +0x333, 0x10002e5a3\ncall    GameObject__getMainColorMode                                   ; +0x336, 0x10002e5a6\ncmp     eax, 3F2h                                                      ; +0x33b, 0x10002e5ab\njz      loc_10002E480                                                  ; +0x340, 0x10002e5b0\njmp     loc_10002E48A                                                  ; +0x346, 0x10002e5b6\nmov     r15, [rbp+var_40]                                              ; +0x34b, 0x10002e5bb\nmov     r14, [r15+4C8h]                                                ; +0x34f, 0x10002e5bf\nmov     rdi, r14                                                       ; +0x356, 0x10002e5c6\ncall    sub_100720070                                                  ; +0x359, 0x10002e5c9\ntest    eax, eax                                                       ; +0x35e, 0x10002e5ce\njz      short loc_10002E607                                            ; +0x360, 0x10002e5d0\nxor     ebx, ebx                                                       ; +0x362, 0x10002e5d2\nnop     word ptr [rax+rax+00000000h]                                   ; +0x364, 0x10002e5d4\nmov     rdi, r14                                                       ; +0x370, 0x10002e5e0\nmov     esi, ebx                                                       ; +0x373, 0x10002e5e3\ncall    sub_1007200C0                                                  ; +0x375, 0x10002e5e5\nmov     ecx, [rax+210h]                                                ; +0x37a, 0x10002e5ea\ncmp     ecx, [r15+4C0h]                                                ; +0x380, 0x10002e5f0\njz      short loc_10002E64C                                            ; +0x387, 0x10002e5f7\ninc     ebx                                                            ; +0x389, 0x10002e5f9\nmov     rdi, r14                                                       ; +0x38b, 0x10002e5fb\ncall    sub_100720070                                                  ; +0x38e, 0x10002e5fe\ncmp     ebx, eax                                                       ; +0x393, 0x10002e603\njb      short loc_10002E5E0                                            ; +0x395, 0x10002e605\nmov     r14, [r15+4D0h]                                                ; +0x397, 0x10002e607\nmov     rdi, r14                                                       ; +0x39e, 0x10002e60e\ncall    sub_100720070                                                  ; +0x3a1, 0x10002e611\ntest    eax, eax                                                       ; +0x3a6, 0x10002e616\njz      loc_10002E72F                                                  ; +0x3a8, 0x10002e618\nxor     ebx, ebx                                                       ; +0x3ae, 0x10002e61e\nmov     rdi, r14                                                       ; +0x3b0, 0x10002e620\nmov     esi, ebx                                                       ; +0x3b3, 0x10002e623\ncall    sub_1007200C0                                                  ; +0x3b5, 0x10002e625\nmov     ecx, [rax+210h]                                                ; +0x3ba, 0x10002e62a\ncmp     ecx, [r15+4C0h]                                                ; +0x3c0, 0x10002e630\njz      short loc_10002E64C                                            ; +0x3c7, 0x10002e637\ninc     ebx                                                            ; +0x3c9, 0x10002e639\nmov     rdi, r14                                                       ; +0x3cb, 0x10002e63b\ncall    sub_100720070                                                  ; +0x3ce, 0x10002e63e\ncmp     ebx, eax                                                       ; +0x3d3, 0x10002e643\njb      short loc_10002E620                                            ; +0x3d5, 0x10002e645\njmp     loc_10002E72F                                                  ; +0x3d7, 0x10002e647\nmov     rcx, [rax]                                                     ; +0x3dc, 0x10002e64c\nmov     rbx, rax                                                       ; +0x3df, 0x10002e64f\nmov     rdi, rax                                                       ; +0x3e2, 0x10002e652\ncall    qword ptr [rcx+420h]                                           ; +0x3e5, 0x10002e655\nmov     r14, rax                                                       ; +0x3eb, 0x10002e65b\nmov     rdi, [rax+280h]                                                ; +0x3ee, 0x10002e65e\ntest    rdi, rdi                                                       ; +0x3f5, 0x10002e665\njnz     short loc_10002E676                                            ; +0x3f8, 0x10002e668\nmov     rdi, [r14+288h]                                                ; +0x3fa, 0x10002e66a\ntest    rdi, rdi                                                       ; +0x401, 0x10002e671\njz      short loc_10002E68D                                            ; +0x404, 0x10002e674\nmov     [rbp+var_2A], 7Fh                                              ; +0x406, 0x10002e676\nmov     [rbp+var_2C], 7F7Fh                                            ; +0x40a, 0x10002e67a\nmov     rax, [rdi]                                                     ; +0x410, 0x10002e680\nlea     rsi, [rbp+var_2C]                                              ; +0x413, 0x10002e683\ncall    qword ptr [rax+3B0h]                                           ; +0x417, 0x10002e687\nmov     rax, rbx                                                       ; +0x41d, 0x10002e68d\ncmp     dword ptr [rbx+210h], 0                                        ; +0x420, 0x10002e690\njs      short loc_10002E706                                            ; +0x427, 0x10002e697\nmov     r14, [r14+278h]                                                ; +0x429, 0x10002e699\nmov     [rbp+var_2A], 7Fh                                              ; +0x430, 0x10002e6a0\nmov     [rbp+var_2C], 7F7Fh                                            ; +0x434, 0x10002e6a4\nmov     [rbp+var_2E], 7Fh                                              ; +0x43a, 0x10002e6aa\nmov     [rbp+var_30], 6464h                                            ; +0x43e, 0x10002e6ae\ncmp     dword ptr [r14+4E0h], 1                                        ; +0x444, 0x10002e6b4\njnz     short loc_10002E6E3                                            ; +0x44c, 0x10002e6bc\nmov     rdi, r14                                                       ; +0x44e, 0x10002e6be\ncall    GameObject__isColorObject                                      ; +0x451, 0x10002e6c1\ntest    al, al                                                         ; +0x456, 0x10002e6c6\njz      short loc_10002E6E3                                            ; +0x458, 0x10002e6c8\ncmp     byte ptr [r14+6E8h], 1                                         ; +0x45a, 0x10002e6ca\njnz     short loc_10002E6E3                                            ; +0x462, 0x10002e6d2\nmovzx   eax, [rbp+var_2E]                                              ; +0x464, 0x10002e6d4\nmov     [rbp+var_2A], al                                               ; +0x468, 0x10002e6d8\nmovzx   eax, [rbp+var_30]                                              ; +0x46b, 0x10002e6db\nmov     [rbp+var_2C], ax                                               ; +0x46f, 0x10002e6df\nmov     rax, [r14]                                                     ; +0x473, 0x10002e6e3\nlea     rsi, [rbp+var_2C]                                              ; +0x476, 0x10002e6e6\nmov     rdi, r14                                                       ; +0x47a, 0x10002e6ea\ncall    qword ptr [rax+5C8h]                                           ; +0x47d, 0x10002e6ed\nmov     rax, [r14]                                                     ; +0x483, 0x10002e6f3\nlea     rsi, [rbp+var_30]                                              ; +0x486, 0x10002e6f6\nmov     rdi, r14                                                       ; +0x48a, 0x10002e6fa\ncall    qword ptr [rax+438h]                                           ; +0x48d, 0x10002e6fd\nmov     rax, rbx                                                       ; +0x493, 0x10002e703\ncmp     byte ptr [rbp+var_34], 0                                       ; +0x496, 0x10002e706\njz      short loc_10002E72F                                            ; +0x49a, 0x10002e70a\nmov     esi, [rax+218h]                                                ; +0x49c, 0x10002e70c\nmov     rdi, r15                                                       ; +0x4a2, 0x10002e712\nmov     rbx, rax                                                       ; +0x4a5, 0x10002e715\ncall    EditorUI__selectBuildTab                                       ; +0x4a8, 0x10002e718\nmov     rdi, [r15+2E0h]                                                ; +0x4ad, 0x10002e71d\nmov     esi, [rbx+214h]                                                ; +0x4b4, 0x10002e724\ncall    EditButtonBar__goToPage                                        ; +0x4ba, 0x10002e72a\nadd     rsp, 18h                                                       ; +0x4bf, 0x10002e72f\npop     rbx                                                            ; +0x4c3, 0x10002e733\npop     r12                                                            ; +0x4c4, 0x10002e734\npop     r13                                                            ; +0x4c6, 0x10002e736\npop     r14                                                            ; +0x4c8, 0x10002e738\npop     r15                                                            ; +0x4ca, 0x10002e73a\npop     rbp                                                            ; +0x4cc, 0x10002e73c\nretn                                                                   ; +0x4cd, 0x10002e73d", "xrefs": ["EditorUI::setupCreateMenu @ 0x10002a526", "EditorUI::resetUI @ 0x10002a696", "EditorUI::clickOnPosition @ 0x10002db48", "EditorUI::orderUpCustomItem @ 0x1000315ca", "EditorUI::orderDownCustomItem @ 0x100031687", "EditorUI::onCreateButton @ 0x1000347f2"], "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"}