{"type": "func", "start": 4301514272, "end": 4301515753, "name": "EditorUI::toggleViewOption", "pseudocode": "// \n// EditorUI::toggleViewOption from 0x10063e620 to 0x10063ebe9 (1481 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060cf22\n// > sub_10063E3C0 @ 0x10063e3dd\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:34:42 +0000\n// \n\nchar __fastcall EditorUI::toggleViewOption(_QWORD *a1, unsigned __int64 a2, __int64 a3)\n{\n  __int64 v3; // r14\n  unsigned __int64 v6; // rdi\n  unsigned __int64 v7; // r8\n  __int64 **v8; // rax\n  __int64 *v9; // r15\n  unsigned __int64 v10; // rdi\n  unsigned __int64 v11; // rax\n  __int64 v12; // rax\n  unsigned int v13; // eax\n  __int64 v14; // rax\n  __int64 v15; // rax\n  std::string::value_type *v16; // r15\n  char *v17; // rax\n  __int64 v18; // r15\n  __int64 v19; // r15\n  __int64 v20; // rax\n  unsigned __int8 GameVariable; // al\n  __int64 v22; // r15\n  __int64 v23; // rax\n  __int64 v24; // r13\n  __int64 v25; // r15\n  __int64 v26; // r12\n  unsigned int v27; // eax\n  const char *v28; // rsi\n  unsigned __int64 v29; // rax\n  __int64 v30; // rcx\n  char v31; // al\n  const std::string::value_type *v32; // rsi\n  const char *data; // r14\n  size_t v34; // rax\n  size_t v35; // r15\n  char *v36; // r12\n  size_t v37; // r13\n  char *v38; // r14\n  float v39; // [rsp+0h] [rbp-A0h] BYREF\n  float v40; // [rsp+8h] [rbp-98h] BYREF\n  __int64 v41; // [rsp+10h] [rbp-90h]\n  std::string v42; // [rsp+18h] [rbp-88h] BYREF\n  __int128 v43; // [rsp+30h] [rbp-70h] BYREF\n  void *v44; // [rsp+40h] [rbp-60h]\n  __int128 __dst; // [rsp+48h] [rbp-58h] BYREF\n  void *v46; // [rsp+58h] [rbp-48h]\n  std::string v47; // [rsp+60h] [rbp-40h] BYREF\n\n  v3 = (unsigned int)a2;\n  if ( ((_DWORD)a2 == 20 || (_DWORD)a2 == 9) && *(_DWORD *)(a1[180] + 1972LL) )\n  {\n    strcpy((char *)&v42, \"(Stop Playtest First.\");\n    EditorUI::showTextAlert((__int64)a1, &v42, 0, 1, 0);\n    if ( (*(_BYTE *)&v42.__r_.__value_.__s.0 & 1) != 0 )\n      operator delete(v42.__r_.__value_.__l.__data_);\n    return 0;\n  }\n  v6 = a1[175];\n  if ( !v6 )\n    goto LABEL_43;\n  a3 = ((v6 - ((v6 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL)\n     + (((v6 - ((v6 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)\n     + ((((v6 - ((v6 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL)\n       + (((v6 - ((v6 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4);\n  v7 = (0x101010101010101LL * (a3 & 0xF0F0F0F0F0F0F0FuLL)) >> 56;\n  if ( v7 > 1 )\n  {\n    a2 = (int)a2;\n    if ( v6 <= (int)a2 )\n    {\n      if ( !((v6 | (int)a2) >> 32) )\n      {\n        a3 = (unsigned int)a2 % (unsigned int)v6;\n        a2 = a3;\n        v8 = *(__int64 ***)(a1[174] + 8 * a3);\n        if ( !v8 )\n          goto LABEL_43;\n        goto LABEL_15;\n      }\n      a3 = (int)a2 % v6;\n      a2 = a3;\n    }\n    v8 = *(__int64 ***)(a1[174] + 8 * a2);\n    if ( !v8 )\n      goto LABEL_43;\n  }\n  else\n  {\n    a2 = (int)a2 & (v6 - 1);\n    v8 = *(__int64 ***)(a1[174] + 8 * a2);\n    if ( !v8 )\n      goto LABEL_43;\n  }\nLABEL_15:\n  v9 = *v8;\n  if ( !*v8 )\n    goto LABEL_43;\n  if ( (unsigned int)v7 < 2 )\n  {\n    v10 = v6 - 1;\n    while ( 1 )\n    {\n      v12 = v9[1];\n      if ( v12 == (int)v3 )\n      {\n        if ( *((_DWORD *)v9 + 4) == (_DWORD)v3 )\n          goto LABEL_33;\n      }\n      else if ( (v10 & v12) != a2 )\n      {\n        goto LABEL_43;\n      }\n      v9 = (__int64 *)*v9;\n      if ( !v9 )\n        goto LABEL_43;\n    }\n  }\n  while ( 1 )\n  {\n    v11 = v9[1];\n    if ( v11 == (int)v3 )\n      break;\n    if ( v11 < v6 )\n      goto LABEL_24;\n    if ( (v6 | v11) >> 32 )\n    {\n      a3 = v11 % v6;\n      v11 %= v6;\nLABEL_24:\n      if ( v11 != a2 )\n        goto LABEL_43;\n      goto LABEL_19;\n    }\n    a3 = (unsigned int)v11 % (unsigned int)v6;\n    if ( a3 != a2 )\n      goto LABEL_43;\nLABEL_19:\n    v9 = (__int64 *)*v9;\n    if ( !v9 )\n      goto LABEL_43;\n  }\n  if ( *((_DWORD *)v9 + 4) != (_DWORD)v3 )\n    goto LABEL_19;\nLABEL_33:\n  v13 = *((unsigned __int8 *)v9 + 24);\n  if ( (v13 & 1) != 0 )\n    v14 = v9[4];\n  else\n    v14 = v13 >> 1;\n  if ( v14 )\n  {\n    v15 = GameManager::sharedState();\n    if ( (v9[3] & 1) != 0 )\n      v16 = (std::string::value_type *)v9[5];\n    else\n      v16 = (char *)v9 + 25;\n    a2 = (unsigned __int64)v16;\n    GameManager::toggleGameVariable(v15, v16);\n  }\nLABEL_43:\n  v41 = v3;\n  switch ( (int)v3 )\n  {\n    case 4:\n      EditorUI::toggleObjectInfoLabel((__int64)a1, a2, a3);\n      break;\n    case 5:\n      v19 = a1[180];\n      v20 = GameManager::sharedState();\n      GameVariable = GameManager::getGameVariable(v20, \"0037\");\n      a2 = GameVariable;\n      LevelEditorLayer::toggleGround(v19, GameVariable);\n      break;\n    case 7:\n      LevelEditorLayer::updatePreviewParticles(a1[180], a2, a3);\n      break;\n    case 8:\n      LevelEditorLayer::updatePreviewAnim(a1[180], a2, a3);\n      break;\n    case 9:\n      LevelEditorLayer::updateEditorMode(a1[180], a2, a3);\n      break;\n    case 14:\n      v18 = GameManager::sharedState();\n      *(_BYTE *)(v18 + 921) = *(_BYTE *)(GameManager::sharedState() + 921) ^ 1;\n      break;\n    case 15:\n      v22 = GameManager::sharedState();\n      *(_BYTE *)(v22 + 922) = *(_BYTE *)(GameManager::sharedState() + 922) ^ 1;\n      break;\n    case 17:\n      sub_1000BD650(a1[180], a2);\n      break;\n    case 18:\n      sub_1000BD670(a1[180], a2);\n      break;\n    case 19:\n      sub_1000BD690(a1[180]);\n      break;\n    case 20:\n      *(_BYTE *)(a1[180] + 14938LL) = 1;\n      break;\n    case 21:\n      v17 = &byte_100BE7AC0;\n      goto LABEL_50;\n    case 22:\n      v17 = &byte_100BE7AC1;\nLABEL_50:\n      *v17 ^= 1u;\n      break;\n    default:\n      break;\n  }\n  LevelEditorLayer::updateOptions(a1[180], a2, a3);\n  v23 = a1[172];\n  if ( v23 )\n  {\n    v24 = *(_QWORD *)(v23 + 56);\n    while ( v24 )\n    {\n      v25 = *(_QWORD *)(v24 + 264);\n      v24 = *(_QWORD *)(v24 + 288);\n      v26 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 1072LL))(v25);\n      v27 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 64LL))(v25);\n      v28 = \"GJ_button_04.png\";\n      if ( sub_10063E3F0((__int64)a1, v27) )\n        v28 = \"GJ_button_03.png\";\n      ButtonSprite::updateBGImage(v26, (__int64)v28);\n    }\n  }\n  *(_WORD *)&v47.__r_.__value_.__l.0 = 0;\n  v29 = (unsigned int)(v41 + 16);\n  if ( (unsigned int)v29 < 0x27 )\n  {\n    v30 = 0x7EFFFE0001LL;\n    if ( _bittest64(&v30, v29) )\n      std::string::assign(\n        &v47,\n        (const std::string::value_type *)&unk_100A0D9E4 + *((int *)&unk_100A0D9E4 + (unsigned int)v29));\n  }\n  v31 = *(_BYTE *)&v47.__r_.__value_.__s.0 & 1;\n  if ( (*(_BYTE *)&v47.__r_.__value_.__s.0 & 1) != 0 )\n  {\n    if ( !v47.__r_.__value_.__l.__size_ )\n      goto LABEL_88;\n  }\n  else if ( !(*(_BYTE *)&v47.__r_.__value_.__l.0 >> 1) )\n  {\n    goto LABEL_88;\n  }\n  v32 = \"Off\";\n  if ( sub_10063E3F0((__int64)a1, (unsigned int)v41) )\n    v32 = \"On\";\n  std::string::append(&v47, v32);\n  if ( (*(_BYTE *)&v47.__r_.__value_.__s.0 & 1) != 0 )\n    data = v47.__r_.__value_.__l.__data_;\n  else\n    data = v47.__r_.__value_.__s.__data_;\n  v34 = strlen(data);\n  if ( v34 >= 0xFFFFFFFFFFFFFFF8LL )\n    sub_100003630();\n  v35 = v34;\n  if ( v34 >= 0x17 )\n  {\n    v37 = 26;\n    if ( (v34 | 7) != 0x17 )\n      v37 = (v34 | 7) + 1;\n    v36 = (char *)operator new(v37);\n    v46 = v36;\n    *(_QWORD *)&__dst = v37 | 1;\n    *((_QWORD *)&__dst + 1) = v35;\n  }\n  else\n  {\n    LOBYTE(__dst) = 2 * v34;\n    v36 = (char *)&__dst + 1;\n    if ( !v34 )\n      goto LABEL_83;\n  }\n  memmove(v36, data, v35);\nLABEL_83:\n  v36[v35] = 0;\n  LOBYTE(v43) = 24;\n  strcpy((char *)&v43 + 1, \"chatFont.fnt\");\n  v38 = TextAlertPopup::create(&__dst, 0x64u, &v43, 0.60000002, 0.60000002);\n  if ( (v43 & 1) != 0 )\n    operator delete(v44);\n  if ( (__dst & 1) != 0 )\n    operator delete(v46);\n  TextAlertPopup::setLabelColor((__int64)v38, 65280);\n  sub_100278250(&v39, 0.0, 1.0);\n  sub_100278250(&v40, 20.0, -20.0);\n  TextAlertPopup::setAlertPosition((__int64)v38, &v39, &v40);\n  (*(void (__fastcall **)(_QWORD *, char *, __int64))(*a1 + 464LL))(a1, v38, 100);\n  v31 = *(_BYTE *)&v47.__r_.__value_.__s.0 & 1;\nLABEL_88:\n  if ( v31 )\n    operator delete(v47.__r_.__value_.__l.__data_);\n  return 1;\n}", "assembly": "; \n; EditorUI::toggleViewOption from 0x10063e620 to 0x10063ebe9 (1481 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060cf22\n; > sub_10063E3C0 @ 0x10063e3dd\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:34:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x10063e620\nmov     rbp, rsp                                                       ; +0x1, 0x10063e621\npush    r15                                                            ; +0x4, 0x10063e624\npush    r14                                                            ; +0x6, 0x10063e626\npush    r13                                                            ; +0x8, 0x10063e628\npush    r12                                                            ; +0xa, 0x10063e62a\npush    rbx                                                            ; +0xc, 0x10063e62c\nsub     rsp, 78h                                                       ; +0xd, 0x10063e62d\nmov     r14d, esi                                                      ; +0x11, 0x10063e631\nmov     rbx, rdi                                                       ; +0x14, 0x10063e634\ncmp     esi, 14h                                                       ; +0x17, 0x10063e637\njz      short loc_10063E642                                            ; +0x1a, 0x10063e63a\ncmp     r14d, 9                                                        ; +0x1c, 0x10063e63c\njnz     short loc_10063E6A4                                            ; +0x20, 0x10063e640\nmov     rax, [rbx+5A0h]                                                ; +0x22, 0x10063e642\ncmp     dword ptr [rax+7B4h], 0                                        ; +0x29, 0x10063e649\njz      short loc_10063E6A4                                            ; +0x30, 0x10063e650\nmov     [rbp+var_88], 28h ; '('                                        ; +0x32, 0x10063e652\nmovups  xmm0, xmmword ptr cs:aStopPlaytestFi; \"Stop Playtest First.\"   ; +0x39, 0x10063e659\nmovups  xmmword ptr [rbp+var_88+1], xmm0                               ; +0x40, 0x10063e660\nmov     dword ptr [rbp+var_88+11h], 2E747372h                          ; +0x47, 0x10063e667\nmov     [rbp+var_88+15h], 0                                            ; +0x4e, 0x10063e66e\nlea     rsi, [rbp+var_88]                                              ; +0x52, 0x10063e672\nmov     rdi, rbx                                                       ; +0x59, 0x10063e679\nxor     edx, edx                                                       ; +0x5c, 0x10063e67c\nmov     ecx, 1                                                         ; +0x5e, 0x10063e67e\nxor     r8d, r8d                                                       ; +0x63, 0x10063e683\ncall    EditorUI__showTextAlert                                        ; +0x66, 0x10063e686\ntest    [rbp+var_88], 1                                                ; +0x6b, 0x10063e68b\njz      short loc_10063E69D                                            ; +0x72, 0x10063e692\nmov     rdi, qword ptr [rbp+var_88+10h]; __p                           ; +0x74, 0x10063e694\ncall    __ZdlPv; operator delete(void *)                               ; +0x78, 0x10063e698\nxor     eax, eax                                                       ; +0x7d, 0x10063e69d\njmp     loc_10063EBD5                                                  ; +0x7f, 0x10063e69f\nmov     rdi, [rbx+578h]                                                ; +0x84, 0x10063e6a4\ntest    rdi, rdi                                                       ; +0x8b, 0x10063e6ab\njz      loc_10063E857                                                  ; +0x8e, 0x10063e6ae\nmovsxd  rcx, r14d                                                      ; +0x94, 0x10063e6b4\nmov     rax, rdi                                                       ; +0x97, 0x10063e6b7\nshr     rax, 1                                                         ; +0x9a, 0x10063e6ba\nmov     rdx, 5555555555555555h                                         ; +0x9d, 0x10063e6bd\nand     rdx, rax                                                       ; +0xa7, 0x10063e6c7\nmov     rax, rdi                                                       ; +0xaa, 0x10063e6ca\nsub     rax, rdx                                                       ; +0xad, 0x10063e6cd\nmov     rdx, 3333333333333333h                                         ; +0xb0, 0x10063e6d0\nmov     rsi, rax                                                       ; +0xba, 0x10063e6da\nand     rsi, rdx                                                       ; +0xbd, 0x10063e6dd\nshr     rax, 2                                                         ; +0xc0, 0x10063e6e0\nand     rax, rdx                                                       ; +0xc4, 0x10063e6e4\nadd     rax, rsi                                                       ; +0xc7, 0x10063e6e7\nmov     rdx, rax                                                       ; +0xca, 0x10063e6ea\nshr     rdx, 4                                                         ; +0xcd, 0x10063e6ed\nadd     rdx, rax                                                       ; +0xd1, 0x10063e6f1\nmov     rax, 0F0F0F0F0F0F0F0Fh                                         ; +0xd4, 0x10063e6f4\nand     rax, rdx                                                       ; +0xde, 0x10063e6fe\nmov     r8, 101010101010101h                                           ; +0xe1, 0x10063e701\nimul    r8, rax                                                        ; +0xeb, 0x10063e70b\nshr     r8, 38h                                                        ; +0xef, 0x10063e70f\ncmp     r8, 1                                                          ; +0xf3, 0x10063e713\nja      short loc_10063E735                                            ; +0xf7, 0x10063e717\nlea     rsi, [rdi-1]                                                   ; +0xf9, 0x10063e719\nand     rsi, rcx                                                       ; +0xfd, 0x10063e71d\nmov     rax, [rbx+570h]                                                ; +0x100, 0x10063e720\nmov     rax, [rax+rsi*8]                                               ; +0x107, 0x10063e727\ntest    rax, rax                                                       ; +0x10b, 0x10063e72b\njnz     short loc_10063E76C                                            ; +0x10e, 0x10063e72e\njmp     loc_10063E857                                                  ; +0x110, 0x10063e730\nmov     rsi, rcx                                                       ; +0x115, 0x10063e735\ncmp     rdi, rcx                                                       ; +0x118, 0x10063e738\nja      short loc_10063E758                                            ; +0x11b, 0x10063e73b\nmov     rax, rcx                                                       ; +0x11d, 0x10063e73d\nor      rax, rdi                                                       ; +0x120, 0x10063e740\nshr     rax, 20h                                                       ; +0x123, 0x10063e743\njz      loc_10063E80E                                                  ; +0x127, 0x10063e747\nmov     rax, rcx                                                       ; +0x12d, 0x10063e74d\nxor     edx, edx                                                       ; +0x130, 0x10063e750\ndiv     rdi                                                            ; +0x132, 0x10063e752\nmov     rsi, rdx                                                       ; +0x135, 0x10063e755\nmov     rax, [rbx+570h]                                                ; +0x138, 0x10063e758\nmov     rax, [rax+rsi*8]                                               ; +0x13f, 0x10063e75f\ntest    rax, rax                                                       ; +0x143, 0x10063e763\njz      loc_10063E857                                                  ; +0x146, 0x10063e766\nmov     r15, [rax]                                                     ; +0x14c, 0x10063e76c\ntest    r15, r15                                                       ; +0x14f, 0x10063e76f\njz      loc_10063E857                                                  ; +0x152, 0x10063e772\ncmp     r8d, 2                                                         ; +0x158, 0x10063e778\njnb     short loc_10063E7A2                                            ; +0x15c, 0x10063e77c\ndec     rdi                                                            ; +0x15e, 0x10063e77e\njmp     short loc_10063E7EE                                            ; +0x161, 0x10063e781\nalign 10h                                                              ; +0x163, 0x10063e783\ncmp     [r15+10h], r14d                                                ; +0x170, 0x10063e790\njz      short loc_10063E801                                            ; +0x174, 0x10063e794\nmov     r15, [r15]                                                     ; +0x176, 0x10063e796\ntest    r15, r15                                                       ; +0x179, 0x10063e799\njz      loc_10063E857                                                  ; +0x17c, 0x10063e79c\nmov     rax, [r15+8]                                                   ; +0x182, 0x10063e7a2\ncmp     rax, rcx                                                       ; +0x186, 0x10063e7a6\njz      short loc_10063E790                                            ; +0x189, 0x10063e7a9\ncmp     rax, rdi                                                       ; +0x18b, 0x10063e7ab\njb      short loc_10063E7C4                                            ; +0x18e, 0x10063e7ae\nmov     rdx, rax                                                       ; +0x190, 0x10063e7b0\nor      rdx, rdi                                                       ; +0x193, 0x10063e7b3\nshr     rdx, 20h                                                       ; +0x196, 0x10063e7b6\njz      short loc_10063E7CE                                            ; +0x19a, 0x10063e7ba\nxor     edx, edx                                                       ; +0x19c, 0x10063e7bc\ndiv     rdi                                                            ; +0x19e, 0x10063e7be\nmov     rax, rdx                                                       ; +0x1a1, 0x10063e7c1\ncmp     rax, rsi                                                       ; +0x1a4, 0x10063e7c4\njz      short loc_10063E796                                            ; +0x1a7, 0x10063e7c7\njmp     loc_10063E857                                                  ; +0x1a9, 0x10063e7c9\nxor     edx, edx                                                       ; +0x1ae, 0x10063e7ce\ndiv     edi                                                            ; +0x1b0, 0x10063e7d0\nmov     eax, edx                                                       ; +0x1b2, 0x10063e7d2\ncmp     rax, rsi                                                       ; +0x1b4, 0x10063e7d4\njz      short loc_10063E796                                            ; +0x1b7, 0x10063e7d7\njmp     short loc_10063E857                                            ; +0x1b9, 0x10063e7d9\nalign 20h                                                              ; +0x1bb, 0x10063e7db\ncmp     [r15+10h], r14d                                                ; +0x1c0, 0x10063e7e0\njz      short loc_10063E801                                            ; +0x1c4, 0x10063e7e4\nmov     r15, [r15]                                                     ; +0x1c6, 0x10063e7e6\ntest    r15, r15                                                       ; +0x1c9, 0x10063e7e9\njz      short loc_10063E857                                            ; +0x1cc, 0x10063e7ec\nmov     rax, [r15+8]                                                   ; +0x1ce, 0x10063e7ee\ncmp     rax, rcx                                                       ; +0x1d2, 0x10063e7f2\njz      short loc_10063E7E0                                            ; +0x1d5, 0x10063e7f5\nand     rax, rdi                                                       ; +0x1d7, 0x10063e7f7\ncmp     rax, rsi                                                       ; +0x1da, 0x10063e7fa\njz      short loc_10063E7E6                                            ; +0x1dd, 0x10063e7fd\njmp     short loc_10063E857                                            ; +0x1df, 0x10063e7ff\nmovzx   eax, byte ptr [r15+18h]                                        ; +0x1e1, 0x10063e801\ntest    al, 1                                                          ; +0x1e6, 0x10063e806\njnz     short loc_10063E82D                                            ; +0x1e8, 0x10063e808\nshr     eax, 1                                                         ; +0x1ea, 0x10063e80a\njmp     short loc_10063E831                                            ; +0x1ec, 0x10063e80c\nmov     eax, r14d                                                      ; +0x1ee, 0x10063e80e\nxor     edx, edx                                                       ; +0x1f1, 0x10063e811\ndiv     edi                                                            ; +0x1f3, 0x10063e813\nmov     esi, edx                                                       ; +0x1f5, 0x10063e815\nmov     rax, [rbx+570h]                                                ; +0x1f7, 0x10063e817\nmov     rax, [rax+rsi*8]                                               ; +0x1fe, 0x10063e81e\ntest    rax, rax                                                       ; +0x202, 0x10063e822\njnz     loc_10063E76C                                                  ; +0x205, 0x10063e825\njmp     short loc_10063E857                                            ; +0x20b, 0x10063e82b\nmov     rax, [r15+20h]                                                 ; +0x20d, 0x10063e82d\ntest    rax, rax                                                       ; +0x211, 0x10063e831\njz      short loc_10063E857                                            ; +0x214, 0x10063e834\ncall    GameManager__sharedState                                       ; +0x216, 0x10063e836\ntest    byte ptr [r15+18h], 1                                          ; +0x21b, 0x10063e83b\njnz     short loc_10063E848                                            ; +0x220, 0x10063e840\nadd     r15, 19h                                                       ; +0x222, 0x10063e842\njmp     short loc_10063E84C                                            ; +0x226, 0x10063e846\nmov     r15, [r15+28h]                                                 ; +0x228, 0x10063e848\nmov     rdi, rax                                                       ; +0x22c, 0x10063e84c\nmov     rsi, r15                                                       ; +0x22f, 0x10063e84f\ncall    GameManager__toggleGameVariable                                ; +0x232, 0x10063e852\nmov     [rbp+var_90], r14                                              ; +0x237, 0x10063e857\nlea     eax, [r14-4]; switch 19 cases                                  ; +0x23e, 0x10063e85e\ncmp     eax, 12h                                                       ; +0x242, 0x10063e862\nja      def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x245, 0x10063e865\nlea     rcx, jpt_10063E879                                             ; +0x24b, 0x10063e86b\nmovsxd  rax, (jpt_10063E879 - 10063EC54h)[rcx+rax*4]                   ; +0x252, 0x10063e872\nadd     rax, rcx                                                       ; +0x256, 0x10063e876\njmp     rax; switch jump                                               ; +0x259, 0x10063e879\nmov     rdi, rbx; jumptable 000000010063E879 case 4                    ; +0x25b, 0x10063e87b\ncall    EditorUI__toggleObjectInfoLabel                                ; +0x25e, 0x10063e87e\njmp     def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x263, 0x10063e883\nmov     rax, [rbx+5A0h]; jumptable 000000010063E879 case 20            ; +0x268, 0x10063e888\nmov     byte ptr [rax+3A5Ah], 1                                        ; +0x26f, 0x10063e88f\njmp     def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x276, 0x10063e896\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 case 9             ; +0x27b, 0x10063e89b\ncall    LevelEditorLayer__updateEditorMode                             ; +0x282, 0x10063e8a2\njmp     def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x287, 0x10063e8a7\nlea     rax, byte_100BE7AC1; jumptable 000000010063E879 case 22        ; +0x28c, 0x10063e8ac\njmp     short loc_10063E8DE                                            ; +0x293, 0x10063e8b3\ncall    GameManager__sharedState; jumptable 000000010063E879 case 14   ; +0x295, 0x10063e8b5\nmov     r15, rax                                                       ; +0x29a, 0x10063e8ba\ncall    GameManager__sharedState                                       ; +0x29d, 0x10063e8bd\nmovzx   eax, byte ptr [rax+399h]                                       ; +0x2a2, 0x10063e8c2\nxor     al, 1                                                          ; +0x2a9, 0x10063e8c9\nmov     [r15+399h], al                                                 ; +0x2ab, 0x10063e8cb\njmp     def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x2b2, 0x10063e8d2\nlea     rax, byte_100BE7AC0; jumptable 000000010063E879 case 21        ; +0x2b7, 0x10063e8d7\nxor     byte ptr [rax], 1                                              ; +0x2be, 0x10063e8de\njmp     def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x2c1, 0x10063e8e1\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 case 8             ; +0x2c6, 0x10063e8e6\ncall    LevelEditorLayer__updatePreviewAnim                            ; +0x2cd, 0x10063e8ed\njmp     short def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x2d2, 0x10063e8f2\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 case 7             ; +0x2d4, 0x10063e8f4\ncall    LevelEditorLayer__updatePreviewParticles                       ; +0x2db, 0x10063e8fb\njmp     short def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x2e0, 0x10063e900\nmov     r15, [rbx+5A0h]; jumptable 000000010063E879 case 5             ; +0x2e2, 0x10063e902\ncall    GameManager__sharedState                                       ; +0x2e9, 0x10063e909\nlea     rsi, a0037; \"0037\"                                             ; +0x2ee, 0x10063e90e\nmov     rdi, rax                                                       ; +0x2f5, 0x10063e915\ncall    GameManager__getGameVariable                                   ; +0x2f8, 0x10063e918\nmovzx   esi, al                                                        ; +0x2fd, 0x10063e91d\nmov     rdi, r15                                                       ; +0x300, 0x10063e920\ncall    LevelEditorLayer__toggleGround                                 ; +0x303, 0x10063e923\njmp     short def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x308, 0x10063e928\ncall    GameManager__sharedState; jumptable 000000010063E879 case 15   ; +0x30a, 0x10063e92a\nmov     r15, rax                                                       ; +0x30f, 0x10063e92f\ncall    GameManager__sharedState                                       ; +0x312, 0x10063e932\nmovzx   eax, byte ptr [rax+39Ah]                                       ; +0x317, 0x10063e937\nxor     al, 1                                                          ; +0x31e, 0x10063e93e\nmov     [r15+39Ah], al                                                 ; +0x320, 0x10063e940\njmp     short def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x327, 0x10063e947\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 case 17            ; +0x329, 0x10063e949\ncall    sub_1000BD650                                                  ; +0x330, 0x10063e950\njmp     short def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x335, 0x10063e955\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 case 19            ; +0x337, 0x10063e957\ncall    sub_1000BD690                                                  ; +0x33e, 0x10063e95e\njmp     short def_10063E879; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x343, 0x10063e963\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 case 18            ; +0x345, 0x10063e965\ncall    sub_1000BD670                                                  ; +0x34c, 0x10063e96c\nmov     rdi, [rbx+5A0h]; jumptable 000000010063E879 default case, cases 6,10-13,16 ; +0x351, 0x10063e971\ncall    LevelEditorLayer__updateOptions                                ; +0x358, 0x10063e978\nmov     rax, [rbx+560h]                                                ; +0x35d, 0x10063e97d\ntest    rax, rax                                                       ; +0x364, 0x10063e984\njz      short loc_10063E9ED                                            ; +0x367, 0x10063e987\nmov     r13, [rax+38h]                                                 ; +0x369, 0x10063e989\ntest    r13, r13                                                       ; +0x36d, 0x10063e98d\njz      short loc_10063E9ED                                            ; +0x370, 0x10063e990\nlea     r14, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x372, 0x10063e992\nnop     dword ptr [rax+00000000h]                                      ; +0x379, 0x10063e999\nmov     r15, [r13+108h]                                                ; +0x380, 0x10063e9a0\nmov     r13, [r13+120h]                                                ; +0x387, 0x10063e9a7\nmov     rax, [r15]                                                     ; +0x38e, 0x10063e9ae\nmov     rdi, r15                                                       ; +0x391, 0x10063e9b1\ncall    qword ptr [rax+430h]                                           ; +0x394, 0x10063e9b4\nmov     r12, rax                                                       ; +0x39a, 0x10063e9ba\nmov     rax, [r15]                                                     ; +0x39d, 0x10063e9bd\nmov     rdi, r15                                                       ; +0x3a0, 0x10063e9c0\ncall    qword ptr [rax+40h]                                            ; +0x3a3, 0x10063e9c3\nmov     rdi, rbx                                                       ; +0x3a6, 0x10063e9c6\nmov     esi, eax                                                       ; +0x3a9, 0x10063e9c9\ncall    sub_10063E3F0                                                  ; +0x3ab, 0x10063e9cb\ntest    al, al                                                         ; +0x3b0, 0x10063e9d0\nmov     rsi, r14                                                       ; +0x3b2, 0x10063e9d2\nlea     rax, aGjButton03Png; \"GJ_button_03.png\"                        ; +0x3b5, 0x10063e9d5\ncmovnz  rsi, rax                                                       ; +0x3bc, 0x10063e9dc\nmov     rdi, r12                                                       ; +0x3c0, 0x10063e9e0\ncall    ButtonSprite__updateBGImage                                    ; +0x3c3, 0x10063e9e3\ntest    r13, r13                                                       ; +0x3c8, 0x10063e9e8\njnz     short loc_10063E9A0                                            ; +0x3cb, 0x10063e9eb\nmov     word ptr [rbp+var_40.__r_.__value_], 0                         ; +0x3cd, 0x10063e9ed\nmov     r14, [rbp+var_90]                                              ; +0x3d3, 0x10063e9f3\nlea     eax, [r14+10h]                                                 ; +0x3da, 0x10063e9fa\ncmp     eax, 27h ; '''                                                 ; +0x3de, 0x10063e9fe\njnb     short loc_10063EA2C                                            ; +0x3e1, 0x10063ea01\nmov     rcx, 7EFFFE0001h                                               ; +0x3e3, 0x10063ea03\nbt      rcx, rax                                                       ; +0x3ed, 0x10063ea0d\njnb     short loc_10063EA2C                                            ; +0x3f1, 0x10063ea11\nmov     eax, eax                                                       ; +0x3f3, 0x10063ea13\nlea     rcx, unk_100A0D9E4                                             ; +0x3f5, 0x10063ea15\nmovsxd  rsi, dword ptr [rcx+rax*4]                                     ; +0x3fc, 0x10063ea1c\nadd     rsi, rcx; __s                                                  ; +0x400, 0x10063ea20\nlea     rdi, [rbp+var_40]; this                                        ; +0x403, 0x10063ea23\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x407, 0x10063ea27\nmovzx   ecx, byte ptr [rbp+var_40.__r_.__value_]                       ; +0x40c, 0x10063ea2c\nmov     eax, ecx                                                       ; +0x410, 0x10063ea30\nand     al, 1                                                          ; +0x412, 0x10063ea32\njz      short loc_10063EA44                                            ; +0x414, 0x10063ea34\nmov     rcx, qword ptr [rbp+var_40.__r_.__value_+8]                    ; +0x416, 0x10063ea36\ntest    rcx, rcx                                                       ; +0x41a, 0x10063ea3a\njnz     short loc_10063EA4F                                            ; +0x41d, 0x10063ea3d\njmp     loc_10063EBC6                                                  ; +0x41f, 0x10063ea3f\nshr     ecx, 1                                                         ; +0x424, 0x10063ea44\ntest    rcx, rcx                                                       ; +0x426, 0x10063ea46\njz      loc_10063EBC6                                                  ; +0x429, 0x10063ea49\nmov     rdi, rbx                                                       ; +0x42f, 0x10063ea4f\nmov     esi, r14d                                                      ; +0x432, 0x10063ea52\ncall    sub_10063E3F0                                                  ; +0x435, 0x10063ea55\nlea     rcx, aOn; \"On\"                                                 ; +0x43a, 0x10063ea5a\nlea     rsi, aOff; \"Off\"                                               ; +0x441, 0x10063ea61\ntest    al, al                                                         ; +0x448, 0x10063ea68\ncmovnz  rsi, rcx; __s                                                  ; +0x44a, 0x10063ea6a\nlea     rdi, [rbp+var_40]; this                                        ; +0x44e, 0x10063ea6e\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x452, 0x10063ea72\ntest    byte ptr [rbp+var_40.__r_.__value_], 1                         ; +0x457, 0x10063ea77\njz      short loc_10063EA83                                            ; +0x45b, 0x10063ea7b\nmov     r14, qword ptr [rbp+var_40.__r_.__value_+10h]                  ; +0x45d, 0x10063ea7d\njmp     short loc_10063EA87                                            ; +0x461, 0x10063ea81\nlea     r14, [rbp+var_40.__r_.__value_+1]                              ; +0x463, 0x10063ea83\nmov     rdi, r14; __s                                                  ; +0x467, 0x10063ea87\ncall    _strlen                                                        ; +0x46a, 0x10063ea8a\ncmp     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x46f, 0x10063ea8f\njnb     loc_10063EBE4                                                  ; +0x473, 0x10063ea93\nmov     r15, rax                                                       ; +0x479, 0x10063ea99\ncmp     rax, 17h                                                       ; +0x47c, 0x10063ea9c\njnb     short loc_10063EAB4                                            ; +0x480, 0x10063eaa0\nlea     eax, [r15+r15]                                                 ; +0x482, 0x10063eaa2\nmov     byte ptr [rbp+__dst], al                                       ; +0x486, 0x10063eaa6\nlea     r12, [rbp+__dst+1]                                             ; +0x489, 0x10063eaa9\ntest    r15, r15                                                       ; +0x48d, 0x10063eaad\njnz     short loc_10063EAE8                                            ; +0x490, 0x10063eab0\njmp     short loc_10063EAF6                                            ; +0x492, 0x10063eab2\nmov     rax, r15                                                       ; +0x494, 0x10063eab4\nor      rax, 7                                                         ; +0x497, 0x10063eab7\nlea     rcx, [rax+1]                                                   ; +0x49b, 0x10063eabb\ncmp     rax, 17h                                                       ; +0x49f, 0x10063eabf\nmov     r13d, 1Ah                                                      ; +0x4a3, 0x10063eac3\ncmovnz  r13, rcx                                                       ; +0x4a9, 0x10063eac9\nmov     rdi, r13; __sz                                                 ; +0x4ad, 0x10063eacd\ncall    __Znwm; operator new(ulong)                                    ; +0x4b0, 0x10063ead0\nmov     r12, rax                                                       ; +0x4b5, 0x10063ead5\nmov     [rbp+var_48], rax                                              ; +0x4b8, 0x10063ead8\nor      r13, 1                                                         ; +0x4bc, 0x10063eadc\nmov     [rbp+__dst], r13                                               ; +0x4c0, 0x10063eae0\nmov     [rbp+var_50], r15                                              ; +0x4c4, 0x10063eae4\nmov     rdi, r12; __dst                                                ; +0x4c8, 0x10063eae8\nmov     rsi, r14; __src                                                ; +0x4cb, 0x10063eaeb\nmov     rdx, r15; __len                                                ; +0x4ce, 0x10063eaee\ncall    _memmove                                                       ; +0x4d1, 0x10063eaf1\nmov     byte ptr [r12+r15], 0                                          ; +0x4d6, 0x10063eaf6\nmov     [rbp+var_70], 18h                                              ; +0x4db, 0x10063eafb\nmov     rax, 746E6F4674616863h                                         ; +0x4df, 0x10063eaff\nmov     [rbp+var_6F], rax                                              ; +0x4e9, 0x10063eb09\nmov     dword ptr [rbp-67h], 746E662Eh                                 ; +0x4ed, 0x10063eb0d\nmov     byte ptr [rbp-63h], 0                                          ; +0x4f4, 0x10063eb14\nlea     rdi, [rbp+__dst]                                               ; +0x4f8, 0x10063eb18\nmovss   xmm0, cs:dword_100A037D4                                       ; +0x4fc, 0x10063eb1c\nlea     rdx, [rbp+var_70]                                              ; +0x504, 0x10063eb24\nmovaps  xmm1, xmm0                                                     ; +0x508, 0x10063eb28\nmov     esi, 64h ; 'd'                                                 ; +0x50b, 0x10063eb2b\ncall    TextAlertPopup__create                                         ; +0x510, 0x10063eb30\nmov     r14, rax                                                       ; +0x515, 0x10063eb35\ntest    [rbp+var_70], 1                                                ; +0x518, 0x10063eb38\njz      short loc_10063EB47                                            ; +0x51c, 0x10063eb3c\nmov     rdi, [rbp+var_60]; __p                                         ; +0x51e, 0x10063eb3e\ncall    __ZdlPv; operator delete(void *)                               ; +0x522, 0x10063eb42\ntest    byte ptr [rbp+__dst], 1                                        ; +0x527, 0x10063eb47\njz      short loc_10063EB56                                            ; +0x52b, 0x10063eb4b\nmov     rdi, [rbp+var_48]; __p                                         ; +0x52d, 0x10063eb4d\ncall    __ZdlPv; operator delete(void *)                               ; +0x531, 0x10063eb51\nmov     rdi, r14                                                       ; +0x536, 0x10063eb56\nmov     esi, 0FF00h                                                    ; +0x539, 0x10063eb59\ncall    TextAlertPopup__setLabelColor                                  ; +0x53e, 0x10063eb5e\nlea     rdi, [rbp+var_A0]                                              ; +0x543, 0x10063eb63\nmovss   xmm1, cs:alpha                                                 ; +0x54a, 0x10063eb6a\nxorps   xmm0, xmm0                                                     ; +0x552, 0x10063eb72\ncall    sub_100278250                                                  ; +0x555, 0x10063eb75\nlea     rdi, [rbp+var_98]                                              ; +0x55a, 0x10063eb7a\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x561, 0x10063eb81\nmovss   xmm1, cs:dword_100A03598                                       ; +0x569, 0x10063eb89\ncall    sub_100278250                                                  ; +0x571, 0x10063eb91\nlea     rsi, [rbp+var_A0]                                              ; +0x576, 0x10063eb96\nlea     rdx, [rbp+var_98]                                              ; +0x57d, 0x10063eb9d\nmov     rdi, r14                                                       ; +0x584, 0x10063eba4\ncall    TextAlertPopup__setAlertPosition                               ; +0x587, 0x10063eba7\nmov     rax, [rbx]                                                     ; +0x58c, 0x10063ebac\nmov     rdi, rbx                                                       ; +0x58f, 0x10063ebaf\nmov     rsi, r14                                                       ; +0x592, 0x10063ebb2\nmov     edx, 64h ; 'd'                                                 ; +0x595, 0x10063ebb5\ncall    qword ptr [rax+1D0h]                                           ; +0x59a, 0x10063ebba\nmovzx   eax, byte ptr [rbp+var_40.__r_.__value_]                       ; +0x5a0, 0x10063ebc0\nand     al, 1                                                          ; +0x5a4, 0x10063ebc4\ntest    al, al                                                         ; +0x5a6, 0x10063ebc6\njz      short loc_10063EBD3                                            ; +0x5a8, 0x10063ebc8\nmov     rdi, qword ptr [rbp+var_40.__r_.__value_+10h]; __p             ; +0x5aa, 0x10063ebca\ncall    __ZdlPv; operator delete(void *)                               ; +0x5ae, 0x10063ebce\nmov     al, 1                                                          ; +0x5b3, 0x10063ebd3\nadd     rsp, 78h                                                       ; +0x5b5, 0x10063ebd5\npop     rbx                                                            ; +0x5b9, 0x10063ebd9\npop     r12                                                            ; +0x5ba, 0x10063ebda\npop     r13                                                            ; +0x5bc, 0x10063ebdc\npop     r14                                                            ; +0x5be, 0x10063ebde\npop     r15                                                            ; +0x5c0, 0x10063ebe0\npop     rbp                                                            ; +0x5c2, 0x10063ebe2\nretn                                                                   ; +0x5c3, 0x10063ebe3\ncall    sub_100003630                                                  ; +0x5c4, 0x10063ebe4", "xrefs": ["EditorUI::handleEditorAction @ 0x10060cf22", "sub_10063E3C0 @ 0x10063e3dd"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}