{"type": "func", "start": 6442565280, "end": 6442566537, "name": "sub_18001BEA0", "pseudocode": "// \n// sub_18001BEA0 from 0x18001bea0 to 0x18001c389 (1257 bytes)\n// \n// 3 xrefs:\n// > sub_18001CFD0 @ 0x18001f286\n// > <???> @ 0x1801f7320\n// > <???> @ 0x1801f732c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_18001BEA0(__int64 a1, __int64 a2, _BYTE *a3, int a4)\n{\n  __int64 v4; // r10\n  int v6; // ebx\n  __int64 v8; // r8\n  _BYTE *v9; // r14\n  int v10; // eax\n  __int16 v12; // dx\n  _BYTE *v13; // rcx\n  int v14; // r13d\n  _BYTE *v15; // r15\n  int v16; // r9d\n  char v17; // si\n  char v18; // bp\n  int v19; // ecx\n  unsigned int v20; // r9d\n  unsigned int v21; // r13d\n  unsigned int v22; // ecx\n  int v23; // eax\n  __int64 v24; // r9\n  int v25; // ebx\n  int v26; // eax\n  int v27; // ebx\n  int v28; // r15d\n  int v29; // ecx\n  unsigned int v30; // r9d\n  unsigned int v31; // ecx\n  int v32; // eax\n  int v33; // r8d\n  int v34; // ebx\n  int v35; // r8d\n  int v36; // ecx\n  __int64 v37; // rax\n  __int64 v38; // r8\n  unsigned int v39; // r9d\n  unsigned int v40; // r8d\n  int v41; // ecx\n  int v42; // r9d\n  int v43; // eax\n  __int64 v44; // r8\n  unsigned int v45; // r9d\n  unsigned int v46; // r8d\n  int v47; // [rsp+0h] [rbp-58h]\n  int v49; // [rsp+70h] [rbp+18h]\n\n  v4 = *(int *)(a2 + 152);\n  v6 = a4;\n  v8 = a1;\n  if ( (int)v4 < (unsigned __int8)a3[1200] )\n  {\n    v9 = a3 + 1202;\n    if ( *(_DWORD *)(a2 + 148) != *(unsigned __int16 *)&a3[2 * v4 + 1203 + v4] )\n    {\n      *(_DWORD *)(a2 + 156) += *(_DWORD *)(a2 + 164);\n      goto LABEL_4;\n    }\n    while ( 1 )\n    {\n      v12 = *(_WORD *)(v8 + 3046) & 8;\n      v13 = &v9[2 * (int)v4];\n      v14 = *(unsigned __int16 *)&v13[(int)v4 + 1];\n      v15 = v13;\n      v16 = *(unsigned __int16 *)&v13[(int)v4 + 4];\n      v47 = v14;\n      v49 = v16;\n      if ( v12 || (v17 = a3[1199], (v17 & 0x10) != 0) )\n      {\n        v18 = v13[(int)v4];\n        v17 = a3[1199];\n        v28 = a4;\n        v27 = 32 * v18;\n        v33 = 32 * (char)v13[(int)v4 + 3];\n      }\n      else\n      {\n        v18 = v13[(int)v4];\n        v19 = v18 >> 1;\n        if ( (v18 & 1) != 0 )\n        {\n          v20 = *(_DWORD *)(*(_QWORD *)(a2 + 40) + 8LL);\n          v21 = 8363 * dword_1801AF220[v6];\n          v22 = (int)(8363 * dword_1801AF220[v6 + 1 + v19] / v20 + 8363 * dword_1801AF220[v6 + v19] / v20) / 2;\n          v23 = v21 / v20;\n          v24 = *(_QWORD *)(a2 + 40);\n        }\n        else\n        {\n          v24 = *(_QWORD *)(a2 + 40);\n          v21 = 8363 * dword_1801AF220[v6];\n          v22 = (unsigned int)(8363 * dword_1801AF220[v6 + v19]) / *(_DWORD *)(v24 + 8);\n          v23 = v21 / *(_DWORD *)(v24 + 8);\n        }\n        v25 = v23;\n        v26 = (char)v15[(int)v4 + 3];\n        v27 = v25 - v22;\n        v28 = a4;\n        v29 = v26 >> 1;\n        if ( (v26 & 1) != 0 )\n        {\n          v30 = *(_DWORD *)(v24 + 8);\n          v31 = (int)(8363 * dword_1801AF220[a4 + 1 + v29] / v30 + 8363 * dword_1801AF220[a4 + v29] / v30) / 2;\n          v32 = v21 / v30;\n        }\n        else\n        {\n          v31 = (unsigned int)(8363 * dword_1801AF220[a4 + v29]) / *(_DWORD *)(v24 + 8);\n          v32 = v21 / *(_DWORD *)(v24 + 8);\n        }\n        v12 = 0;\n        v16 = v49;\n        v33 = v32 - v31;\n        v14 = v47;\n      }\n      v34 = v27 << 16;\n      v35 = v33 << 16;\n      if ( (v17 & 2) != 0 )\n      {\n        v36 = (unsigned __int8)a3[1286];\n        if ( (int)v4 >= v36 && !*(_BYTE *)(a2 + 188) )\n          break;\n      }\n      if ( (v17 & 4) != 0 )\n      {\n        v41 = (unsigned __int8)a3[1284];\n        if ( (int)v4 >= v41 )\n        {\n          v37 = (unsigned __int8)a3[1283];\n          if ( (unsigned __int8)v41 <= (unsigned __int8)v37 )\n          {\n            if ( v12 || (v17 & 0x10) != 0 )\n            {\n              v10 = 32 * (char)v9[2 * v37 + v37];\n              goto LABEL_7;\n            }\nLABEL_27:\n            if ( (v18 & 1) != 0 )\n            {\n              v38 = v28 + ((char)v9[2 * (int)v4 + (int)v4] >> 1);\n              v39 = *(_DWORD *)(*(_QWORD *)(a2 + 40) + 8LL);\n              v40 = (int)(8363 * dword_1801AF220[v38 + 1] / v39 + 8363 * dword_1801AF220[v38] / v39) / 2;\n            }\n            else\n            {\n              v39 = *(_DWORD *)(*(_QWORD *)(a2 + 40) + 8LL);\n              v40 = 8363 * dword_1801AF220[v28 + (v18 >> 1)] / v39;\n            }\n            v10 = 8363 * dword_1801AF220[v28] / v39 - v40;\n            goto LABEL_7;\n          }\n          goto LABEL_9;\n        }\n      }\n      if ( (_DWORD)v4 == (unsigned __int8)a3[1200] - 1 )\n      {\n        if ( v12 || (v17 & 0x10) != 0 )\n        {\n          *(_DWORD *)(a2 + 160) = 32 * v18;\n          *(_BYTE *)(a2 + 168) = 1;\n        }\n        else\n        {\n          if ( (v18 & 1) != 0 )\n          {\n            v44 = v28 + ((char)v9[2 * (int)v4 + (int)v4] >> 1);\n            v45 = *(_DWORD *)(*(_QWORD *)(a2 + 40) + 8LL);\n            v46 = (int)(8363 * dword_1801AF220[v44 + 1] / v45 + 8363 * dword_1801AF220[v44] / v45) / 2;\n          }\n          else\n          {\n            v45 = *(_DWORD *)(*(_QWORD *)(a2 + 40) + 8LL);\n            v46 = 8363 * dword_1801AF220[v28 + (v18 >> 1)] / v45;\n          }\n          *(_DWORD *)(a2 + 160) = 8363 * dword_1801AF220[v28] / v45 - v46;\n          *(_BYTE *)(a2 + 168) = 1;\n        }\n        return 0;\n      }\n      v42 = v16 - v14;\n      if ( v42 )\n        v43 = (v35 - v34) / v42;\n      else\n        v43 = 0;\n      *(_DWORD *)(a2 + 164) = v43;\n      v4 = (int)++*(_DWORD *)(a2 + 152);\n      *(_DWORD *)(a2 + 156) = v34;\n      if ( *(_DWORD *)(a2 + 148) != *(unsigned __int16 *)&v9[2 * v4 + 1 + v4] )\n        goto LABEL_4;\nLABEL_10:\n      v8 = a1;\n      v6 = a4;\n    }\n    v37 = (unsigned __int8)a3[1285];\n    if ( (_BYTE)v36 == (_BYTE)v37 )\n    {\n      if ( v12 || (v17 & 0x10) != 0 )\n      {\n        v10 = 32 * v18;\n        goto LABEL_7;\n      }\n      goto LABEL_27;\n    }\nLABEL_9:\n    LODWORD(v4) = v37;\n    *(_DWORD *)(a2 + 152) = v37;\n    *(_DWORD *)(a2 + 148) = *(unsigned __int16 *)&v9[2 * v37 + 1 + v37] - 1;\n    goto LABEL_10;\n  }\nLABEL_4:\n  if ( (a3[1199] & 0x10) == 0 )\n    *(_BYTE *)(a2 + 60) |= 1u;\n  v10 = *(__int16 *)(a2 + 158);\n  ++*(_DWORD *)(a2 + 148);\nLABEL_7:\n  *(_DWORD *)(a2 + 160) = v10;\n  return 0;\n}", "assembly": "; \n; sub_18001BEA0 from 0x18001bea0 to 0x18001c389 (1257 bytes)\n; \n; 3 xrefs:\n; > sub_18001CFD0 @ 0x18001f286\n; > <???> @ 0x1801f7320\n; > <???> @ 0x1801f732c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_18], r9d                                              ; +0x0, 0x18001bea0\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x18001bea5\npush    rbx                                                            ; +0xa, 0x18001beaa\npush    rbp                                                            ; +0xb, 0x18001beab\npush    rsi                                                            ; +0xc, 0x18001beac\npush    rdi                                                            ; +0xd, 0x18001bead\npush    r12                                                            ; +0xe, 0x18001beae\npush    r13                                                            ; +0x10, 0x18001beb0\npush    r14                                                            ; +0x12, 0x18001beb2\npush    r15                                                            ; +0x14, 0x18001beb4\nsub     rsp, 18h                                                       ; +0x16, 0x18001beb6\nmovsxd  r10, dword ptr [rdx+98h]                                       ; +0x1a, 0x18001beba\nmov     rdi, r8                                                        ; +0x21, 0x18001bec1\nmov     ebx, r9d                                                       ; +0x24, 0x18001bec4\nmov     r11, rdx                                                       ; +0x27, 0x18001bec7\nmov     r8, rcx                                                        ; +0x2a, 0x18001beca\nmovzx   eax, byte ptr [rdi+4B0h]                                       ; +0x2d, 0x18001becd\ncmp     r10d, eax                                                      ; +0x34, 0x18001bed4\njge     short loc_18001BF01                                            ; +0x37, 0x18001bed7\nlea     r14, [rdi+4B2h]                                                ; +0x39, 0x18001bed9\nlea     rax, [r14+r10*2]                                               ; +0x40, 0x18001bee0\nmovzx   edx, word ptr [r10+rax+1]                                      ; +0x44, 0x18001bee4\ncmp     [r11+94h], edx                                                 ; +0x4a, 0x18001beea\njz      short loc_18001BF60                                            ; +0x51, 0x18001bef1\nmov     eax, [r11+0A4h]                                                ; +0x53, 0x18001bef3\nadd     [r11+9Ch], eax                                                 ; +0x5a, 0x18001befa\ntest    byte ptr [rdi+4AFh], 10h                                       ; +0x61, 0x18001bf01\njnz     short loc_18001BF0F                                            ; +0x68, 0x18001bf08\nor      byte ptr [r11+3Ch], 1                                          ; +0x6a, 0x18001bf0a\nmovsx   eax, word ptr [r11+9Eh]                                        ; +0x6f, 0x18001bf0f\ninc     dword ptr [r11+94h]                                            ; +0x77, 0x18001bf17\nmov     [r11+0A0h], eax                                                ; +0x7e, 0x18001bf1e\nxor     eax, eax                                                       ; +0x85, 0x18001bf25\nadd     rsp, 18h                                                       ; +0x87, 0x18001bf27\npop     r15                                                            ; +0x8b, 0x18001bf2b\npop     r14                                                            ; +0x8d, 0x18001bf2d\npop     r13                                                            ; +0x8f, 0x18001bf2f\npop     r12                                                            ; +0x91, 0x18001bf31\npop     rdi                                                            ; +0x93, 0x18001bf33\npop     rsi                                                            ; +0x94, 0x18001bf34\npop     rbp                                                            ; +0x95, 0x18001bf35\npop     rbx                                                            ; +0x96, 0x18001bf36\nretn                                                                   ; +0x97, 0x18001bf37\nmov     r10, rax                                                       ; +0x98, 0x18001bf38\nlea     rax, [r14+rax*2]                                               ; +0x9b, 0x18001bf3b\nmov     [r11+98h], r10d                                                ; +0x9f, 0x18001bf3f\nmovzx   edx, word ptr [r10+rax+1]                                      ; +0xa6, 0x18001bf46\ndec     edx                                                            ; +0xac, 0x18001bf4c\nmov     [r11+94h], edx                                                 ; +0xae, 0x18001bf4e\nmov     r8, [rsp+58h+arg_0]                                            ; +0xb5, 0x18001bf55\nmov     ebx, [rsp+58h+arg_18]                                          ; +0xba, 0x18001bf5a\nxchg    ax, ax                                                         ; +0xbe, 0x18001bf5e\nmovzx   edx, word ptr [r8+0BE6h]                                       ; +0xc0, 0x18001bf60\nmovsxd  r12, r10d                                                      ; +0xc8, 0x18001bf68\nand     dx, 8                                                          ; +0xcb, 0x18001bf6b\nmov     [rsp+58h+arg_8], dx                                            ; +0xcf, 0x18001bf6f\nlea     rcx, [r14+r12*2]                                               ; +0xd4, 0x18001bf74\nmovzx   r13d, word ptr [rcx+r12+1]                                     ; +0xd8, 0x18001bf78\nlea     r15, [r14+r12*2]                                               ; +0xde, 0x18001bf7e\nmovzx   r9d, word ptr [r15+r12+4]                                      ; +0xe2, 0x18001bf82\nmov     [rsp+58h+var_58], r13d                                         ; +0xe8, 0x18001bf88\nmov     [rsp+58h+arg_10], r9d                                          ; +0xec, 0x18001bf8c\njnz     loc_18001C0D5                                                  ; +0xf1, 0x18001bf91\nmovzx   esi, byte ptr [rdi+4AFh]                                       ; +0xf7, 0x18001bf97\ntest    sil, 10h                                                       ; +0xfe, 0x18001bf9e\njnz     loc_18001C0D5                                                  ; +0x102, 0x18001bfa2\nmovsx   ebp, byte ptr [rcx+r12]                                        ; +0x108, 0x18001bfa8\nmov     ecx, ebp                                                       ; +0x10d, 0x18001bfad\nsar     ecx, 1                                                         ; +0x10f, 0x18001bfaf\ntest    bpl, 1                                                         ; +0x111, 0x18001bfb1\njz      short loc_18001C00A                                            ; +0x115, 0x18001bfb5\nmov     rax, [r11+28h]                                                 ; +0x117, 0x18001bfb7\nxor     edx, edx                                                       ; +0x11b, 0x18001bfbb\nadd     ecx, ebx                                                       ; +0x11d, 0x18001bfbd\nmovsxd  r8, ecx                                                        ; +0x11f, 0x18001bfbf\nmov     r9d, [rax+8]                                                   ; +0x122, 0x18001bfc2\nmovsxd  rax, ebx                                                       ; +0x126, 0x18001bfc6\nlea     rbx, dword_1801AF220                                           ; +0x129, 0x18001bfc9\nimul    r13d, [rbx+rax*4], 20ABh                                       ; +0x130, 0x18001bfd0\nimul    eax, [rbx+r8*4+4], 20ABh                                       ; +0x138, 0x18001bfd8\ndiv     r9d                                                            ; +0x141, 0x18001bfe1\nxor     edx, edx                                                       ; +0x144, 0x18001bfe4\nmov     ecx, eax                                                       ; +0x146, 0x18001bfe6\nimul    eax, [rbx+r8*4], 20ABh                                         ; +0x148, 0x18001bfe8\ndiv     r9d                                                            ; +0x150, 0x18001bff0\nadd     eax, ecx                                                       ; +0x153, 0x18001bff3\ncdq                                                                    ; +0x155, 0x18001bff5\nsub     eax, edx                                                       ; +0x156, 0x18001bff6\nxor     edx, edx                                                       ; +0x158, 0x18001bff8\nsar     eax, 1                                                         ; +0x15a, 0x18001bffa\nmov     ecx, eax                                                       ; +0x15c, 0x18001bffc\nmov     eax, r13d                                                      ; +0x15e, 0x18001bffe\ndiv     r9d                                                            ; +0x161, 0x18001c001\nmov     r9, [r11+28h]                                                  ; +0x164, 0x18001c004\njmp     short loc_18001C03D                                            ; +0x168, 0x18001c008\nmov     r9, [r11+28h]                                                  ; +0x16a, 0x18001c00a\nlea     rdx, dword_1801AF220                                           ; +0x16e, 0x18001c00e\nmovsxd  rax, ebx                                                       ; +0x175, 0x18001c015\nimul    r13d, [rdx+rax*4], 20ABh                                       ; +0x178, 0x18001c018\nlea     eax, [rbx+rcx]                                                 ; +0x180, 0x18001c020\ncdqe                                                                   ; +0x183, 0x18001c023\nimul    eax, [rdx+rax*4], 20ABh                                        ; +0x185, 0x18001c025\nxor     edx, edx                                                       ; +0x18c, 0x18001c02c\ndiv     dword ptr [r9+8]                                               ; +0x18e, 0x18001c02e\nxor     edx, edx                                                       ; +0x192, 0x18001c032\nmov     ecx, eax                                                       ; +0x194, 0x18001c034\nmov     eax, r13d                                                      ; +0x196, 0x18001c036\ndiv     dword ptr [r9+8]                                               ; +0x199, 0x18001c039\nmov     ebx, eax                                                       ; +0x19d, 0x18001c03d\nxor     edx, edx                                                       ; +0x19f, 0x18001c03f\nmovsx   eax, byte ptr [r15+r12+3]                                      ; +0x1a1, 0x18001c041\nsub     ebx, ecx                                                       ; +0x1a7, 0x18001c047\nmov     r15d, [rsp+58h+arg_18]                                         ; +0x1a9, 0x18001c049\nmov     ecx, eax                                                       ; +0x1ae, 0x18001c04e\nsar     ecx, 1                                                         ; +0x1b0, 0x18001c050\ntest    al, 1                                                          ; +0x1b2, 0x18001c052\njz      short loc_18001C0B0                                            ; +0x1b4, 0x18001c054\nmov     r9d, [r9+8]                                                    ; +0x1b6, 0x18001c056\nadd     ecx, r15d                                                      ; +0x1ba, 0x18001c05a\nmovsxd  r8, ecx                                                        ; +0x1bd, 0x18001c05d\nlea     rcx, dword_1801AF220                                           ; +0x1c0, 0x18001c060\nimul    eax, [rcx+r8*4+4], 20ABh                                       ; +0x1c7, 0x18001c067\ndiv     r9d                                                            ; +0x1d0, 0x18001c070\nxor     edx, edx                                                       ; +0x1d3, 0x18001c073\nmov     ecx, eax                                                       ; +0x1d5, 0x18001c075\nlea     rax, dword_1801AF220                                           ; +0x1d7, 0x18001c077\nimul    eax, [rax+r8*4], 20ABh                                         ; +0x1de, 0x18001c07e\ndiv     r9d                                                            ; +0x1e6, 0x18001c086\nadd     eax, ecx                                                       ; +0x1e9, 0x18001c089\ncdq                                                                    ; +0x1eb, 0x18001c08b\nsub     eax, edx                                                       ; +0x1ec, 0x18001c08c\nxor     edx, edx                                                       ; +0x1ee, 0x18001c08e\nsar     eax, 1                                                         ; +0x1f0, 0x18001c090\nmov     ecx, eax                                                       ; +0x1f2, 0x18001c092\nmov     eax, r13d                                                      ; +0x1f4, 0x18001c094\ndiv     r9d                                                            ; +0x1f7, 0x18001c097\nmovzx   edx, [rsp+58h+arg_8]                                           ; +0x1fa, 0x18001c09a\nmov     r8d, eax                                                       ; +0x1ff, 0x18001c09f\nmov     r9d, [rsp+58h+arg_10]                                          ; +0x202, 0x18001c0a2\nsub     r8d, ecx                                                       ; +0x207, 0x18001c0a7\nmov     r13d, [rsp+58h+var_58]                                         ; +0x20a, 0x18001c0aa\njmp     short loc_18001C0F5                                            ; +0x20e, 0x18001c0ae\nlea     eax, [r15+rcx]                                                 ; +0x210, 0x18001c0b0\ncdqe                                                                   ; +0x214, 0x18001c0b4\nlea     rcx, dword_1801AF220                                           ; +0x216, 0x18001c0b6\nimul    eax, [rcx+rax*4], 20ABh                                        ; +0x21d, 0x18001c0bd\ndiv     dword ptr [r9+8]                                               ; +0x224, 0x18001c0c4\nxor     edx, edx                                                       ; +0x228, 0x18001c0c8\nmov     ecx, eax                                                       ; +0x22a, 0x18001c0ca\nmov     eax, r13d                                                      ; +0x22c, 0x18001c0cc\ndiv     dword ptr [r9+8]                                               ; +0x22f, 0x18001c0cf\njmp     short loc_18001C09A                                            ; +0x233, 0x18001c0d3\nmovsx   r8d, byte ptr [r15+r12+3]                                      ; +0x235, 0x18001c0d5\nmovsx   ebp, byte ptr [rcx+r12]                                        ; +0x23b, 0x18001c0db\nmovzx   esi, byte ptr [rdi+4AFh]                                       ; +0x240, 0x18001c0e0\nmov     ebx, ebp                                                       ; +0x247, 0x18001c0e7\nmov     r15d, [rsp+58h+arg_18]                                         ; +0x249, 0x18001c0e9\nshl     ebx, 5                                                         ; +0x24e, 0x18001c0ee\nshl     r8d, 5                                                         ; +0x251, 0x18001c0f1\nshl     ebx, 10h                                                       ; +0x255, 0x18001c0f5\nshl     r8d, 10h                                                       ; +0x258, 0x18001c0f8\ntest    sil, 2                                                         ; +0x25c, 0x18001c0fc\njz      loc_18001C1B1                                                  ; +0x260, 0x18001c100\nmovzx   ecx, byte ptr [rdi+506h]                                       ; +0x266, 0x18001c106\ncmp     r10d, ecx                                                      ; +0x26d, 0x18001c10d\njl      loc_18001C1B1                                                  ; +0x270, 0x18001c110\ncmp     byte ptr [r11+0BCh], 0                                         ; +0x276, 0x18001c116\njnz     loc_18001C1B1                                                  ; +0x27e, 0x18001c11e\nmovzx   eax, byte ptr [rdi+505h]                                       ; +0x284, 0x18001c124\ncmp     cl, al                                                         ; +0x28b, 0x18001c12b\njnz     loc_18001BF38                                                  ; +0x28d, 0x18001c12d\ntest    dx, dx                                                         ; +0x293, 0x18001c133\njnz     loc_18001C293                                                  ; +0x296, 0x18001c136\ntest    sil, 10h                                                       ; +0x29c, 0x18001c13c\njnz     loc_18001C293                                                  ; +0x2a0, 0x18001c140\ntest    bpl, 1                                                         ; +0x2a6, 0x18001c146\njz      loc_18001C251                                                  ; +0x2aa, 0x18001c14a\nmovsxd  rcx, r10d                                                      ; +0x2b0, 0x18001c150\nlea     r10, dword_1801AF220                                           ; +0x2b3, 0x18001c153\nlea     rax, [r14+rcx*2]                                               ; +0x2ba, 0x18001c15a\nmovsx   edx, byte ptr [rcx+rax]                                        ; +0x2be, 0x18001c15e\nmov     rax, [r11+28h]                                                 ; +0x2c2, 0x18001c162\nsar     edx, 1                                                         ; +0x2c6, 0x18001c166\nadd     edx, r15d                                                      ; +0x2c8, 0x18001c168\nmovsxd  r8, edx                                                        ; +0x2cb, 0x18001c16b\nxor     edx, edx                                                       ; +0x2ce, 0x18001c16e\nmov     r9d, [rax+8]                                                   ; +0x2d0, 0x18001c170\nimul    eax, [r10+r8*4+4], 20ABh                                       ; +0x2d4, 0x18001c174\ndiv     r9d                                                            ; +0x2dd, 0x18001c17d\nxor     edx, edx                                                       ; +0x2e0, 0x18001c180\nmov     ecx, eax                                                       ; +0x2e2, 0x18001c182\nimul    eax, [r10+r8*4], 20ABh                                         ; +0x2e4, 0x18001c184\ndiv     r9d                                                            ; +0x2ec, 0x18001c18c\nadd     eax, ecx                                                       ; +0x2ef, 0x18001c18f\nmovsxd  rcx, r15d                                                      ; +0x2f1, 0x18001c191\ncdq                                                                    ; +0x2f4, 0x18001c194\nsub     eax, edx                                                       ; +0x2f5, 0x18001c195\nxor     edx, edx                                                       ; +0x2f7, 0x18001c197\nsar     eax, 1                                                         ; +0x2f9, 0x18001c199\nmov     r8d, eax                                                       ; +0x2fb, 0x18001c19b\nimul    eax, [r10+rcx*4], 20ABh                                        ; +0x2fe, 0x18001c19e\ndiv     r9d                                                            ; +0x306, 0x18001c1a6\nsub     eax, r8d                                                       ; +0x309, 0x18001c1a9\njmp     loc_18001BF1E                                                  ; +0x30c, 0x18001c1ac\ntest    sil, 4                                                         ; +0x311, 0x18001c1b1\njz      short loc_18001C1F4                                            ; +0x315, 0x18001c1b5\nmovzx   ecx, byte ptr [rdi+504h]                                       ; +0x317, 0x18001c1b7\ncmp     r10d, ecx                                                      ; +0x31e, 0x18001c1be\njl      short loc_18001C1F4                                            ; +0x321, 0x18001c1c1\nmovzx   eax, byte ptr [rdi+503h]                                       ; +0x323, 0x18001c1c3\ncmp     cl, al                                                         ; +0x32a, 0x18001c1ca\nja      loc_18001BF38                                                  ; +0x32c, 0x18001c1cc\ntest    dx, dx                                                         ; +0x332, 0x18001c1d2\njnz     short loc_18001C1E1                                            ; +0x335, 0x18001c1d5\ntest    sil, 10h                                                       ; +0x337, 0x18001c1d7\njz      loc_18001C146                                                  ; +0x33b, 0x18001c1db\nmov     rcx, rax                                                       ; +0x341, 0x18001c1e1\nlea     rax, [r14+rax*2]                                               ; +0x344, 0x18001c1e4\nmovsx   eax, byte ptr [rcx+rax]                                        ; +0x348, 0x18001c1e8\nshl     eax, 5                                                         ; +0x34c, 0x18001c1ec\njmp     loc_18001BF1E                                                  ; +0x34f, 0x18001c1ef\nmovzx   eax, byte ptr [rdi+4B0h]                                       ; +0x354, 0x18001c1f4\ndec     eax                                                            ; +0x35b, 0x18001c1fb\ncmp     r10d, eax                                                      ; +0x35d, 0x18001c1fd\njz      loc_18001C29F                                                  ; +0x360, 0x18001c200\nsub     r9d, r13d                                                      ; +0x366, 0x18001c206\njz      short loc_18001C217                                            ; +0x369, 0x18001c209\nsub     r8d, ebx                                                       ; +0x36b, 0x18001c20b\nmov     eax, r8d                                                       ; +0x36e, 0x18001c20e\ncdq                                                                    ; +0x371, 0x18001c211\nidiv    r9d                                                            ; +0x372, 0x18001c212\njmp     short loc_18001C219                                            ; +0x375, 0x18001c215\nxor     eax, eax                                                       ; +0x377, 0x18001c217\nmov     [r11+0A4h], eax                                                ; +0x379, 0x18001c219\ninc     dword ptr [r11+98h]                                            ; +0x380, 0x18001c220\nmovsxd  r10, dword ptr [r11+98h]                                       ; +0x387, 0x18001c227\nmov     [r11+9Ch], ebx                                                 ; +0x38e, 0x18001c22e\nlea     rax, [r14+r10*2]                                               ; +0x395, 0x18001c235\nmovzx   ecx, word ptr [r10+rax+1]                                      ; +0x399, 0x18001c239\ncmp     [r11+94h], ecx                                                 ; +0x39f, 0x18001c23f\njnz     loc_18001BF01                                                  ; +0x3a6, 0x18001c246\njmp     loc_18001BF55                                                  ; +0x3ac, 0x18001c24c\nmov     rax, [r11+28h]                                                 ; +0x3b1, 0x18001c251\nlea     r10, dword_1801AF220                                           ; +0x3b5, 0x18001c255\nxor     edx, edx                                                       ; +0x3bc, 0x18001c25c\nmovsxd  rcx, r15d                                                      ; +0x3be, 0x18001c25e\nmov     r9d, [rax+8]                                                   ; +0x3c1, 0x18001c261\nmovsx   eax, bpl                                                       ; +0x3c5, 0x18001c265\nsar     eax, 1                                                         ; +0x3c9, 0x18001c269\nadd     eax, r15d                                                      ; +0x3cb, 0x18001c26b\ncdqe                                                                   ; +0x3ce, 0x18001c26e\nimul    eax, [r10+rax*4], 20ABh                                        ; +0x3d0, 0x18001c270\ndiv     r9d                                                            ; +0x3d8, 0x18001c278\nxor     edx, edx                                                       ; +0x3db, 0x18001c27b\nmov     r8d, eax                                                       ; +0x3dd, 0x18001c27d\nimul    eax, [r10+rcx*4], 20ABh                                        ; +0x3e0, 0x18001c280\ndiv     r9d                                                            ; +0x3e8, 0x18001c288\nsub     eax, r8d                                                       ; +0x3eb, 0x18001c28b\njmp     loc_18001BF1E                                                  ; +0x3ee, 0x18001c28e\nmovsx   eax, bpl                                                       ; +0x3f3, 0x18001c293\nshl     eax, 5                                                         ; +0x3f7, 0x18001c297\njmp     loc_18001BF1E                                                  ; +0x3fa, 0x18001c29a\ntest    dx, dx                                                         ; +0x3ff, 0x18001c29f\njnz     loc_18001C36E                                                  ; +0x402, 0x18001c2a2\ntest    sil, 10h                                                       ; +0x408, 0x18001c2a8\njnz     loc_18001C36E                                                  ; +0x40c, 0x18001c2ac\nxor     edx, edx                                                       ; +0x412, 0x18001c2b2\nlea     r10, dword_1801AF220                                           ; +0x414, 0x18001c2b4\ntest    bpl, 1                                                         ; +0x41b, 0x18001c2bb\njz      short loc_18001C326                                            ; +0x41f, 0x18001c2bf\nlea     rax, [r14+r12*2]                                               ; +0x421, 0x18001c2c1\nmovsx   ecx, byte ptr [r12+rax]                                        ; +0x425, 0x18001c2c5\nmov     rax, [r11+28h]                                                 ; +0x42a, 0x18001c2ca\nsar     ecx, 1                                                         ; +0x42e, 0x18001c2ce\nadd     ecx, r15d                                                      ; +0x430, 0x18001c2d0\nmovsxd  r8, ecx                                                        ; +0x433, 0x18001c2d3\nmov     r9d, [rax+8]                                                   ; +0x436, 0x18001c2d6\nimul    eax, [r10+r8*4+4], 20ABh                                       ; +0x43a, 0x18001c2da\ndiv     r9d                                                            ; +0x443, 0x18001c2e3\nxor     edx, edx                                                       ; +0x446, 0x18001c2e6\nmov     ecx, eax                                                       ; +0x448, 0x18001c2e8\nimul    eax, [r10+r8*4], 20ABh                                         ; +0x44a, 0x18001c2ea\ndiv     r9d                                                            ; +0x452, 0x18001c2f2\nadd     eax, ecx                                                       ; +0x455, 0x18001c2f5\nmovsxd  rcx, r15d                                                      ; +0x457, 0x18001c2f7\ncdq                                                                    ; +0x45a, 0x18001c2fa\nsub     eax, edx                                                       ; +0x45b, 0x18001c2fb\nxor     edx, edx                                                       ; +0x45d, 0x18001c2fd\nsar     eax, 1                                                         ; +0x45f, 0x18001c2ff\nmov     r8d, eax                                                       ; +0x461, 0x18001c301\nimul    eax, [r10+rcx*4], 20ABh                                        ; +0x464, 0x18001c304\ndiv     r9d                                                            ; +0x46c, 0x18001c30c\nsub     eax, r8d                                                       ; +0x46f, 0x18001c30f\nmov     [r11+0A0h], eax                                                ; +0x472, 0x18001c312\nmov     byte ptr [r11+0A8h], 1                                         ; +0x479, 0x18001c319\njmp     loc_18001BF25                                                  ; +0x481, 0x18001c321\nmov     rax, [r11+28h]                                                 ; +0x486, 0x18001c326\nmovsxd  rcx, r15d                                                      ; +0x48a, 0x18001c32a\nmov     r9d, [rax+8]                                                   ; +0x48d, 0x18001c32d\nmovsx   eax, bpl                                                       ; +0x491, 0x18001c331\nsar     eax, 1                                                         ; +0x495, 0x18001c335\nadd     eax, r15d                                                      ; +0x497, 0x18001c337\ncdqe                                                                   ; +0x49a, 0x18001c33a\nimul    eax, [r10+rax*4], 20ABh                                        ; +0x49c, 0x18001c33c\ndiv     r9d                                                            ; +0x4a4, 0x18001c344\nxor     edx, edx                                                       ; +0x4a7, 0x18001c347\nmov     r8d, eax                                                       ; +0x4a9, 0x18001c349\nimul    eax, [r10+rcx*4], 20ABh                                        ; +0x4ac, 0x18001c34c\ndiv     r9d                                                            ; +0x4b4, 0x18001c354\nsub     eax, r8d                                                       ; +0x4b7, 0x18001c357\nmov     [r11+0A0h], eax                                                ; +0x4ba, 0x18001c35a\nmov     byte ptr [r11+0A8h], 1                                         ; +0x4c1, 0x18001c361\njmp     loc_18001BF25                                                  ; +0x4c9, 0x18001c369\nmovsx   eax, bpl                                                       ; +0x4ce, 0x18001c36e\nshl     eax, 5                                                         ; +0x4d2, 0x18001c372\nmov     [r11+0A0h], eax                                                ; +0x4d5, 0x18001c375\nmov     byte ptr [r11+0A8h], 1                                         ; +0x4dc, 0x18001c37c\njmp     loc_18001BF25                                                  ; +0x4e4, 0x18001c384", "xrefs": ["sub_18001CFD0 @ 0x18001f286", "<???> @ 0x1801f7320", "<???> @ 0x1801f732c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}