{"type": "func", "start": 6442742976, "end": 6442744079, "name": "sub_1800474C0", "pseudocode": "// \n// sub_1800474C0 from 0x1800474c0 to 0x18004790f (1103 bytes)\n// \n// 2 xrefs:\n// > sub_180046ED0 @ 0x1800471b2\n// > <???> @ 0x1801f8280\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:53:13 +0000\n// \n\n__int64 __fastcall sub_1800474C0(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4, unsigned int a5, int a6)\n{\n  __int64 v6; // rdi\n  __int64 v7; // r13\n  unsigned int v11; // ebp\n  __int64 v12; // rsi\n  _DWORD *v13; // r14\n  __int64 v14; // r9\n  unsigned int v16; // ebp\n  _DWORD *v17; // r14\n  __int64 v18; // rax\n  unsigned int v19; // edx\n  __int64 v20; // r14\n  unsigned int v21; // ebp\n  __int64 v22; // r10\n  __int64 v23; // r8\n  __int64 v24; // rcx\n  __int64 v25; // rdx\n  int v26; // [rsp+20h] [rbp-48h]\n  __int64 v27; // [rsp+28h] [rbp-40h]\n  int v28; // [rsp+80h] [rbp+18h] BYREF\n\n  v6 = a5;\n  v7 = a3;\n  v11 = 0;\n  v12 = *(_QWORD *)(a2 + 8) + 320LL * a3;\n  *(_DWORD *)(v12 + 1408) = 3;\n  *(_QWORD *)(v12 + 1712) = *(_QWORD *)(*(_QWORD *)(a2 + 8) + 8LL * a3 + 192);\n  *(_DWORD *)(v12 + 1440) = v6;\n  if ( (_DWORD)v6 )\n  {\n    v13 = (_DWORD *)(v12 + 1580);\n    while ( (unsigned int)sub_180041CD0(a1, *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL), &v28, a4) )\n    {\n      ++v11;\n      *v13++ = v28;\n      if ( v11 >= (unsigned int)v6 )\n        goto LABEL_5;\n    }\n    return 0;\n  }\nLABEL_5:\n  if ( !(unsigned int)sub_180041D20(a1, *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL), &a5, 4u) )\n    return 0;\n  if ( a5 == 15 )\n  {\n    v14 = *(_QWORD *)(a2 + 8);\n    if ( !*(_DWORD *)(v14 + 4112) )\n      (*(void (__fastcall **)(__int64, _QWORD, _QWORD))(v14 + 56))(a2, 0, *(_QWORD *)(v14 + 104));\n    **(_DWORD **)a2 = 2;\n    return 1;\n  }\n  *(_DWORD *)(v12 + 1444) = a5 + 1;\n  if ( !(unsigned int)sub_180041CD0(a1, *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL), &v28, 5) )\n    return 0;\n  v16 = 0;\n  *(_DWORD *)(v12 + 1448) = v28;\n  if ( (_DWORD)v6 )\n  {\n    v17 = (_DWORD *)(v12 + 1452);\n    while ( (unsigned int)sub_180041CD0(\n                            a1,\n                            *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL),\n                            &v28,\n                            *(unsigned int *)(v12 + 1444)) )\n    {\n      ++v16;\n      *v17++ = v28;\n      if ( v16 >= (unsigned int)v6 )\n        goto LABEL_15;\n    }\n    return 0;\n  }\nLABEL_15:\n  if ( !(unsigned int)sub_180041D20(a1, *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL), &a5, 2u) )\n    return 0;\n  *(_DWORD *)(v12 + 1416) = a5;\n  if ( a5 >= 2 )\n  {\n    v18 = *(_QWORD *)(a2 + 8);\n    if ( *(_DWORD *)(v18 + 4112) )\n      ++*(_DWORD *)(v18 + 6864);\n    else\n      (*(void (__fastcall **)(__int64, __int64, _QWORD))(v18 + 56))(a2, 3, *(_QWORD *)(v18 + 104));\n    **(_DWORD **)a2 = 2;\n    return 1;\n  }\n  if ( !(unsigned int)sub_180041D20(a1, *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL), &a5, 4u) )\n    return 0;\n  v19 = *(_DWORD *)(v12 + 1416);\n  *(_DWORD *)(v12 + 1424) = a5;\n  *(_QWORD *)(v12 + 1432) = 24 * v7 + *(_QWORD *)(a2 + 8) + 256LL;\n  if ( v19 <= 1\n    && !(unsigned int)sub_180046C10(\n                        a1,\n                        a2,\n                        v6,\n                        *(_DWORD *)(v12 + 1424),\n                        (_QWORD *)(24 * v7 + *(_QWORD *)(a2 + 8) + 256LL),\n                        *(_QWORD *)(*(_QWORD *)(a2 + 8) + 8 * v7 + 192),\n                        v19 == 1) )\n  {\n    return 0;\n  }\n  if ( !a6 )\n    return 1;\n  v20 = 4 * v6;\n  memmove(*(void **)(*(_QWORD *)(a2 + 8) + 8 * v7 + 128), (const void *)(v12 + 1580), 4 * v6);\n  v21 = *(_DWORD *)(v12 + 1444);\n  if ( a4 + v21 + (unsigned int)sub_180041990(v6) > 0x20 )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD, __int64, _QWORD, _DWORD, __int64))(*(_QWORD *)(a2 + 8) + 72LL))(\n      *(_QWORD *)(*(_QWORD *)(a2 + 8) + 8 * v7 + 192),\n      (unsigned int)(*(_DWORD *)(*(_QWORD *)(a2 + 8) + 1368LL) - v6),\n      v12 + 1452,\n      (unsigned int)v6,\n      *(_DWORD *)(v12 + 1448),\n      v20 + *(_QWORD *)(*(_QWORD *)(a2 + 8) + 8 * v7 + 128));\n    return 1;\n  }\n  if ( a4 > 0x10 || v21 > 0x10 )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD, __int64, _QWORD, _DWORD, __int64))(*(_QWORD *)(a2 + 8) + 64LL))(\n      *(_QWORD *)(*(_QWORD *)(a2 + 8) + 8 * v7 + 192),\n      (unsigned int)(*(_DWORD *)(*(_QWORD *)(a2 + 8) + 1368LL) - v6),\n      v12 + 1452,\n      (unsigned int)v6,\n      *(_DWORD *)(v12 + 1448),\n      v20 + *(_QWORD *)(*(_QWORD *)(a2 + 8) + 8 * v7 + 128));\n    return 1;\n  }\n  else\n  {\n    v22 = *(_QWORD *)(a2 + 8);\n    v23 = v12 + 1452;\n    v24 = *(_QWORD *)(v22 + 8 * v7 + 192);\n    v25 = (unsigned int)(*(_DWORD *)(v22 + 1368) - v6);\n    v27 = v20 + *(_QWORD *)(v22 + 8 * v7 + 128);\n    v26 = *(_DWORD *)(v12 + 1448);\n    if ( (unsigned int)v6 > 8 )\n      (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD, int, __int64))(v22 + 80))(\n        v24,\n        v25,\n        v23,\n        (unsigned int)v6,\n        v26,\n        v27);\n    else\n      (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD, int, __int64))(v22 + 88))(\n        v24,\n        v25,\n        v23,\n        (unsigned int)v6,\n        v26,\n        v27);\n    return 1;\n  }\n}", "assembly": "; \n; sub_1800474C0 from 0x1800474c0 to 0x18004790f (1103 bytes)\n; \n; 2 xrefs:\n; > sub_180046ED0 @ 0x1800471b2\n; > <???> @ 0x1801f8280\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:53:13 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800474c0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800474c5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1800474ca\npush    rdi                                                            ; +0xf, 0x1800474cf\npush    r12                                                            ; +0x10, 0x1800474d0\npush    r13                                                            ; +0x12, 0x1800474d2\npush    r14                                                            ; +0x14, 0x1800474d4\npush    r15                                                            ; +0x16, 0x1800474d6\nsub     rsp, 40h                                                       ; +0x18, 0x1800474d8\nmov     edi, [rsp+68h+arg_20]                                          ; +0x1c, 0x1800474dc\nxor     r14d, r14d                                                     ; +0x23, 0x1800474e3\nmov     r13d, r8d                                                      ; +0x26, 0x1800474e6\nmov     r15, rcx                                                       ; +0x29, 0x1800474e9\nmov     r12d, r9d                                                      ; +0x2c, 0x1800474ec\nmov     rbx, rdx                                                       ; +0x2f, 0x1800474ef\nmov     ebp, r14d                                                      ; +0x32, 0x1800474f2\nlea     rsi, ds:0[r13*4]                                               ; +0x35, 0x1800474f5\nadd     rsi, r13                                                       ; +0x3d, 0x1800474fd\nshl     rsi, 6                                                         ; +0x40, 0x180047500\nadd     rsi, [rdx+8]                                                   ; +0x44, 0x180047504\nmov     dword ptr [rsi+580h], 3                                        ; +0x48, 0x180047508\nmov     rax, [rdx+8]                                                   ; +0x52, 0x180047512\nmov     rcx, [rax+r13*8+0C0h]                                          ; +0x56, 0x180047516\nmov     [rsi+6B0h], rcx                                                ; +0x5e, 0x18004751e\nmov     [rsi+5A0h], edi                                                ; +0x65, 0x180047525\ntest    edi, edi                                                       ; +0x6b, 0x18004752b\njz      short loc_18004757A                                            ; +0x6d, 0x18004752d\nlea     r14, [rsi+62Ch]                                                ; +0x6f, 0x18004752f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x76, 0x180047536\nmov     rdx, [rbx+8]                                                   ; +0x80, 0x180047540\nlea     r8, [rsp+68h+arg_10]                                           ; +0x84, 0x180047544\nmov     r9d, r12d                                                      ; +0x8c, 0x18004754c\nmov     rcx, r15                                                       ; +0x8f, 0x18004754f\nmov     rdx, [rdx+78h]                                                 ; +0x92, 0x180047552\ncall    sub_180041CD0                                                  ; +0x96, 0x180047556\ntest    eax, eax                                                       ; +0x9b, 0x18004755b\njz      loc_1800478ED                                                  ; +0x9d, 0x18004755d\nmov     eax, [rsp+68h+arg_10]                                          ; +0xa3, 0x180047563\ninc     ebp                                                            ; +0xaa, 0x18004756a\nmov     [r14], eax                                                     ; +0xac, 0x18004756c\nadd     r14, 4                                                         ; +0xaf, 0x18004756f\ncmp     ebp, edi                                                       ; +0xb3, 0x180047573\njb      short loc_180047540                                            ; +0xb5, 0x180047575\nxor     r14d, r14d                                                     ; +0xb7, 0x180047577\nmov     rdx, [rbx+8]                                                   ; +0xba, 0x18004757a\nlea     r8, [rsp+68h+arg_20]                                           ; +0xbe, 0x18004757e\nmov     r9d, cs:dword_180165878                                        ; +0xc6, 0x180047586\nmov     rcx, r15                                                       ; +0xcd, 0x18004758d\nmov     rdx, [rdx+78h]                                                 ; +0xd0, 0x180047590\ncall    sub_180041D20                                                  ; +0xd4, 0x180047594\ntest    eax, eax                                                       ; +0xd9, 0x180047599\njz      loc_1800478ED                                                  ; +0xdb, 0x18004759b\nmov     ecx, cs:dword_180165878                                        ; +0xe1, 0x1800475a1\nmov     eax, 1                                                         ; +0xe7, 0x1800475a7\nshl     eax, cl                                                        ; +0xec, 0x1800475ac\nmov     ecx, [rsp+68h+arg_20]                                          ; +0xee, 0x1800475ae\ndec     eax                                                            ; +0xf5, 0x1800475b5\ncmp     ecx, eax                                                       ; +0xf7, 0x1800475b7\njnz     short loc_1800475E9                                            ; +0xf9, 0x1800475b9\nmov     r9, [rbx+8]                                                    ; +0xfb, 0x1800475bb\ncmp     dword ptr [r9+1010h], 0                                        ; +0xff, 0x1800475bf\njnz     short loc_1800475D6                                            ; +0x107, 0x1800475c7\nmov     r8, [r9+68h]                                                   ; +0x109, 0x1800475c9\nxor     edx, edx                                                       ; +0x10d, 0x1800475cd\nmov     rcx, rbx                                                       ; +0x10f, 0x1800475cf\ncall    qword ptr [r9+38h]                                             ; +0x112, 0x1800475d2\nmov     rcx, [rbx]                                                     ; +0x116, 0x1800475d6\nmov     eax, 1                                                         ; +0x119, 0x1800475d9\nmov     dword ptr [rcx], 2                                             ; +0x11e, 0x1800475de\njmp     loc_1800478EF                                                  ; +0x124, 0x1800475e4\nlea     eax, [rcx+1]                                                   ; +0x129, 0x1800475e9\nmov     rcx, r15                                                       ; +0x12c, 0x1800475ec\nmov     [rsi+5A4h], eax                                                ; +0x12f, 0x1800475ef\nlea     r8, [rsp+68h+arg_10]                                           ; +0x135, 0x1800475f5\nmov     rdx, [rbx+8]                                                   ; +0x13d, 0x1800475fd\nmov     r9d, cs:dword_18016587C                                        ; +0x141, 0x180047601\nmov     rdx, [rdx+78h]                                                 ; +0x148, 0x180047608\ncall    sub_180041CD0                                                  ; +0x14c, 0x18004760c\ntest    eax, eax                                                       ; +0x151, 0x180047611\njz      loc_1800478ED                                                  ; +0x153, 0x180047613\nmov     eax, [rsp+68h+arg_10]                                          ; +0x159, 0x180047619\nmov     ebp, r14d                                                      ; +0x160, 0x180047620\nmov     [rsi+5A8h], eax                                                ; +0x163, 0x180047623\ntest    edi, edi                                                       ; +0x169, 0x180047629\njz      short loc_18004766F                                            ; +0x16b, 0x18004762b\nlea     r14, [rsi+5ACh]                                                ; +0x16d, 0x18004762d\nmov     rdx, [rbx+8]                                                   ; +0x174, 0x180047634\nlea     r8, [rsp+68h+arg_10]                                           ; +0x178, 0x180047638\nmov     r9d, [rsi+5A4h]                                                ; +0x180, 0x180047640\nmov     rcx, r15                                                       ; +0x187, 0x180047647\nmov     rdx, [rdx+78h]                                                 ; +0x18a, 0x18004764a\ncall    sub_180041CD0                                                  ; +0x18e, 0x18004764e\ntest    eax, eax                                                       ; +0x193, 0x180047653\njz      loc_1800478ED                                                  ; +0x195, 0x180047655\nmov     eax, [rsp+68h+arg_10]                                          ; +0x19b, 0x18004765b\ninc     ebp                                                            ; +0x1a2, 0x180047662\nmov     [r14], eax                                                     ; +0x1a4, 0x180047664\nadd     r14, 4                                                         ; +0x1a7, 0x180047667\ncmp     ebp, edi                                                       ; +0x1ab, 0x18004766b\njb      short loc_180047634                                            ; +0x1ad, 0x18004766d\nmov     rdx, [rbx+8]                                                   ; +0x1af, 0x18004766f\nlea     r8, [rsp+68h+arg_20]                                           ; +0x1b3, 0x180047673\nmov     r9d, cs:dword_180165854                                        ; +0x1bb, 0x18004767b\nmov     rcx, r15                                                       ; +0x1c2, 0x180047682\nmov     rdx, [rdx+78h]                                                 ; +0x1c5, 0x180047685\ncall    sub_180041D20                                                  ; +0x1c9, 0x180047689\ntest    eax, eax                                                       ; +0x1ce, 0x18004768e\njz      loc_1800478ED                                                  ; +0x1d0, 0x180047690\nmov     eax, [rsp+68h+arg_20]                                          ; +0x1d6, 0x180047696\nmov     [rsi+588h], eax                                                ; +0x1dd, 0x18004769d\nmov     ecx, [rsp+68h+arg_20]                                          ; +0x1e3, 0x1800476a3\ntest    ecx, ecx                                                       ; +0x1ea, 0x1800476aa\njz      short loc_1800476FB                                            ; +0x1ec, 0x1800476ac\ncmp     ecx, 1                                                         ; +0x1ee, 0x1800476ae\njz      short loc_1800476FB                                            ; +0x1f1, 0x1800476b1\nmov     rax, [rbx+8]                                                   ; +0x1f3, 0x1800476b3\ncmp     dword ptr [rax+1010h], 0                                       ; +0x1f7, 0x1800476b7\njnz     short loc_1800476E2                                            ; +0x1fe, 0x1800476be\nmov     r8, [rax+68h]                                                  ; +0x200, 0x1800476c0\nmov     edx, 3                                                         ; +0x204, 0x1800476c4\nmov     rcx, rbx                                                       ; +0x209, 0x1800476c9\ncall    qword ptr [rax+38h]                                            ; +0x20c, 0x1800476cc\nmov     rax, [rbx]                                                     ; +0x20f, 0x1800476cf\nmov     dword ptr [rax], 2                                             ; +0x212, 0x1800476d2\nmov     eax, 1                                                         ; +0x218, 0x1800476d8\njmp     loc_1800478EF                                                  ; +0x21d, 0x1800476dd\ninc     dword ptr [rax+1AD0h]                                          ; +0x222, 0x1800476e2\nmov     rax, [rbx]                                                     ; +0x228, 0x1800476e8\nmov     dword ptr [rax], 2                                             ; +0x22b, 0x1800476eb\nmov     eax, 1                                                         ; +0x231, 0x1800476f1\njmp     loc_1800478EF                                                  ; +0x236, 0x1800476f6\nmov     rdx, [rbx+8]                                                   ; +0x23b, 0x1800476fb\nlea     r8, [rsp+68h+arg_20]                                           ; +0x23f, 0x1800476ff\nmov     r9d, cs:dword_18016582C                                        ; +0x247, 0x180047707\nmov     rcx, r15                                                       ; +0x24e, 0x18004770e\nmov     rdx, [rdx+78h]                                                 ; +0x251, 0x180047711\ncall    sub_180041D20                                                  ; +0x255, 0x180047715\ntest    eax, eax                                                       ; +0x25a, 0x18004771a\njz      loc_1800478ED                                                  ; +0x25c, 0x18004771c\nmov     eax, [rsp+68h+arg_20]                                          ; +0x262, 0x180047722\nmov     edx, [rsi+588h]                                                ; +0x269, 0x180047729\nmov     [rsi+590h], eax                                                ; +0x26f, 0x18004772f\nlea     rax, ds:0[r13*2]                                               ; +0x275, 0x180047735\nmov     rcx, [rbx+8]                                                   ; +0x27d, 0x18004773d\nadd     rax, r13                                                       ; +0x281, 0x180047741\nadd     rcx, 100h                                                      ; +0x284, 0x180047744\nlea     r8, ds:0[rax*8]                                                ; +0x28b, 0x18004774b\nadd     rcx, r8                                                        ; +0x293, 0x180047753\nmov     [rsi+598h], rcx                                                ; +0x296, 0x180047756\ntest    edx, edx                                                       ; +0x29d, 0x18004775d\njz      short loc_180047766                                            ; +0x29f, 0x18004775f\ncmp     edx, 1                                                         ; +0x2a1, 0x180047761\njnz     short loc_1800477B2                                            ; +0x2a4, 0x180047764\nmov     rax, [rbx+8]                                                   ; +0x2a6, 0x180047766\ncmp     edx, 1                                                         ; +0x2aa, 0x18004776a\nmov     r9d, [rsi+590h]                                                ; +0x2ad, 0x18004776d\nmov     edx, 0                                                         ; +0x2b4, 0x180047774\nsetz    dl                                                             ; +0x2b9, 0x180047779\nmov     [rsp+68h+var_38], edx                                          ; +0x2bc, 0x18004777c\nmov     rdx, rbx                                                       ; +0x2c0, 0x180047780\nlea     rcx, [rax+100h]                                                ; +0x2c3, 0x180047783\nmov     rax, [rax+r13*8+0C0h]                                          ; +0x2ca, 0x18004778a\nadd     rcx, r8                                                        ; +0x2d2, 0x180047792\nmov     [rsp+68h+var_40], rax                                          ; +0x2d5, 0x180047795\nmov     [rsp+68h+var_48], rcx                                          ; +0x2da, 0x18004779a\nmov     r8d, edi                                                       ; +0x2df, 0x18004779f\nmov     rcx, r15                                                       ; +0x2e2, 0x1800477a2\ncall    sub_180046C10                                                  ; +0x2e5, 0x1800477a5\ntest    eax, eax                                                       ; +0x2ea, 0x1800477aa\njz      loc_1800478ED                                                  ; +0x2ec, 0x1800477ac\ncmp     [rsp+68h+arg_28], 0                                            ; +0x2f2, 0x1800477b2\njz      loc_1800478E6                                                  ; +0x2fa, 0x1800477ba\nmov     rcx, [rbx+8]                                                   ; +0x300, 0x1800477c0\nlea     r14, ds:0[rdi*4]                                               ; +0x304, 0x1800477c4\nlea     rdx, [rsi+62Ch]; Src                                           ; +0x30c, 0x1800477cc\nmov     r8, r14; Size                                                  ; +0x313, 0x1800477d3\nmov     rcx, [rcx+r13*8+80h]; void *                                   ; +0x316, 0x1800477d6\ncall    memmove                                                        ; +0x31e, 0x1800477de\nmov     ebp, [rsi+5A4h]                                                ; +0x323, 0x1800477e3\nmov     ecx, edi                                                       ; +0x329, 0x1800477e9\ncall    sub_180041990                                                  ; +0x32b, 0x1800477eb\nadd     eax, ebp                                                       ; +0x330, 0x1800477f0\nadd     eax, r12d                                                      ; +0x332, 0x1800477f2\ncmp     eax, 20h ; ' '                                                 ; +0x335, 0x1800477f5\nja      loc_1800478A9                                                  ; +0x338, 0x1800477f8\ncmp     r12d, 10h                                                      ; +0x33e, 0x1800477fe\nja      short loc_180047865                                            ; +0x342, 0x180047802\ncmp     ebp, 10h                                                       ; +0x344, 0x180047804\nja      short loc_180047865                                            ; +0x347, 0x180047807\nmov     r10, [rbx+8]                                                   ; +0x349, 0x180047809\nlea     r8, [rsi+5ACh]                                                 ; +0x34d, 0x18004780d\nmov     r9d, [rsi+5A8h]                                                ; +0x354, 0x180047814\nmov     rax, [r10+r13*8+80h]                                           ; +0x35b, 0x18004781b\nmov     edx, [r10+558h]                                                ; +0x363, 0x180047823\nadd     rax, r14                                                       ; +0x36a, 0x18004782a\nmov     rcx, [r10+r13*8+0C0h]                                          ; +0x36d, 0x18004782d\nsub     edx, edi                                                       ; +0x375, 0x180047835\nmov     [rsp+68h+var_40], rax                                          ; +0x377, 0x180047837\nmov     dword ptr [rsp+68h+var_48], r9d                                ; +0x37c, 0x18004783c\nmov     r9d, edi                                                       ; +0x381, 0x180047841\ncmp     edi, 8                                                         ; +0x384, 0x180047844\nja      short loc_180047857                                            ; +0x387, 0x180047847\ncall    qword ptr [r10+58h]                                            ; +0x389, 0x180047849\nmov     eax, 1                                                         ; +0x38d, 0x18004784d\njmp     loc_1800478EF                                                  ; +0x392, 0x180047852\ncall    qword ptr [r10+50h]                                            ; +0x397, 0x180047857\nmov     eax, 1                                                         ; +0x39b, 0x18004785b\njmp     loc_1800478EF                                                  ; +0x3a0, 0x180047860\nmov     r10, [rbx+8]                                                   ; +0x3a5, 0x180047865\nlea     r8, [rsi+5ACh]                                                 ; +0x3a9, 0x180047869\nmov     eax, [rsi+5A8h]                                                ; +0x3b0, 0x180047870\nmov     r9, [r10+r13*8+80h]                                            ; +0x3b6, 0x180047876\nmov     edx, [r10+558h]                                                ; +0x3be, 0x18004787e\nadd     r9, r14                                                        ; +0x3c5, 0x180047885\nmov     rcx, [r10+r13*8+0C0h]                                          ; +0x3c8, 0x180047888\nsub     edx, edi                                                       ; +0x3d0, 0x180047890\nmov     [rsp+68h+var_40], r9                                           ; +0x3d2, 0x180047892\nmov     r9d, edi                                                       ; +0x3d7, 0x180047897\nmov     dword ptr [rsp+68h+var_48], eax                                ; +0x3da, 0x18004789a\ncall    qword ptr [r10+40h]                                            ; +0x3de, 0x18004789e\nmov     eax, 1                                                         ; +0x3e2, 0x1800478a2\njmp     short loc_1800478EF                                            ; +0x3e7, 0x1800478a7\nmov     r10, [rbx+8]                                                   ; +0x3e9, 0x1800478a9\nlea     r8, [rsi+5ACh]                                                 ; +0x3ed, 0x1800478ad\nmov     eax, [rsi+5A8h]                                                ; +0x3f4, 0x1800478b4\nmov     r9d, edi                                                       ; +0x3fa, 0x1800478ba\nmov     rcx, [r10+r13*8+80h]                                           ; +0x3fd, 0x1800478bd\nmov     edx, [r10+558h]                                                ; +0x405, 0x1800478c5\nadd     rcx, r14                                                       ; +0x40c, 0x1800478cc\nmov     [rsp+68h+var_40], rcx                                          ; +0x40f, 0x1800478cf\nsub     edx, edi                                                       ; +0x414, 0x1800478d4\nmov     rcx, [r10+r13*8+0C0h]                                          ; +0x416, 0x1800478d6\nmov     dword ptr [rsp+68h+var_48], eax                                ; +0x41e, 0x1800478de\ncall    qword ptr [r10+48h]                                            ; +0x422, 0x1800478e2\nmov     eax, 1                                                         ; +0x426, 0x1800478e6\njmp     short loc_1800478EF                                            ; +0x42b, 0x1800478eb\nxor     eax, eax                                                       ; +0x42d, 0x1800478ed\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x42f, 0x1800478ef\nmov     rbp, [rsp+68h+arg_8]                                           ; +0x434, 0x1800478f4\nmov     rsi, [rsp+68h+arg_18]                                          ; +0x439, 0x1800478f9\nadd     rsp, 40h                                                       ; +0x441, 0x180047901\npop     r15                                                            ; +0x445, 0x180047905\npop     r14                                                            ; +0x447, 0x180047907\npop     r13                                                            ; +0x449, 0x180047909\npop     r12                                                            ; +0x44b, 0x18004790b\npop     rdi                                                            ; +0x44d, 0x18004790d\nretn                                                                   ; +0x44e, 0x18004790e", "xrefs": ["sub_180046ED0 @ 0x1800471b2", "<???> @ 0x1801f8280"], "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"}