{"type": "func", "start": 6442589328, "end": 6442591340, "name": "sub_180021C90", "pseudocode": "// \n// sub_180021C90 from 0x180021c90 to 0x18002246c (2012 bytes)\n// \n// 3 xrefs:\n// > sub_180020140 @ 0x180020952\n// > sub_1800250E0 @ 0x18002512d\n// > <???> @ 0x1801f7500\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 10:52:58 +0000\n// \n\n__int64 __fastcall sub_180021C90(_DWORD *a1, char a2, char a3)\n{\n  __int64 v6; // rdx\n  float v7; // xmm0_4\n  unsigned int v8; // r11d\n  char v9; // r9\n  unsigned int v10; // r8d\n  int v11; // r10d\n  char v12; // dl\n  __int64 v14; // r8\n  unsigned int v15; // r10d\n  __int64 v16; // r11\n  int v17; // ebp\n  __int64 v18; // r8\n  unsigned __int8 v19; // r9\n  __int64 v20; // r9\n  __int64 v21; // rdi\n  char v22; // r8\n  int v23; // esi\n  char v24; // dl\n  unsigned int v25; // eax\n  unsigned int v26; // eax\n  unsigned int v27; // eax\n  unsigned int v28; // eax\n  unsigned int v29; // eax\n  unsigned int v30; // eax\n  unsigned int v31; // eax\n  unsigned int v32; // eax\n  char v33; // r9\n  char v34; // dl\n  unsigned int v35; // eax\n  char v36; // r9\n  int v37; // r11d\n  char v38; // dl\n  unsigned int v39; // eax\n  __int64 v40; // rcx\n  unsigned __int8 v41; // dl\n  _BYTE v42[4]; // [rsp+40h] [rbp-148h] BYREF\n  int v43; // [rsp+44h] [rbp-144h] BYREF\n  _BYTE v44[256]; // [rsp+50h] [rbp-138h] BYREF\n\n  if ( !*((_QWORD *)a1 + 1) )\n    return 0;\n  if ( *((_BYTE *)a1 + 36) )\n    return 0;\n  v6 = *(_QWORD *)a1;\n  v7 = *((float *)a1 + 8);\n  if ( v7 > *(float *)(*(_QWORD *)a1 + 15340LL) )\n    return 0;\n  while ( 1 )\n  {\n    if ( !*((_BYTE *)a1 + 28) )\n    {\n      v8 = a1[5];\n      v9 = 0;\n      v10 = a1[4];\n      v11 = 0;\n      if ( v10 < v8 )\n      {\n        while ( v9 != 4 )\n        {\n          ++v9;\n          v12 = *(_BYTE *)(v10 + *((_QWORD *)a1 + 1));\n          v11 = (v12 & 0x7F) + (v11 << 7);\n          a1[4] = ++v10;\n          if ( v12 >= 0 )\n          {\n            v6 = *(_QWORD *)a1;\n            *((_BYTE *)a1 + 28) = 0;\n            v7 = (float)v11 + *((float *)a1 + 8);\n            *((float *)a1 + 8) = v7;\n            goto LABEL_11;\n          }\n          if ( v10 >= v8 )\n            break;\n        }\n      }\nLABEL_9:\n      *((_BYTE *)a1 + 36) = 1;\n      return 16;\n    }\nLABEL_11:\n    if ( v7 > *(float *)(v6 + 15340) )\n      break;\n    v14 = (unsigned int)a1[4];\n    v15 = a1[5];\n    *((_BYTE *)a1 + 28) = 0;\n    if ( (unsigned int)v14 >= v15 )\n      goto LABEL_9;\n    v16 = *((_QWORD *)a1 + 1);\n    v17 = *(unsigned __int8 *)(v14 + v16);\n    v18 = (unsigned int)(v14 + 1);\n    a1[4] = v18;\n    v19 = v17;\n    if ( (unsigned __int8)v17 < 0xF0u )\n    {\n      if ( (unsigned __int8)v17 < 0x80u )\n        LOBYTE(v17) = *((_BYTE *)a1 + 38);\n      v40 = 888LL * (v17 & 0xF);\n      *(_QWORD *)(v6 + v40 + 1088) = a1;\n      v41 = v19;\n      if ( v19 >= 0x80u )\n        v41 = 0;\n      sub_180021100(*(_QWORD *)a1 + 1064LL + v40, v17, v19 < 0x80u, v41, a2, a3);\n      goto LABEL_92;\n    }\n    switch ( v17 )\n    {\n      case 240:\n        v36 = 0;\n        v37 = 0;\n        if ( (unsigned int)v18 < v15 )\n        {\n          while ( v36 != 4 )\n          {\n            ++v36;\n            v38 = *(_BYTE *)((unsigned int)v18 + *((_QWORD *)a1 + 1));\n            v39 = v18 + 1;\n            a1[4] = v18 + 1;\n            v37 = (v38 & 0x7F) + (v37 << 7);\n            if ( v38 >= 0 )\n            {\n              a1[4] = v37 + v39;\n              goto LABEL_92;\n            }\n            LODWORD(v18) = v18 + 1;\n            if ( v39 >= v15 )\n            {\n              *((_BYTE *)a1 + 36) = 1;\n              goto LABEL_92;\n            }\n          }\n        }\n        break;\n      case 247:\n        v33 = 0;\n        if ( (unsigned int)v18 < v15 )\n        {\n          while ( v33 != 4 )\n          {\n            ++v33;\n            v34 = *(_BYTE *)((unsigned int)v18 + *((_QWORD *)a1 + 1));\n            v35 = v18 + 1;\n            a1[4] = v18 + 1;\n            if ( v34 >= 0 )\n              goto LABEL_92;\n            LODWORD(v18) = v18 + 1;\n            if ( v35 >= v15 )\n            {\n              *((_BYTE *)a1 + 36) = 1;\n              goto LABEL_92;\n            }\n          }\n        }\n        break;\n      case 255:\n        if ( (unsigned int)v18 >= v15 )\n        {\n          *((_BYTE *)a1 + 36) = 1;\n          goto LABEL_92;\n        }\n        v20 = *(unsigned __int8 *)(v18 + v16);\n        v21 = (unsigned int)(v18 + 1);\n        v22 = 0;\n        a1[4] = v21;\n        v23 = 0;\n        if ( (unsigned int)v21 < v15 )\n        {\n          while ( v22 != 4 )\n          {\n            ++v22;\n            v24 = *(_BYTE *)(v21 + *((_QWORD *)a1 + 1));\n            v23 = (v24 & 0x7F) + (v23 << 7);\n            v21 = (unsigned int)(v21 + 1);\n            a1[4] = v21;\n            if ( v24 >= 0 )\n            {\n              switch ( v20 )\n              {\n                case 0LL:\n                  if ( !v23 )\n                  {\n                    *(_DWORD *)(*(_QWORD *)a1 + 15276LL) = a1[6];\n                    goto LABEL_92;\n                  }\n                  if ( (unsigned int)v23 <= 4 )\n                  {\n                    if ( (unsigned int)v21 >= v15 )\n                      goto LABEL_49;\n                    if ( (int)v21 + v23 > v15 )\n                      v23 = v15 - v21;\n                    if ( *(_QWORD *)a1 != -15276 )\n                    {\n                      memmove((void *)(*(_QWORD *)a1 + 15276LL), (const void *)(v16 + (unsigned int)v21), v23);\n                      LODWORD(v21) = a1[4];\n                    }\nLABEL_37:\n                    a1[4] = v21 + v23;\n                  }\n                  else\n                  {\n                    if ( (unsigned int)v21 >= v15 )\n                      goto LABEL_49;\n                    if ( (int)v21 + v23 > v15 )\n                      v23 = v15 - v21;\n                    a1[4] = v21 + v23;\n                  }\n                  break;\n                case 1LL:\n                  v43 = (int)*(float *)(*(_QWORD *)a1 + 15348LL);\n                  sub_18001FAD0((__int64)a1, (int)\"Text\", v23, a2);\n                  if ( a2 )\n                    sub_180012590(*(_QWORD *)a1, 7, (int)\"Text (Time Ms)\", (int)&v43, 4, 1, 0);\n                  goto LABEL_92;\n                case 2LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Copyright\", v23, a2);\n                  goto LABEL_92;\n                case 3LL:\n                  sub_1800B7CA0(v44, 256, \"Track %d Name\", a1[6]);\n                  sub_18001FAD0((__int64)a1, (int)v44, v23, a2);\n                  goto LABEL_92;\n                case 4LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Instrument\", v23, a2);\n                  goto LABEL_92;\n                case 5LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Lyric\", v23, a2);\n                  goto LABEL_92;\n                case 6LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Marker\", v23, a2);\n                  goto LABEL_92;\n                case 7LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Cue Point\", v23, a2);\n                  goto LABEL_92;\n                case 8LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Patch Name\", v23, a2);\n                  goto LABEL_92;\n                case 9LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Port Name\", v23, a2);\n                  goto LABEL_92;\n                case 32LL:\n                  if ( (unsigned int)v21 >= v15 )\n                    goto LABEL_49;\n                  goto LABEL_54;\n                case 33LL:\n                  if ( !v23 )\n                    goto LABEL_92;\n                  if ( (unsigned int)v21 < v15 )\n                  {\n                    *((_BYTE *)a1 + 37) = *(_BYTE *)(v21 + v16);\nLABEL_54:\n                    a1[4] = v21 + 1;\n                  }\n                  else\n                  {\n                    *((_BYTE *)a1 + 36) = 1;\n                  }\n                  goto LABEL_92;\n                case 47LL:\n                  goto LABEL_49;\n                case 81LL:\n                  if ( (unsigned int)v21 < v15 )\n                  {\n                    if ( (int)v21 + v23 > v15 )\n                      v23 = v15 - v21;\n                    memmove(v42, (const void *)(v16 + (unsigned int)v21), v23);\n                    a1[4] = v21 + v23;\n                  }\n                  else\n                  {\n                    *((_BYTE *)a1 + 36) = 1;\n                  }\n                  *(_DWORD *)(*(_QWORD *)a1 + 15336LL) = v42[0] << 16;\n                  *(_DWORD *)(*(_QWORD *)a1 + 15336LL) |= v42[1] << 8;\n                  *(_DWORD *)(*(_QWORD *)a1 + 15336LL) |= v42[2];\n                  sub_18001FC20(*(_QWORD *)a1);\n                  goto LABEL_92;\n                case 84LL:\n                  if ( (unsigned int)v21 >= v15 )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15316LL) = *(_BYTE *)(v21 + v16);\n                  v25 = ++a1[4];\n                  if ( v25 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15317LL) = *(_BYTE *)(v25 + *((_QWORD *)a1 + 1));\n                  v26 = ++a1[4];\n                  if ( v26 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15318LL) = *(_BYTE *)(v26 + *((_QWORD *)a1 + 1));\n                  v27 = ++a1[4];\n                  if ( v27 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15319LL) = *(_BYTE *)(v27 + *((_QWORD *)a1 + 1));\n                  v28 = ++a1[4];\n                  if ( v28 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15320LL) = *(_BYTE *)(v28 + *((_QWORD *)a1 + 1));\n                  ++a1[4];\n                  goto LABEL_92;\n                case 88LL:\n                  if ( (unsigned int)v21 >= v15 )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15321LL) = *(_BYTE *)(v21 + v16);\n                  v29 = ++a1[4];\n                  if ( v29 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15322LL) = *(_BYTE *)(v29 + *((_QWORD *)a1 + 1));\n                  v30 = ++a1[4];\n                  if ( v30 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15323LL) = *(_BYTE *)(v30 + *((_QWORD *)a1 + 1));\n                  v31 = ++a1[4];\n                  if ( v31 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15324LL) = *(_BYTE *)(v31 + *((_QWORD *)a1 + 1));\n                  ++a1[4];\n                  goto LABEL_92;\n                case 89LL:\n                  if ( (unsigned int)v21 >= v15 )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15325LL) = *(_BYTE *)(v21 + v16);\n                  v32 = ++a1[4];\n                  if ( v32 >= a1[5] )\n                    goto LABEL_49;\n                  *(_BYTE *)(*(_QWORD *)a1 + 15326LL) = *(_BYTE *)(v32 + *((_QWORD *)a1 + 1));\n                  ++a1[4];\n                  goto LABEL_92;\n                case 127LL:\n                  sub_18001FAD0((__int64)a1, (int)\"Proprietory Data\", v23, a2);\n                  goto LABEL_92;\n                default:\n                  goto LABEL_37;\n              }\n              goto LABEL_92;\n            }\n            if ( (unsigned int)v21 >= v15 )\n            {\n              *((_BYTE *)a1 + 36) = 1;\n              goto LABEL_92;\n            }\n          }\n        }\n        break;\n      default:\n        goto LABEL_92;\n    }\nLABEL_49:\n    *((_BYTE *)a1 + 36) = 1;\nLABEL_92:\n    *((_BYTE *)a1 + 38) = v17;\n    if ( !*((_BYTE *)a1 + 36) )\n    {\n      v6 = *(_QWORD *)a1;\n      v7 = *((float *)a1 + 8);\n      if ( v7 <= *(float *)(*(_QWORD *)a1 + 15340LL) )\n        continue;\n    }\n    return 0;\n  }\n  *((_BYTE *)a1 + 28) = 1;\n  return 0;\n}", "assembly": "; \n; sub_180021C90 from 0x180021c90 to 0x18002246c (2012 bytes)\n; \n; 3 xrefs:\n; > sub_180020140 @ 0x180020952\n; > sub_1800250E0 @ 0x18002512d\n; > <???> @ 0x1801f7500\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 10:52:58 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180021c90\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x180021c95\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x180021c9a\npush    rdi                                                            ; +0xf, 0x180021c9f\npush    r12                                                            ; +0x10, 0x180021ca0\npush    r13                                                            ; +0x12, 0x180021ca2\npush    r14                                                            ; +0x14, 0x180021ca4\npush    r15                                                            ; +0x16, 0x180021ca6\nsub     rsp, 160h                                                      ; +0x18, 0x180021ca8\nmov     rax, cs:__security_cookie                                      ; +0x1f, 0x180021caf\nxor     rax, rsp                                                       ; +0x26, 0x180021cb6\nmov     [rsp+188h+var_38], rax                                         ; +0x29, 0x180021cb9\ncmp     qword ptr [rcx+8], 0                                           ; +0x31, 0x180021cc1\nmovzx   r12d, r8b                                                      ; +0x36, 0x180021cc6\nmovzx   r15d, dl                                                       ; +0x3a, 0x180021cca\nmov     rbx, rcx                                                       ; +0x3e, 0x180021cce\njz      loc_18002236C                                                  ; +0x41, 0x180021cd1\ncmp     byte ptr [rcx+24h], 0                                          ; +0x47, 0x180021cd7\njnz     loc_18002236C                                                  ; +0x4b, 0x180021cdb\nmov     rdx, [rcx]                                                     ; +0x51, 0x180021ce1\nmovss   xmm0, dword ptr [rcx+20h]                                      ; +0x54, 0x180021ce4\ncomiss  xmm0, dword ptr [rdx+3BECh]                                    ; +0x59, 0x180021ce9\nja      loc_18002236C                                                  ; +0x60, 0x180021cf0\nxor     r13d, r13d                                                     ; +0x66, 0x180021cf6\nnop     dword ptr [rax+00000000h]                                      ; +0x69, 0x180021cf9\ncmp     [rbx+1Ch], r13b                                                ; +0x70, 0x180021d00\njnz     short loc_180021D7A                                            ; +0x74, 0x180021d04\nmov     r11d, [rbx+14h]                                                ; +0x76, 0x180021d06\nxor     r9b, r9b                                                       ; +0x7a, 0x180021d0a\nmov     r8d, [rbx+10h]                                                 ; +0x7d, 0x180021d0d\nmov     r10d, r13d                                                     ; +0x81, 0x180021d11\ncmp     r8d, r11d                                                      ; +0x84, 0x180021d14\njnb     short loc_180021D50                                            ; +0x87, 0x180021d17\nnop     dword ptr [rax+00000000h]                                      ; +0x89, 0x180021d19\ncmp     r9b, 4                                                         ; +0x90, 0x180021d20\njz      short loc_180021D50                                            ; +0x94, 0x180021d24\nmov     rax, [rbx+8]                                                   ; +0x96, 0x180021d26\ninc     r9b                                                            ; +0x9a, 0x180021d2a\nmov     ecx, r8d                                                       ; +0x9d, 0x180021d2d\nshl     r10d, 7                                                        ; +0xa0, 0x180021d30\nmovzx   edx, byte ptr [rcx+rax]                                        ; +0xa4, 0x180021d34\nmov     ecx, edx                                                       ; +0xa8, 0x180021d38\nand     ecx, 7Fh                                                       ; +0xaa, 0x180021d3a\nadd     r10d, ecx                                                      ; +0xad, 0x180021d3d\ninc     r8d                                                            ; +0xb0, 0x180021d40\nmov     [rbx+10h], r8d                                                 ; +0xb3, 0x180021d43\ntest    dl, dl                                                         ; +0xb7, 0x180021d47\njns     short loc_180021D5E                                            ; +0xb9, 0x180021d49\ncmp     r8d, r11d                                                      ; +0xbb, 0x180021d4b\njb      short loc_180021D20                                            ; +0xbe, 0x180021d4e\nmov     byte ptr [rbx+24h], 1                                          ; +0xc0, 0x180021d50\nmov     eax, 10h                                                       ; +0xc4, 0x180021d54\njmp     loc_18002236E                                                  ; +0xc9, 0x180021d59\nmov     rdx, [rbx]                                                     ; +0xce, 0x180021d5e\nxorps   xmm0, xmm0                                                     ; +0xd1, 0x180021d61\nmov     eax, r10d                                                      ; +0xd4, 0x180021d64\nmov     [rbx+1Ch], r13b                                                ; +0xd7, 0x180021d67\ncvtsi2ss xmm0, rax                                                     ; +0xdb, 0x180021d6b\naddss   xmm0, dword ptr [rbx+20h]                                      ; +0xe0, 0x180021d70\nmovss   dword ptr [rbx+20h], xmm0                                      ; +0xe5, 0x180021d75\ncomiss  xmm0, dword ptr [rdx+3BECh]                                    ; +0xea, 0x180021d7a\nja      loc_180022368                                                  ; +0xf1, 0x180021d81\nmov     r8d, [rbx+10h]                                                 ; +0xf7, 0x180021d87\nmov     r10d, [rbx+14h]                                                ; +0xfb, 0x180021d8b\nmov     [rbx+1Ch], r13b                                                ; +0xff, 0x180021d8f\ncmp     r8d, r10d                                                      ; +0x103, 0x180021d93\njnb     short loc_180021D50                                            ; +0x106, 0x180021d96\nmov     r11, [rbx+8]                                                   ; +0x108, 0x180021d98\nmovzx   ebp, byte ptr [r8+r11]                                         ; +0x10c, 0x180021d9c\ninc     r8d                                                            ; +0x111, 0x180021da1\nmov     [rbx+10h], r8d                                                 ; +0x114, 0x180021da4\nmov     r9d, ebp                                                       ; +0x118, 0x180021da8\ncmp     bpl, 0F0h                                                      ; +0x11b, 0x180021dab\njb      loc_1800222F5                                                  ; +0x11f, 0x180021daf\nmov     ecx, ebp                                                       ; +0x125, 0x180021db5\nsub     ecx, 0F0h                                                      ; +0x127, 0x180021db7\njz      loc_180022298                                                  ; +0x12d, 0x180021dbd\nsub     ecx, 7                                                         ; +0x133, 0x180021dc3\njz      loc_180022254                                                  ; +0x136, 0x180021dc6\ncmp     ecx, 8                                                         ; +0x13c, 0x180021dcc\njnz     loc_180022347                                                  ; +0x13f, 0x180021dcf\ncmp     r8d, r10d                                                      ; +0x145, 0x180021dd5\njb      short loc_180021DE3                                            ; +0x148, 0x180021dd8\nmov     byte ptr [rbx+24h], 1                                          ; +0x14a, 0x180021dda\njmp     loc_180022347                                                  ; +0x14e, 0x180021dde\nmovzx   r9d, byte ptr [r8+r11]                                         ; +0x153, 0x180021de3\nlea     edi, [r8+1]                                                    ; +0x158, 0x180021de8\nxor     r8b, r8b                                                       ; +0x15c, 0x180021dec\nmov     [rbx+10h], edi                                                 ; +0x15f, 0x180021def\nmov     esi, r13d                                                      ; +0x162, 0x180021df2\ncmp     edi, r10d                                                      ; +0x165, 0x180021df5\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x168, 0x180021df8\nxchg    ax, ax                                                         ; +0x16e, 0x180021dfe\ncmp     r8b, 4                                                         ; +0x170, 0x180021e00\njz      loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x174, 0x180021e04\nmov     rax, [rbx+8]                                                   ; +0x17a, 0x180021e0a\ninc     r8b                                                            ; +0x17e, 0x180021e0e\nshl     esi, 7                                                         ; +0x181, 0x180021e11\nmovzx   edx, byte ptr [rdi+rax]                                        ; +0x184, 0x180021e14\nmov     ecx, edx                                                       ; +0x188, 0x180021e18\nand     ecx, 7Fh                                                       ; +0x18a, 0x180021e1a\nadd     esi, ecx                                                       ; +0x18d, 0x180021e1d\ninc     edi                                                            ; +0x18f, 0x180021e1f\nmov     [rbx+10h], edi                                                 ; +0x191, 0x180021e21\ntest    dl, dl                                                         ; +0x194, 0x180021e24\njns     short loc_180021E36                                            ; +0x196, 0x180021e26\ncmp     edi, r10d                                                      ; +0x198, 0x180021e28\njb      short loc_180021E00                                            ; +0x19b, 0x180021e2b\nmov     byte ptr [rbx+24h], 1                                          ; +0x19d, 0x180021e2d\njmp     loc_180022347                                                  ; +0x1a1, 0x180021e31\ncmp     r9d, 7Fh; switch 128 cases                                     ; +0x1a6, 0x180021e36\nja      def_180021E5A; jumptable 0000000180021E5A default case, cases 10-31,34-46,48-80,82,83,85-87,90-126 ; +0x1aa, 0x180021e3a\nlea     rdx, cs:180000000h                                             ; +0x1b0, 0x180021e40\nmovzx   eax, ds:(byte_1800223EC - 180000000h)[rdx+r9]                  ; +0x1b7, 0x180021e47\nmov     ecx, ds:(jpt_180021E5A - 180000000h)[rdx+rax*4]                ; +0x1c0, 0x180021e50\nadd     rcx, rdx                                                       ; +0x1c7, 0x180021e57\njmp     rcx; switch jump                                               ; +0x1ca, 0x180021e5a\ntest    esi, esi; jumptable 0000000180021E5A case 0                    ; +0x1cc, 0x180021e5c\njnz     short loc_180021E71                                            ; +0x1ce, 0x180021e5e\nmov     rcx, [rbx]                                                     ; +0x1d0, 0x180021e60\nmov     eax, [rbx+18h]                                                 ; +0x1d3, 0x180021e63\nmov     [rcx+3BACh], eax                                               ; +0x1d6, 0x180021e66\njmp     loc_180022347                                                  ; +0x1dc, 0x180021e6c\ncmp     esi, 4                                                         ; +0x1e1, 0x180021e71\njbe     short loc_180021E97                                            ; +0x1e4, 0x180021e74\ncmp     edi, r10d                                                      ; +0x1e6, 0x180021e76\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x1e9, 0x180021e79\nlea     eax, [rdi+rsi]                                                 ; +0x1ef, 0x180021e7f\ncmp     eax, r10d                                                      ; +0x1f2, 0x180021e82\njbe     short loc_180021E8C                                            ; +0x1f5, 0x180021e85\nmov     esi, r10d                                                      ; +0x1f7, 0x180021e87\nsub     esi, edi                                                       ; +0x1fa, 0x180021e8a\nlea     eax, [rdi+rsi]                                                 ; +0x1fc, 0x180021e8c\nmov     [rbx+10h], eax                                                 ; +0x1ff, 0x180021e8f\njmp     loc_180022347                                                  ; +0x202, 0x180021e92\nmov     rcx, [rbx]                                                     ; +0x207, 0x180021e97\nadd     rcx, 3BACh; void *                                             ; +0x20a, 0x180021e9a\ncmp     edi, r10d                                                      ; +0x211, 0x180021ea1\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x214, 0x180021ea4\nlea     eax, [rdi+rsi]                                                 ; +0x21a, 0x180021eaa\ncmp     eax, r10d                                                      ; +0x21d, 0x180021ead\njbe     short loc_180021EB7                                            ; +0x220, 0x180021eb0\nmov     esi, r10d                                                      ; +0x222, 0x180021eb2\nsub     esi, edi                                                       ; +0x225, 0x180021eb5\ntest    rcx, rcx                                                       ; +0x227, 0x180021eb7\njz      short def_180021E5A; jumptable 0000000180021E5A default case, cases 10-31,34-46,48-80,82,83,85-87,90-126 ; +0x22a, 0x180021eba\nmov     edx, edi                                                       ; +0x22c, 0x180021ebc\nadd     rdx, r11; Src                                                  ; +0x22e, 0x180021ebe\nmovsxd  r8, esi; Size                                                  ; +0x231, 0x180021ec1\ncall    memmove                                                        ; +0x234, 0x180021ec4\nmov     edi, [rbx+10h]                                                 ; +0x239, 0x180021ec9\nlea     eax, [rdi+rsi]; jumptable 0000000180021E5A default case, cases 10-31,34-46,48-80,82,83,85-87,90-126 ; +0x23c, 0x180021ecc\nmov     [rbx+10h], eax                                                 ; +0x23f, 0x180021ecf\njmp     loc_180022347                                                  ; +0x242, 0x180021ed2\nmov     rax, [rbx]; jumptable 0000000180021E5A case 1                  ; +0x247, 0x180021ed7\nlea     rdx, aText; \"Text\"                                             ; +0x24a, 0x180021eda\nmovzx   r9d, r15b                                                      ; +0x251, 0x180021ee1\nmov     r8d, esi                                                       ; +0x255, 0x180021ee5\ncvttss2si ecx, dword ptr [rax+3BF4h]                                   ; +0x258, 0x180021ee8\nmov     [rsp+188h+var_144], ecx                                        ; +0x260, 0x180021ef0\nmov     rcx, rbx                                                       ; +0x264, 0x180021ef4\ncall    sub_18001FAD0                                                  ; +0x267, 0x180021ef7\ntest    r15b, r15b                                                     ; +0x26c, 0x180021efc\njz      loc_180022347                                                  ; +0x26f, 0x180021eff\nmov     rcx, [rbx]                                                     ; +0x275, 0x180021f05\nlea     r9, [rsp+188h+var_144]                                         ; +0x278, 0x180021f08\nmov     [rsp+188h+var_158], r13b                                       ; +0x27d, 0x180021f0d\nlea     r8, aTextTimeMs; \"Text (Time Ms)\"                              ; +0x282, 0x180021f12\nmov     [rsp+188h+var_160], 1                                          ; +0x289, 0x180021f19\nmov     edx, 7                                                         ; +0x291, 0x180021f21\nmov     [rsp+188h+var_168], 4                                          ; +0x296, 0x180021f26\ncall    sub_180012590                                                  ; +0x29e, 0x180021f2e\njmp     loc_180022347                                                  ; +0x2a3, 0x180021f33\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 2                   ; +0x2a8, 0x180021f38\nlea     rdx, aCopyright; \"Copyright\"                                   ; +0x2ac, 0x180021f3c\nmov     r8d, esi                                                       ; +0x2b3, 0x180021f43\nmov     rcx, rbx                                                       ; +0x2b6, 0x180021f46\ncall    sub_18001FAD0                                                  ; +0x2b9, 0x180021f49\njmp     loc_180022347                                                  ; +0x2be, 0x180021f4e\nmov     r9d, [rbx+18h]; jumptable 0000000180021E5A case 3              ; +0x2c3, 0x180021f53\nlea     r8, aTrackDName; \"Track %d Name\"                               ; +0x2c7, 0x180021f57\nmov     edx, 100h                                                      ; +0x2ce, 0x180021f5e\nlea     rcx, [rsp+188h+var_138]                                        ; +0x2d3, 0x180021f63\ncall    sub_1800B7CA0                                                  ; +0x2d8, 0x180021f68\nmovzx   r9d, r15b                                                      ; +0x2dd, 0x180021f6d\nlea     rdx, [rsp+188h+var_138]                                        ; +0x2e1, 0x180021f71\nmov     r8d, esi                                                       ; +0x2e6, 0x180021f76\nmov     rcx, rbx                                                       ; +0x2e9, 0x180021f79\ncall    sub_18001FAD0                                                  ; +0x2ec, 0x180021f7c\njmp     loc_180022347                                                  ; +0x2f1, 0x180021f81\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 4                   ; +0x2f6, 0x180021f86\nlea     rdx, aInstrument; \"Instrument\"                                 ; +0x2fa, 0x180021f8a\nmov     r8d, esi                                                       ; +0x301, 0x180021f91\nmov     rcx, rbx                                                       ; +0x304, 0x180021f94\ncall    sub_18001FAD0                                                  ; +0x307, 0x180021f97\njmp     loc_180022347                                                  ; +0x30c, 0x180021f9c\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 5                   ; +0x311, 0x180021fa1\nlea     rdx, aLyric; \"Lyric\"                                           ; +0x315, 0x180021fa5\nmov     r8d, esi                                                       ; +0x31c, 0x180021fac\nmov     rcx, rbx                                                       ; +0x31f, 0x180021faf\ncall    sub_18001FAD0                                                  ; +0x322, 0x180021fb2\njmp     loc_180022347                                                  ; +0x327, 0x180021fb7\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 6                   ; +0x32c, 0x180021fbc\nlea     rdx, aMarker; \"Marker\"                                         ; +0x330, 0x180021fc0\nmov     r8d, esi                                                       ; +0x337, 0x180021fc7\nmov     rcx, rbx                                                       ; +0x33a, 0x180021fca\ncall    sub_18001FAD0                                                  ; +0x33d, 0x180021fcd\njmp     loc_180022347                                                  ; +0x342, 0x180021fd2\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 7                   ; +0x347, 0x180021fd7\nlea     rdx, aCuePoint; \"Cue Point\"                                    ; +0x34b, 0x180021fdb\nmov     r8d, esi                                                       ; +0x352, 0x180021fe2\nmov     rcx, rbx                                                       ; +0x355, 0x180021fe5\ncall    sub_18001FAD0                                                  ; +0x358, 0x180021fe8\njmp     loc_180022347                                                  ; +0x35d, 0x180021fed\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 8                   ; +0x362, 0x180021ff2\nlea     rdx, aPatchName; \"Patch Name\"                                  ; +0x366, 0x180021ff6\nmov     r8d, esi                                                       ; +0x36d, 0x180021ffd\nmov     rcx, rbx                                                       ; +0x370, 0x180022000\ncall    sub_18001FAD0                                                  ; +0x373, 0x180022003\njmp     loc_180022347                                                  ; +0x378, 0x180022008\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 9                   ; +0x37d, 0x18002200d\nlea     rdx, aPortName; \"Port Name\"                                    ; +0x381, 0x180022011\nmov     r8d, esi                                                       ; +0x388, 0x180022018\nmov     rcx, rbx                                                       ; +0x38b, 0x18002201b\ncall    sub_18001FAD0                                                  ; +0x38e, 0x18002201e\njmp     loc_180022347                                                  ; +0x393, 0x180022023\ncmp     edi, r10d; jumptable 0000000180021E5A case 32                  ; +0x398, 0x180022028\njb      short loc_180022054                                            ; +0x39b, 0x18002202b\nmov     byte ptr [rbx+24h], 1; jumptable 0000000180021E5A case 47      ; +0x39d, 0x18002202d\njmp     loc_180022347                                                  ; +0x3a1, 0x180022031\ntest    esi, esi; jumptable 0000000180021E5A case 33                   ; +0x3a6, 0x180022036\njz      loc_180022347                                                  ; +0x3a8, 0x180022038\ncmp     edi, r10d                                                      ; +0x3ae, 0x18002203e\njb      short loc_18002204C                                            ; +0x3b1, 0x180022041\nmov     byte ptr [rbx+24h], 1                                          ; +0x3b3, 0x180022043\njmp     loc_180022347                                                  ; +0x3b7, 0x180022047\nmovzx   ecx, byte ptr [rdi+r11]                                        ; +0x3bc, 0x18002204c\nmov     [rbx+25h], cl                                                  ; +0x3c1, 0x180022051\nlea     eax, [rdi+1]                                                   ; +0x3c4, 0x180022054\nmov     [rbx+10h], eax                                                 ; +0x3c7, 0x180022057\njmp     loc_180022347                                                  ; +0x3ca, 0x18002205a\ncmp     edi, r10d; jumptable 0000000180021E5A case 81                  ; +0x3cf, 0x18002205f\njb      short loc_18002206A                                            ; +0x3d2, 0x180022062\nmov     byte ptr [rbx+24h], 1                                          ; +0x3d4, 0x180022064\njmp     short loc_18002208F                                            ; +0x3d8, 0x180022068\nlea     eax, [rdi+rsi]                                                 ; +0x3da, 0x18002206a\ncmp     eax, r10d                                                      ; +0x3dd, 0x18002206d\njbe     short loc_180022077                                            ; +0x3e0, 0x180022070\nmov     esi, r10d                                                      ; +0x3e2, 0x180022072\nsub     esi, edi                                                       ; +0x3e5, 0x180022075\nmov     edx, edi                                                       ; +0x3e7, 0x180022077\nlea     rcx, [rsp+188h+var_148]; void *                                ; +0x3e9, 0x180022079\nadd     rdx, r11; Src                                                  ; +0x3ee, 0x18002207e\nmovsxd  r8, esi; Size                                                  ; +0x3f1, 0x180022081\ncall    memmove                                                        ; +0x3f4, 0x180022084\nlea     eax, [rdi+rsi]                                                 ; +0x3f9, 0x180022089\nmov     [rbx+10h], eax                                                 ; +0x3fc, 0x18002208c\nmov     rax, [rbx]                                                     ; +0x3ff, 0x18002208f\nmovzx   ecx, [rsp+188h+var_148]                                        ; +0x402, 0x180022092\nshl     ecx, 10h                                                       ; +0x407, 0x180022097\nmov     [rax+3BE8h], ecx                                               ; +0x40a, 0x18002209a\nmov     rcx, [rbx]                                                     ; +0x410, 0x1800220a0\nmovzx   eax, [rsp+188h+var_147]                                        ; +0x413, 0x1800220a3\nshl     eax, 8                                                         ; +0x418, 0x1800220a8\nor      [rcx+3BE8h], eax                                               ; +0x41b, 0x1800220ab\nmov     rcx, [rbx]                                                     ; +0x421, 0x1800220b1\nmovzx   eax, [rsp+188h+var_146]                                        ; +0x424, 0x1800220b4\nor      [rcx+3BE8h], eax                                               ; +0x429, 0x1800220b9\nmov     rcx, [rbx]                                                     ; +0x42f, 0x1800220bf\ncall    sub_18001FC20                                                  ; +0x432, 0x1800220c2\njmp     loc_180022347                                                  ; +0x437, 0x1800220c7\ncmp     edi, r10d; jumptable 0000000180021E5A case 84                  ; +0x43c, 0x1800220cc\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x43f, 0x1800220cf\nmovzx   eax, byte ptr [rdi+r11]                                        ; +0x445, 0x1800220d5\nmov     rcx, [rbx]                                                     ; +0x44a, 0x1800220da\nmov     [rcx+3BD4h], al                                                ; +0x44d, 0x1800220dd\ninc     dword ptr [rbx+10h]                                            ; +0x453, 0x1800220e3\nmov     eax, [rbx+10h]                                                 ; +0x456, 0x1800220e6\ncmp     eax, [rbx+14h]                                                 ; +0x459, 0x1800220e9\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x45c, 0x1800220ec\nmov     rcx, [rbx]                                                     ; +0x462, 0x1800220f2\nmov     edx, eax                                                       ; +0x465, 0x1800220f5\nmov     rax, [rbx+8]                                                   ; +0x467, 0x1800220f7\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x46b, 0x1800220fb\nmov     [rcx+3BD5h], al                                                ; +0x46f, 0x1800220ff\ninc     dword ptr [rbx+10h]                                            ; +0x475, 0x180022105\nmov     eax, [rbx+10h]                                                 ; +0x478, 0x180022108\ncmp     eax, [rbx+14h]                                                 ; +0x47b, 0x18002210b\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x47e, 0x18002210e\nmov     rcx, [rbx]                                                     ; +0x484, 0x180022114\nmov     edx, eax                                                       ; +0x487, 0x180022117\nmov     rax, [rbx+8]                                                   ; +0x489, 0x180022119\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x48d, 0x18002211d\nmov     [rcx+3BD6h], al                                                ; +0x491, 0x180022121\ninc     dword ptr [rbx+10h]                                            ; +0x497, 0x180022127\nmov     eax, [rbx+10h]                                                 ; +0x49a, 0x18002212a\ncmp     eax, [rbx+14h]                                                 ; +0x49d, 0x18002212d\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x4a0, 0x180022130\nmov     rcx, [rbx]                                                     ; +0x4a6, 0x180022136\nmov     edx, eax                                                       ; +0x4a9, 0x180022139\nmov     rax, [rbx+8]                                                   ; +0x4ab, 0x18002213b\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x4af, 0x18002213f\nmov     [rcx+3BD7h], al                                                ; +0x4b3, 0x180022143\ninc     dword ptr [rbx+10h]                                            ; +0x4b9, 0x180022149\nmov     eax, [rbx+10h]                                                 ; +0x4bc, 0x18002214c\ncmp     eax, [rbx+14h]                                                 ; +0x4bf, 0x18002214f\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x4c2, 0x180022152\nmov     rcx, [rbx]                                                     ; +0x4c8, 0x180022158\nmov     edx, eax                                                       ; +0x4cb, 0x18002215b\nmov     rax, [rbx+8]                                                   ; +0x4cd, 0x18002215d\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x4d1, 0x180022161\nmov     [rcx+3BD8h], al                                                ; +0x4d5, 0x180022165\ninc     dword ptr [rbx+10h]                                            ; +0x4db, 0x18002216b\njmp     loc_180022347                                                  ; +0x4de, 0x18002216e\ncmp     edi, r10d; jumptable 0000000180021E5A case 88                  ; +0x4e3, 0x180022173\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x4e6, 0x180022176\nmovzx   eax, byte ptr [rdi+r11]                                        ; +0x4ec, 0x18002217c\nmov     rcx, [rbx]                                                     ; +0x4f1, 0x180022181\nmov     [rcx+3BD9h], al                                                ; +0x4f4, 0x180022184\ninc     dword ptr [rbx+10h]                                            ; +0x4fa, 0x18002218a\nmov     eax, [rbx+10h]                                                 ; +0x4fd, 0x18002218d\ncmp     eax, [rbx+14h]                                                 ; +0x500, 0x180022190\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x503, 0x180022193\nmov     rcx, [rbx]                                                     ; +0x509, 0x180022199\nmov     edx, eax                                                       ; +0x50c, 0x18002219c\nmov     rax, [rbx+8]                                                   ; +0x50e, 0x18002219e\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x512, 0x1800221a2\nmov     [rcx+3BDAh], al                                                ; +0x516, 0x1800221a6\ninc     dword ptr [rbx+10h]                                            ; +0x51c, 0x1800221ac\nmov     eax, [rbx+10h]                                                 ; +0x51f, 0x1800221af\ncmp     eax, [rbx+14h]                                                 ; +0x522, 0x1800221b2\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x525, 0x1800221b5\nmov     rcx, [rbx]                                                     ; +0x52b, 0x1800221bb\nmov     edx, eax                                                       ; +0x52e, 0x1800221be\nmov     rax, [rbx+8]                                                   ; +0x530, 0x1800221c0\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x534, 0x1800221c4\nmov     [rcx+3BDBh], al                                                ; +0x538, 0x1800221c8\ninc     dword ptr [rbx+10h]                                            ; +0x53e, 0x1800221ce\nmov     eax, [rbx+10h]                                                 ; +0x541, 0x1800221d1\ncmp     eax, [rbx+14h]                                                 ; +0x544, 0x1800221d4\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x547, 0x1800221d7\nmov     rcx, [rbx]                                                     ; +0x54d, 0x1800221dd\nmov     edx, eax                                                       ; +0x550, 0x1800221e0\nmov     rax, [rbx+8]                                                   ; +0x552, 0x1800221e2\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x556, 0x1800221e6\nmov     [rcx+3BDCh], al                                                ; +0x55a, 0x1800221ea\ninc     dword ptr [rbx+10h]                                            ; +0x560, 0x1800221f0\njmp     loc_180022347                                                  ; +0x563, 0x1800221f3\ncmp     edi, r10d; jumptable 0000000180021E5A case 89                  ; +0x568, 0x1800221f8\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x56b, 0x1800221fb\nmovzx   eax, byte ptr [rdi+r11]                                        ; +0x571, 0x180022201\nmov     rcx, [rbx]                                                     ; +0x576, 0x180022206\nmov     [rcx+3BDDh], al                                                ; +0x579, 0x180022209\ninc     dword ptr [rbx+10h]                                            ; +0x57f, 0x18002220f\nmov     eax, [rbx+10h]                                                 ; +0x582, 0x180022212\ncmp     eax, [rbx+14h]                                                 ; +0x585, 0x180022215\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x588, 0x180022218\nmov     rcx, [rbx]                                                     ; +0x58e, 0x18002221e\nmov     edx, eax                                                       ; +0x591, 0x180022221\nmov     rax, [rbx+8]                                                   ; +0x593, 0x180022223\nmovzx   eax, byte ptr [rdx+rax]                                        ; +0x597, 0x180022227\nmov     [rcx+3BDEh], al                                                ; +0x59b, 0x18002222b\ninc     dword ptr [rbx+10h]                                            ; +0x5a1, 0x180022231\njmp     loc_180022347                                                  ; +0x5a4, 0x180022234\nmovzx   r9d, r15b; jumptable 0000000180021E5A case 127                 ; +0x5a9, 0x180022239\nlea     rdx, aProprietoryDat; \"Proprietory Data\"                       ; +0x5ad, 0x18002223d\nmov     r8d, esi                                                       ; +0x5b4, 0x180022244\nmov     rcx, rbx                                                       ; +0x5b7, 0x180022247\ncall    sub_18001FAD0                                                  ; +0x5ba, 0x18002224a\njmp     loc_180022347                                                  ; +0x5bf, 0x18002224f\nxor     r9b, r9b                                                       ; +0x5c4, 0x180022254\ncmp     r8d, r10d                                                      ; +0x5c7, 0x180022257\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x5ca, 0x18002225a\ncmp     r9b, 4                                                         ; +0x5d0, 0x180022260\njz      loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x5d4, 0x180022264\nmov     rax, [rbx+8]                                                   ; +0x5da, 0x18002226a\ninc     r9b                                                            ; +0x5de, 0x18002226e\nmov     ecx, r8d                                                       ; +0x5e1, 0x180022271\nmovzx   edx, byte ptr [rcx+rax]                                        ; +0x5e4, 0x180022274\nlea     eax, [r8+1]                                                    ; +0x5e8, 0x180022278\nmov     [rbx+10h], eax                                                 ; +0x5ec, 0x18002227c\ntest    dl, dl                                                         ; +0x5ef, 0x18002227f\njns     loc_180022347                                                  ; +0x5f1, 0x180022281\nmov     r8d, eax                                                       ; +0x5f7, 0x180022287\ncmp     eax, r10d                                                      ; +0x5fa, 0x18002228a\njb      short loc_180022260                                            ; +0x5fd, 0x18002228d\nmov     byte ptr [rbx+24h], 1                                          ; +0x5ff, 0x18002228f\njmp     loc_180022347                                                  ; +0x603, 0x180022293\nxor     r9b, r9b                                                       ; +0x608, 0x180022298\nmov     r11d, r13d                                                     ; +0x60b, 0x18002229b\ncmp     r8d, r10d                                                      ; +0x60e, 0x18002229e\njnb     loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x611, 0x1800222a1\nnop     word ptr [rax+rax+00000000h]                                   ; +0x617, 0x1800222a7\ncmp     r9b, 4                                                         ; +0x620, 0x1800222b0\njz      loc_18002202D; jumptable 0000000180021E5A case 47              ; +0x624, 0x1800222b4\nmov     rax, [rbx+8]                                                   ; +0x62a, 0x1800222ba\ninc     r9b                                                            ; +0x62e, 0x1800222be\nmov     ecx, r8d                                                       ; +0x631, 0x1800222c1\nshl     r11d, 7                                                        ; +0x634, 0x1800222c4\nmovzx   edx, byte ptr [rcx+rax]                                        ; +0x638, 0x1800222c8\nlea     eax, [r8+1]                                                    ; +0x63c, 0x1800222cc\nmov     ecx, edx                                                       ; +0x640, 0x1800222d0\nmov     [rbx+10h], eax                                                 ; +0x642, 0x1800222d2\nand     ecx, 7Fh                                                       ; +0x645, 0x1800222d5\nadd     r11d, ecx                                                      ; +0x648, 0x1800222d8\ntest    dl, dl                                                         ; +0x64b, 0x1800222db\njns     short loc_1800222ED                                            ; +0x64d, 0x1800222dd\nmov     r8d, eax                                                       ; +0x64f, 0x1800222df\ncmp     eax, r10d                                                      ; +0x652, 0x1800222e2\njb      short loc_1800222B0                                            ; +0x655, 0x1800222e5\nmov     byte ptr [rbx+24h], 1                                          ; +0x657, 0x1800222e7\njmp     short loc_180022347                                            ; +0x65b, 0x1800222eb\nadd     eax, r11d                                                      ; +0x65d, 0x1800222ed\nmov     [rbx+10h], eax                                                 ; +0x660, 0x1800222f0\njmp     short loc_180022347                                            ; +0x663, 0x1800222f3\ncmp     bpl, 80h                                                       ; +0x665, 0x1800222f5\njnb     short loc_1800222FF                                            ; +0x669, 0x1800222f9\nmovzx   ebp, byte ptr [rbx+26h]                                        ; +0x66b, 0x1800222fb\nmovzx   eax, bpl                                                       ; +0x66f, 0x1800222ff\nand     eax, 0Fh                                                       ; +0x673, 0x180022303\nmov     byte ptr [rsp+188h+var_160], r12b                              ; +0x676, 0x180022306\nimul    rcx, rax, 378h                                                 ; +0x67b, 0x18002230b\ncmp     r9b, 80h                                                       ; +0x682, 0x180022312\nmov     byte ptr [rsp+188h+var_168], r15b                              ; +0x686, 0x180022316\nsetb    r8b                                                            ; +0x68b, 0x18002231b\nmov     [rdx+rcx+440h], rbx                                            ; +0x68f, 0x18002231f\nmov     edx, r9d                                                       ; +0x697, 0x180022327\nmov     rax, [rbx]                                                     ; +0x69a, 0x18002232a\ncmovnb  edx, r13d                                                      ; +0x69d, 0x18002232d\nadd     rax, 428h                                                      ; +0x6a1, 0x180022331\nmovzx   r9d, dl                                                        ; +0x6a7, 0x180022337\nadd     rcx, rax                                                       ; +0x6ab, 0x18002233b\nmovzx   edx, bpl                                                       ; +0x6ae, 0x18002233e\ncall    sub_180021100                                                  ; +0x6b2, 0x180022342\nmov     [rbx+26h], bpl                                                 ; +0x6b7, 0x180022347\ncmp     [rbx+24h], r13b                                                ; +0x6bb, 0x18002234b\njnz     short loc_18002236C                                            ; +0x6bf, 0x18002234f\nmov     rdx, [rbx]                                                     ; +0x6c1, 0x180022351\nmovss   xmm0, dword ptr [rbx+20h]                                      ; +0x6c4, 0x180022354\ncomiss  xmm0, dword ptr [rdx+3BECh]                                    ; +0x6c9, 0x180022359\njbe     loc_180021D00                                                  ; +0x6d0, 0x180022360\njmp     short loc_18002236C                                            ; +0x6d6, 0x180022366\nmov     byte ptr [rbx+1Ch], 1                                          ; +0x6d8, 0x180022368\nxor     eax, eax                                                       ; +0x6dc, 0x18002236c\nmov     rcx, [rsp+188h+var_38]                                         ; +0x6de, 0x18002236e\nxor     rcx, rsp; StackCookie                                          ; +0x6e6, 0x180022376\ncall    __security_check_cookie                                        ; +0x6e9, 0x180022379\nlea     r11, [rsp+188h+var_28]                                         ; +0x6ee, 0x18002237e\nmov     rbx, [r11+38h]                                                 ; +0x6f6, 0x180022386\nmov     rbp, [r11+40h]                                                 ; +0x6fa, 0x18002238a\nmov     rsi, [r11+48h]                                                 ; +0x6fe, 0x18002238e\nmov     rsp, r11                                                       ; +0x702, 0x180022392\npop     r15                                                            ; +0x705, 0x180022395\npop     r14                                                            ; +0x707, 0x180022397\npop     r13                                                            ; +0x709, 0x180022399\npop     r12                                                            ; +0x70b, 0x18002239b\npop     rdi                                                            ; +0x70d, 0x18002239d\nretn                                                                   ; +0x70e, 0x18002239e\nalign 20h                                                              ; +0x70f, 0x18002239f\ndd offset loc_180021E5C - 180000000h; jump table for switch statement  ; +0x710, 0x1800223a0\ndb      0,     1,     2,     3; indirect table for switch statement    ; +0x75c, 0x1800223ec", "xrefs": ["sub_180020140 @ 0x180020952", "sub_1800250E0 @ 0x18002512d", "<???> @ 0x1801f7500"], "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"}