{"type": "func", "start": 6443266672, "end": 6443267774, "name": "sub_1800C7270", "pseudocode": "// \n// sub_1800C7270 from 0x1800c7270 to 0x1800c76be (1102 bytes)\n// \n// 4 xrefs:\n// > sub_1800C6FC0 @ 0x1800c6fc0\n// > <???> @ 0x18018ad04\n// > <???> @ 0x18018ad38\n// > <???> @ 0x1801fe0a0\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:54:06 +0000\n// \n\n__int64 __fastcall sub_1800C7270(__int64 a1)\n{\n  struct _RTL_CRITICAL_SECTION *v2; // rcx\n  unsigned int v3; // ebx\n  __int64 v4; // rdx\n  __int64 v5; // r9\n  __int64 v6; // r15\n  int v7; // r8d\n  __int64 v8; // rdx\n  int v9; // r9d\n  __int64 v10; // rax\n  _DWORD *v11; // rdx\n  __int64 v12; // rax\n  __int64 v13; // rdi\n  __int64 v14; // rsi\n  char v15; // r14\n  __int64 v16; // rsi\n  __int64 v17; // rcx\n  __int64 v18; // rdx\n  __int64 v19; // rdi\n  __int64 v20; // rax\n  __int64 v21; // rcx\n  __int64 v22; // rcx\n  __int64 v23; // rdx\n  __int64 v24; // rcx\n  __int64 v25; // rax\n  __int64 result; // rax\n  __int64 v27; // rcx\n  __int64 v28; // [rsp+70h] [rbp+28h] BYREF\n\n  v2 = *(struct _RTL_CRITICAL_SECTION **)(a1 + 360);\n  v3 = 0;\n  v28 = 0;\n  FMOD_OS_CriticalSection_Enter(v2);\n  v4 = *(_QWORD *)(a1 + 336);\n  if ( v4 != a1 + 336 )\n  {\n    v28 = *(_QWORD *)(v4 + 16);\n    **(_QWORD **)(v4 + 8) = *(_QWORD *)v4;\n    *(_QWORD *)(*(_QWORD *)v4 + 8LL) = *(_QWORD *)(v4 + 8);\n    *(_QWORD *)(v4 + 8) = v4;\n    *(_QWORD *)v4 = v4;\n  }\n  FMOD_OS_CriticalSection_Leave(*(struct _RTL_CRITICAL_SECTION **)(a1 + 360));\n  if ( !v28 )\n    return 0;\n  v6 = *(_QWORD *)(v28 + 216);\n  switch ( *(_DWORD *)(v28 + 272) )\n  {\n    case 1:\n      v7 = *(_DWORD *)(v28 + 44);\n      v8 = *(_QWORD *)(v28 + 264);\n      v9 = *(_DWORD *)(v8 + 8);\n      v10 = v8 + 56;\n      if ( (v7 & 0x10000800) != 0 )\n      {\n        if ( !*(_BYTE *)(v8 + 280) )\n          v10 = 0;\n        v3 = sub_1800FE610(v6, *(_QWORD *)(v8 + 48), v7, v9, *(_DWORD *)(v8 + 12), v10, 1, (__int64)&v28);\n      }\n      else\n      {\n        if ( !*(_BYTE *)(v8 + 280) )\n          v10 = 0;\n        v3 = sub_1800FE610(v6, *(_QWORD *)v8, v7, v9, *(_DWORD *)(v8 + 12), v10, 1, (__int64)&v28);\n        v11 = **(_DWORD ***)(v28 + 264);\n        if ( v11 )\n        {\n          sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v11);\n          **(_QWORD **)(v28 + 264) = 0;\n        }\n      }\n      if ( !v3 )\n      {\n        v12 = *(_QWORD *)(v28 + 264);\n        if ( *(_BYTE *)(v12 + 280) )\n          *(_QWORD *)(v28 + 200) = *(_QWORD *)(v12 + 160);\n      }\n      break;\n    case 7:\n      v13 = v28;\n      while ( (*(_DWORD *)(v13 + 88) & 0x440) == 0 )\n        FMOD_OS_Time_Sleep(0xAu);\n      if ( (*(_DWORD *)(v13 + 88) & 0x40) != 0 )\n      {\n        v14 = *(_QWORD *)(v28 + 216);\n        if ( v14 )\n        {\n          sub_1801021C0(*(_QWORD *)(v28 + 216), 8);\n          *(_DWORD *)(*(_QWORD *)(v13 + 376) + 60LL) &= ~0x4000u;\n          sub_180102300(v14, 8);\n        }\n        else\n        {\n          *(_DWORD *)(*(_QWORD *)(v13 + 376) + 60LL) &= ~0x4000u;\n        }\n      }\n      else\n      {\n        LOBYTE(v5) = 1;\n        v3 = (*(__int64 (__fastcall **)(_QWORD, _QWORD, _QWORD, __int64))(**(_QWORD **)(v13 + 376) + 208LL))(\n               *(_QWORD *)(v13 + 376),\n               *(unsigned int *)(*(_QWORD *)(v28 + 264) + 284LL),\n               *(unsigned int *)(*(_QWORD *)(v28 + 264) + 288LL),\n               v5);\n        v15 = 0;\n        v16 = *(_QWORD *)(v28 + 216);\n        if ( v16 )\n        {\n          sub_1801021C0(*(_QWORD *)(v28 + 216), 8);\n          v15 = 1;\n        }\n        *(_DWORD *)(*(_QWORD *)(v13 + 376) + 60LL) &= ~0x4000u;\n        if ( v3 )\n        {\n          if ( v3 == 30 )\n            v3 = 0;\n        }\n        else\n        {\n          v17 = *(_QWORD *)(v13 + 376);\n          if ( *(_QWORD *)(v17 + 192) )\n          {\n            v18 = *(_DWORD *)(v17 + 60) >> 5;\n            LOBYTE(v18) = (*(_DWORD *)(v17 + 60) & 0x20) != 0;\n            (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v17 + 80LL))(v17, v18);\n          }\n        }\n        if ( v15 && v16 )\n          sub_180102300(v16, 8);\n      }\n      break;\n    case 5:\n      v19 = v28;\n      v3 = sub_1800E1350(v28, *(unsigned int *)(v28 + 192));\n      if ( !v3 )\n      {\n        v3 = sub_1800DD7C0(v19, 0, 2);\n        if ( !v3 )\n          v3 = sub_1800DD5E0(v19);\n      }\n      break;\n  }\n  *(_DWORD *)(*(_QWORD *)(v28 + 264) + 292LL) = v3;\n  v20 = v28;\n  v21 = *(_QWORD *)(v28 + 184);\n  if ( v21 )\n  {\n    *(_BYTE *)(v21 + 92) = 1;\n    v20 = v28;\n  }\n  *(_BYTE *)(v20 + 92) = 1;\n  *(_DWORD *)(v28 + 272) = v3 != 0 ? 2 : 0;\n  v22 = v28;\n  if ( *(_QWORD *)(v28 + 184) )\n  {\n    *(_DWORD *)(*(_QWORD *)(v28 + 184) + 272LL) = *(_DWORD *)(v28 + 272);\n    v22 = v28;\n  }\n  if ( *(_QWORD *)(v22 + 168) )\n  {\n    v23 = *(unsigned int *)(v22 + 272);\n    *(_DWORD *)(*(_QWORD *)(v28 + 168) + 272LL) = v23;\nLABEL_48:\n    v24 = v28;\n    goto LABEL_49;\n  }\n  if ( !(**(unsigned __int8 (__fastcall ***)(__int64))v22)(v22) )\n    goto LABEL_48;\n  v24 = v28;\n  if ( *(_DWORD *)(v28 + 176) == 1 && **(_QWORD **)(v28 + 160) )\n  {\n    v23 = *(unsigned int *)(v28 + 272);\n    *(_DWORD *)(**(_QWORD **)(v28 + 160) + 272LL) = v23;\n    goto LABEL_48;\n  }\nLABEL_49:\n  v25 = *(_QWORD *)(v24 + 264);\n  if ( !*(_BYTE *)(v25 + 280) || !*(_QWORD *)(v25 + 128) )\n    goto LABEL_54;\n  LOBYTE(v23) = 1;\n  result = sub_180102260(v6, v23);\n  if ( !(_DWORD)result )\n  {\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v28 + 264) + 128LL))(v28, v3);\n    result = sub_180102340(v6);\n    if ( !(_DWORD)result )\n    {\n      v24 = v28;\nLABEL_54:\n      *(_BYTE *)(v24 + 92) = 0;\n      v27 = *(_QWORD *)(v28 + 184);\n      if ( v27 )\n        *(_BYTE *)(v27 + 92) = 0;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C7270 from 0x1800c7270 to 0x1800c76be (1102 bytes)\n; \n; 4 xrefs:\n; > sub_1800C6FC0 @ 0x1800c6fc0\n; > <???> @ 0x18018ad04\n; > <???> @ 0x18018ad38\n; > <???> @ 0x1801fe0a0\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:54:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x1800c7270\npush    rbx                                                            ; +0x2, 0x1800c7272\npush    rdi                                                            ; +0x3, 0x1800c7273\npush    r12                                                            ; +0x4, 0x1800c7274\nmov     rbp, rsp                                                       ; +0x6, 0x1800c7276\nsub     rsp, 48h                                                       ; +0x9, 0x1800c7279\nmov     rdi, rcx                                                       ; +0xd, 0x1800c727d\nxor     r12d, r12d                                                     ; +0x10, 0x1800c7280\nmov     rcx, [rcx+168h]                                                ; +0x13, 0x1800c7283\nmov     ebx, r12d                                                      ; +0x1a, 0x1800c728a\nmov     [rbp+arg_0], r12                                               ; +0x1d, 0x1800c728d\ncall    FMOD_OS_CriticalSection_Enter                                  ; +0x21, 0x1800c7291\nlea     rax, [rdi+150h]                                                ; +0x26, 0x1800c7296\nmov     rdx, [rax]                                                     ; +0x2d, 0x1800c729d\ncmp     rdx, rax                                                       ; +0x30, 0x1800c72a0\njz      short loc_1800C72C9                                            ; +0x33, 0x1800c72a3\nmov     rax, [rdx+10h]                                                 ; +0x35, 0x1800c72a5\nmov     [rbp+arg_0], rax                                               ; +0x39, 0x1800c72a9\nmov     rcx, [rdx+8]                                                   ; +0x3d, 0x1800c72ad\nmov     rax, [rdx]                                                     ; +0x41, 0x1800c72b1\nmov     [rcx], rax                                                     ; +0x44, 0x1800c72b4\nmov     rcx, [rdx]                                                     ; +0x47, 0x1800c72b7\nmov     rax, [rdx+8]                                                   ; +0x4a, 0x1800c72ba\nmov     [rcx+8], rax                                                   ; +0x4e, 0x1800c72be\nmov     [rdx+8], rdx                                                   ; +0x52, 0x1800c72c2\nmov     [rdx], rdx                                                     ; +0x56, 0x1800c72c6\nmov     rcx, [rdi+168h]                                                ; +0x59, 0x1800c72c9\nmov     [rsp+48h+var_8], r15                                           ; +0x60, 0x1800c72d0\ncall    FMOD_OS_CriticalSection_Leave                                  ; +0x65, 0x1800c72d5\nmov     rax, [rbp+arg_0]                                               ; +0x6a, 0x1800c72da\ntest    rax, rax                                                       ; +0x6e, 0x1800c72de\njz      loc_1800C76AD                                                  ; +0x71, 0x1800c72e1\nmov     r15, [rax+0D8h]                                                ; +0x77, 0x1800c72e7\nmov     eax, [rax+110h]                                                ; +0x7e, 0x1800c72ee\nnop                                                                    ; +0x84, 0x1800c72f4\nmov     [rsp+48h+arg_8], rsi                                           ; +0x85, 0x1800c72f5\ncmp     eax, 1                                                         ; +0x8a, 0x1800c72fa\njnz     loc_1800C73F0                                                  ; +0x8d, 0x1800c72fd\nmov     rdx, [rbp+arg_0]                                               ; +0x93, 0x1800c7303\nlea     rcx, [rbp+arg_0]                                               ; +0x97, 0x1800c7307\nmov     [rsp+48h+var_10], rcx                                          ; +0x9b, 0x1800c730b\nmov     rcx, r15                                                       ; +0xa0, 0x1800c7310\nmov     [rsp+48h+var_18], 1                                            ; +0xa3, 0x1800c7313\nmov     r8d, [rdx+2Ch]                                                 ; +0xa8, 0x1800c7318\nmov     rdx, [rdx+108h]                                                ; +0xac, 0x1800c731c\nmov     r9d, [rdx+8]                                                   ; +0xb3, 0x1800c7323\nlea     rax, [rdx+38h]                                                 ; +0xb7, 0x1800c7327\ntest    r8d, 10000800h                                                 ; +0xbb, 0x1800c732b\njz      short loc_1800C7357                                            ; +0xc2, 0x1800c7332\ncmp     [rdx+118h], bl                                                 ; +0xc4, 0x1800c7334\ncmovz   rax, r12                                                       ; +0xca, 0x1800c733a\nmov     [rsp+48h+var_20], rax                                          ; +0xce, 0x1800c733e\nmov     eax, [rdx+0Ch]                                                 ; +0xd3, 0x1800c7343\nmov     rdx, [rdx+30h]                                                 ; +0xd6, 0x1800c7346\nmov     [rsp+48h+var_28], eax                                          ; +0xda, 0x1800c734a\ncall    sub_1800FE610                                                  ; +0xde, 0x1800c734e\nmov     ebx, eax                                                       ; +0xe3, 0x1800c7353\njmp     short loc_1800C73BD                                            ; +0xe5, 0x1800c7355\ncmp     [rdx+118h], bl                                                 ; +0xe7, 0x1800c7357\ncmovz   rax, r12                                                       ; +0xed, 0x1800c735d\nmov     [rsp+48h+var_20], rax                                          ; +0xf1, 0x1800c7361\nmov     eax, [rdx+0Ch]                                                 ; +0xf6, 0x1800c7366\nmov     rdx, [rdx]                                                     ; +0xf9, 0x1800c7369\nmov     [rsp+48h+var_28], eax                                          ; +0xfc, 0x1800c736c\ncall    sub_1800FE610                                                  ; +0x100, 0x1800c7370\nmov     ebx, eax                                                       ; +0x105, 0x1800c7375\nmov     rax, [rbp+arg_0]                                               ; +0x107, 0x1800c7377\nmov     rcx, [rax+108h]                                                ; +0x10b, 0x1800c737b\nmov     rdx, [rcx]                                                     ; +0x112, 0x1800c7382\ntest    rdx, rdx                                                       ; +0x115, 0x1800c7385\njz      short loc_1800C73BD                                            ; +0x118, 0x1800c7388\nmov     rcx, cs:off_1801AED20                                          ; +0x11a, 0x1800c738a\nlea     r8, aCBuildagent1Wo_50; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x121, 0x1800c7391\nmov     r9d, 0CDh                                                      ; +0x128, 0x1800c7398\nmov     byte ptr [rsp+48h+var_28], 1                                   ; +0x12e, 0x1800c739e\nmov     rcx, [rcx+1A0h]                                                ; +0x133, 0x1800c73a3\ncall    sub_1800B6AA0                                                  ; +0x13a, 0x1800c73aa\nmov     rax, [rbp+arg_0]                                               ; +0x13f, 0x1800c73af\nmov     rcx, [rax+108h]                                                ; +0x143, 0x1800c73b3\nmov     [rcx], r12                                                     ; +0x14a, 0x1800c73ba\ntest    ebx, ebx                                                       ; +0x14d, 0x1800c73bd\njnz     loc_1800C7575                                                  ; +0x14f, 0x1800c73bf\nmov     rcx, [rbp+arg_0]                                               ; +0x155, 0x1800c73c5\nmov     rax, [rcx+108h]                                                ; +0x159, 0x1800c73c9\ncmp     [rax+118h], r12b                                               ; +0x160, 0x1800c73d0\njz      loc_1800C7575                                                  ; +0x167, 0x1800c73d7\nmov     rax, [rax+0A0h]                                                ; +0x16d, 0x1800c73dd\nmov     [rcx+0C8h], rax                                                ; +0x174, 0x1800c73e4\njmp     loc_1800C7575                                                  ; +0x17b, 0x1800c73eb\nmov     rax, [rbp+arg_0]                                               ; +0x180, 0x1800c73f0\nmov     ecx, [rax+110h]                                                ; +0x184, 0x1800c73f4\nnop                                                                    ; +0x18a, 0x1800c73fa\ncmp     ecx, 7                                                         ; +0x18b, 0x1800c73fb\njnz     loc_1800C752F                                                  ; +0x18e, 0x1800c73fe\nmov     rdi, [rbp+arg_0]                                               ; +0x194, 0x1800c7404\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x198, 0x1800c7408\nmov     eax, [rdi+58h]                                                 ; +0x1a0, 0x1800c7410\nnop                                                                    ; +0x1a3, 0x1800c7413\ntest    eax, 440h                                                      ; +0x1a4, 0x1800c7414\njnz     short loc_1800C7427                                            ; +0x1a9, 0x1800c7419\nmov     ecx, 0Ah                                                       ; +0x1ab, 0x1800c741b\ncall    FMOD_OS_Time_Sleep                                             ; +0x1b0, 0x1800c7420\njmp     short loc_1800C7410                                            ; +0x1b5, 0x1800c7425\nmov     eax, [rdi+58h]                                                 ; +0x1b7, 0x1800c7427\nnop                                                                    ; +0x1ba, 0x1800c742a\ntest    al, 40h                                                        ; +0x1bb, 0x1800c742b\nmov     rax, [rbp+arg_0]                                               ; +0x1bd, 0x1800c742d\njz      short loc_1800C747F                                            ; +0x1c1, 0x1800c7431\nmov     rsi, [rax+0D8h]                                                ; +0x1c3, 0x1800c7433\ntest    rsi, rsi                                                       ; +0x1ca, 0x1800c743a\njz      short loc_1800C746C                                            ; +0x1cd, 0x1800c743d\nmov     edx, 8                                                         ; +0x1cf, 0x1800c743f\nmov     rcx, rsi                                                       ; +0x1d4, 0x1800c7444\ncall    sub_1801021C0                                                  ; +0x1d7, 0x1800c7447\nmov     rax, [rdi+178h]                                                ; +0x1dc, 0x1800c744c\nmov     edx, 8                                                         ; +0x1e3, 0x1800c7453\nmov     rcx, rsi                                                       ; +0x1e8, 0x1800c7458\nand     dword ptr [rax+3Ch], 0FFFFBFFFh                                ; +0x1eb, 0x1800c745b\ncall    sub_180102300                                                  ; +0x1f2, 0x1800c7462\njmp     loc_1800C7575                                                  ; +0x1f7, 0x1800c7467\nmov     rax, [rdi+178h]                                                ; +0x1fc, 0x1800c746c\nand     dword ptr [rax+3Ch], 0FFFFBFFFh                                ; +0x203, 0x1800c7473\njmp     loc_1800C7575                                                  ; +0x20a, 0x1800c747a\nmov     rdx, [rax+108h]                                                ; +0x20f, 0x1800c747f\nmov     r9b, 1                                                         ; +0x216, 0x1800c7486\nmov     rcx, [rdi+178h]                                                ; +0x219, 0x1800c7489\nmov     [rsp+48h+arg_10], r14                                          ; +0x220, 0x1800c7490\nmov     r8d, [rdx+120h]                                                ; +0x228, 0x1800c7498\nmov     rax, [rcx]                                                     ; +0x22f, 0x1800c749f\nmov     edx, [rdx+11Ch]                                                ; +0x232, 0x1800c74a2\ncall    qword ptr [rax+0D0h]                                           ; +0x238, 0x1800c74a8\nmov     ebx, eax                                                       ; +0x23e, 0x1800c74ae\nxor     r14b, r14b                                                     ; +0x240, 0x1800c74b0\nmov     rax, [rbp+arg_0]                                               ; +0x243, 0x1800c74b3\nmov     rsi, [rax+0D8h]                                                ; +0x247, 0x1800c74b7\ntest    rsi, rsi                                                       ; +0x24e, 0x1800c74be\njz      short loc_1800C74D3                                            ; +0x251, 0x1800c74c1\nmov     edx, 8                                                         ; +0x253, 0x1800c74c3\nmov     rcx, rsi                                                       ; +0x258, 0x1800c74c8\ncall    sub_1801021C0                                                  ; +0x25b, 0x1800c74cb\nmov     r14b, 1                                                        ; +0x260, 0x1800c74d0\nmov     rax, [rdi+178h]                                                ; +0x263, 0x1800c74d3\nand     dword ptr [rax+3Ch], 0FFFFBFFFh                                ; +0x26a, 0x1800c74da\ntest    ebx, ebx                                                       ; +0x271, 0x1800c74e1\njnz     short loc_1800C7507                                            ; +0x273, 0x1800c74e3\nmov     rcx, [rdi+178h]                                                ; +0x275, 0x1800c74e5\ncmp     [rcx+0C0h], r12                                                ; +0x27c, 0x1800c74ec\njz      short loc_1800C750E                                            ; +0x283, 0x1800c74f3\nmov     edx, [rcx+3Ch]                                                 ; +0x285, 0x1800c74f5\nmov     r8, [rcx]                                                      ; +0x288, 0x1800c74f8\nshr     edx, 5                                                         ; +0x28b, 0x1800c74fb\nand     dl, 1                                                          ; +0x28e, 0x1800c74fe\ncall    qword ptr [r8+50h]                                             ; +0x291, 0x1800c7501\njmp     short loc_1800C750E                                            ; +0x295, 0x1800c7505\ncmp     ebx, 1Eh                                                       ; +0x297, 0x1800c7507\ncmovz   ebx, r12d                                                      ; +0x29a, 0x1800c750a\ntest    r14b, r14b                                                     ; +0x29e, 0x1800c750e\nmov     r14, [rsp+48h+arg_10]                                          ; +0x2a1, 0x1800c7511\njz      short loc_1800C7575                                            ; +0x2a9, 0x1800c7519\ntest    rsi, rsi                                                       ; +0x2ab, 0x1800c751b\njz      short loc_1800C7575                                            ; +0x2ae, 0x1800c751e\nmov     edx, 8                                                         ; +0x2b0, 0x1800c7520\nmov     rcx, rsi                                                       ; +0x2b5, 0x1800c7525\ncall    sub_180102300                                                  ; +0x2b8, 0x1800c7528\njmp     short loc_1800C7575                                            ; +0x2bd, 0x1800c752d\nmov     rax, [rbp+arg_0]                                               ; +0x2bf, 0x1800c752f\nmov     ecx, [rax+110h]                                                ; +0x2c3, 0x1800c7533\nnop                                                                    ; +0x2c9, 0x1800c7539\ncmp     ecx, 5                                                         ; +0x2ca, 0x1800c753a\njnz     short loc_1800C7575                                            ; +0x2cd, 0x1800c753d\nmov     rdi, [rbp+arg_0]                                               ; +0x2cf, 0x1800c753f\nmov     rcx, rdi                                                       ; +0x2d3, 0x1800c7543\nmov     edx, [rdi+0C0h]                                                ; +0x2d6, 0x1800c7546\ncall    sub_1800E1350                                                  ; +0x2dc, 0x1800c754c\nmov     ebx, eax                                                       ; +0x2e1, 0x1800c7551\ntest    eax, eax                                                       ; +0x2e3, 0x1800c7553\njnz     short loc_1800C7575                                            ; +0x2e5, 0x1800c7555\nxor     edx, edx                                                       ; +0x2e7, 0x1800c7557\nlea     r8d, [rax+2]                                                   ; +0x2e9, 0x1800c7559\nmov     rcx, rdi                                                       ; +0x2ed, 0x1800c755d\ncall    sub_1800DD7C0                                                  ; +0x2f0, 0x1800c7560\nmov     ebx, eax                                                       ; +0x2f5, 0x1800c7565\ntest    eax, eax                                                       ; +0x2f7, 0x1800c7567\njnz     short loc_1800C7575                                            ; +0x2f9, 0x1800c7569\nmov     rcx, rdi                                                       ; +0x2fb, 0x1800c756b\ncall    sub_1800DD5E0                                                  ; +0x2fe, 0x1800c756e\nmov     ebx, eax                                                       ; +0x303, 0x1800c7573\nmov     rax, [rbp+arg_0]                                               ; +0x305, 0x1800c7575\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x309, 0x1800c7579\nmov     rcx, [rax+108h]                                                ; +0x30e, 0x1800c757e\nmov     [rcx+124h], ebx                                                ; +0x315, 0x1800c7585\nmov     rax, [rbp+arg_0]                                               ; +0x31b, 0x1800c758b\nmov     rcx, [rax+0B8h]                                                ; +0x31f, 0x1800c758f\ntest    rcx, rcx                                                       ; +0x326, 0x1800c7596\njz      short loc_1800C75A3                                            ; +0x329, 0x1800c7599\nmov     byte ptr [rcx+5Ch], 1                                          ; +0x32b, 0x1800c759b\nmov     rax, [rbp+arg_0]                                               ; +0x32f, 0x1800c759f\nmov     byte ptr [rax+5Ch], 1                                          ; +0x333, 0x1800c75a3\nmov     eax, ebx                                                       ; +0x337, 0x1800c75a7\nneg     eax                                                            ; +0x339, 0x1800c75a9\nmov     rax, [rbp+arg_0]                                               ; +0x33b, 0x1800c75ab\nnop                                                                    ; +0x33f, 0x1800c75af\nsbb     ecx, ecx                                                       ; +0x340, 0x1800c75b0\nand     ecx, 2                                                         ; +0x342, 0x1800c75b2\nmov     [rax+110h], ecx                                                ; +0x345, 0x1800c75b5\nmov     rcx, [rbp+arg_0]                                               ; +0x34b, 0x1800c75bb\ncmp     [rcx+0B8h], r12                                                ; +0x34f, 0x1800c75bf\njz      short loc_1800C75E5                                            ; +0x356, 0x1800c75c6\nmov     edx, [rcx+110h]                                                ; +0x358, 0x1800c75c8\nnop                                                                    ; +0x35e, 0x1800c75ce\nmov     rax, [rbp+arg_0]                                               ; +0x35f, 0x1800c75cf\nmov     rcx, [rax+0B8h]                                                ; +0x363, 0x1800c75d3\nnop                                                                    ; +0x36a, 0x1800c75da\nmov     [rcx+110h], edx                                                ; +0x36b, 0x1800c75db\nmov     rcx, [rbp+arg_0]                                               ; +0x371, 0x1800c75e1\ncmp     [rcx+0A8h], r12                                                ; +0x375, 0x1800c75e5\njz      short loc_1800C7609                                            ; +0x37c, 0x1800c75ec\nmov     edx, [rcx+110h]                                                ; +0x37e, 0x1800c75ee\nnop                                                                    ; +0x384, 0x1800c75f4\nmov     rax, [rbp+arg_0]                                               ; +0x385, 0x1800c75f5\nmov     rcx, [rax+0A8h]                                                ; +0x389, 0x1800c75f9\nnop                                                                    ; +0x390, 0x1800c7600\nmov     [rcx+110h], edx                                                ; +0x391, 0x1800c7601\njmp     short loc_1800C7647                                            ; +0x397, 0x1800c7607\nmov     rax, [rcx]                                                     ; +0x399, 0x1800c7609\ncall    qword ptr [rax]                                                ; +0x39c, 0x1800c760c\ntest    al, al                                                         ; +0x39e, 0x1800c760e\njz      short loc_1800C7647                                            ; +0x3a0, 0x1800c7610\nmov     rcx, [rbp+arg_0]                                               ; +0x3a2, 0x1800c7612\ncmp     dword ptr [rcx+0B0h], 1                                        ; +0x3a6, 0x1800c7616\njnz     short loc_1800C764B                                            ; +0x3ad, 0x1800c761d\nmov     rax, [rcx+0A0h]                                                ; +0x3af, 0x1800c761f\ncmp     [rax], r12                                                     ; +0x3b6, 0x1800c7626\njz      short loc_1800C764B                                            ; +0x3b9, 0x1800c7629\nmov     edx, [rcx+110h]                                                ; +0x3bb, 0x1800c762b\nnop                                                                    ; +0x3c1, 0x1800c7631\nmov     rax, [rbp+arg_0]                                               ; +0x3c2, 0x1800c7632\nmov     rcx, [rax+0A0h]                                                ; +0x3c6, 0x1800c7636\nmov     rax, [rcx]                                                     ; +0x3cd, 0x1800c763d\nnop                                                                    ; +0x3d0, 0x1800c7640\nmov     [rax+110h], edx                                                ; +0x3d1, 0x1800c7641\nmov     rcx, [rbp+arg_0]                                               ; +0x3d7, 0x1800c7647\nmov     rax, [rcx+108h]                                                ; +0x3db, 0x1800c764b\ncmp     [rax+118h], r12b                                               ; +0x3e2, 0x1800c7652\njz      short loc_1800C7695                                            ; +0x3e9, 0x1800c7659\ncmp     [rax+80h], r12                                                 ; +0x3eb, 0x1800c765b\njz      short loc_1800C7695                                            ; +0x3f2, 0x1800c7662\nmov     dl, 1                                                          ; +0x3f4, 0x1800c7664\nmov     rcx, r15                                                       ; +0x3f6, 0x1800c7666\ncall    sub_180102260                                                  ; +0x3f9, 0x1800c7669\ntest    eax, eax                                                       ; +0x3fe, 0x1800c766e\njnz     short loc_1800C76AF                                            ; +0x400, 0x1800c7670\nmov     rcx, [rbp+arg_0]                                               ; +0x402, 0x1800c7672\nmov     edx, ebx                                                       ; +0x406, 0x1800c7676\nmov     rax, [rcx+108h]                                                ; +0x408, 0x1800c7678\ncall    qword ptr [rax+80h]                                            ; +0x40f, 0x1800c767f\nmov     rcx, r15                                                       ; +0x415, 0x1800c7685\ncall    sub_180102340                                                  ; +0x418, 0x1800c7688\ntest    eax, eax                                                       ; +0x41d, 0x1800c768d\njnz     short loc_1800C76AF                                            ; +0x41f, 0x1800c768f\nmov     rcx, [rbp+arg_0]                                               ; +0x421, 0x1800c7691\nmov     [rcx+5Ch], r12b                                                ; +0x425, 0x1800c7695\nmov     rax, [rbp+arg_0]                                               ; +0x429, 0x1800c7699\nmov     rcx, [rax+0B8h]                                                ; +0x42d, 0x1800c769d\ntest    rcx, rcx                                                       ; +0x434, 0x1800c76a4\njz      short loc_1800C76AD                                            ; +0x437, 0x1800c76a7\nmov     [rcx+5Ch], r12b                                                ; +0x439, 0x1800c76a9\nxor     eax, eax                                                       ; +0x43d, 0x1800c76ad\nmov     r15, [rsp+48h+var_8]                                           ; +0x43f, 0x1800c76af\nadd     rsp, 48h                                                       ; +0x444, 0x1800c76b4\npop     r12                                                            ; +0x448, 0x1800c76b8\npop     rdi                                                            ; +0x44a, 0x1800c76ba\npop     rbx                                                            ; +0x44b, 0x1800c76bb\npop     rbp                                                            ; +0x44c, 0x1800c76bc\nretn                                                                   ; +0x44d, 0x1800c76bd", "xrefs": ["sub_1800C6FC0 @ 0x1800c6fc0", "<???> @ 0x18018ad04", "<???> @ 0x18018ad38", "<???> @ 0x1801fe0a0"], "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"}