{"type": "func", "start": 6442800288, "end": 6442800467, "name": "sub_1800554A0", "pseudocode": "// \n// sub_1800554A0 from 0x1800554a0 to 0x180055553 (179 bytes)\n// \n// 4 xrefs:\n// > sub_1800FC5B0 @ 0x1800fc5d0\n// > <???> @ 0x180182184\n// > <???> @ 0x1801821b8\n// > <???> @ 0x1801f8cf4\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:19 +0000\n// \n\n__int64 __fastcall sub_1800554A0(__int64 a1)\n{\n  int v2; // esi\n  __int64 v3; // rdi\n  __int64 v4; // rcx\n  __int64 result; // rax\n  __int64 v6; // rdx\n\n  if ( *(_QWORD *)(a1 + 24) )\n  {\n    v2 = 0;\n    if ( *(int *)(a1 + 12) > 0 )\n    {\n      v3 = 0;\n      do\n      {\n        v4 = *(_QWORD *)(v3 + *(_QWORD *)(a1 + 24));\n        if ( v4 )\n        {\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 24LL))(v4);\n          (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + *(_QWORD *)(a1 + 24)) + 16LL))(*(_QWORD *)(v3 + *(_QWORD *)(a1 + 24)));\n        }\n        ++v2;\n        v3 += 8;\n      }\n      while ( v2 < *(_DWORD *)(a1 + 12) );\n    }\n    *(_QWORD *)(a1 + 24) = 0;\n    *(_DWORD *)(a1 + 12) = 0;\n  }\n  result = sub_1800B68A0(a1 + 48);\n  if ( !(_DWORD)result )\n  {\n    v6 = *(_QWORD *)(a1 + 40);\n    if ( v6 )\n    {\n      sub_1800B6AA0(\n        *((_QWORD *)off_1801AED20 + 52),\n        v6,\n        \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_dsp_codecpool.cpp\",\n        353,\n        1);\n      *(_QWORD *)(a1 + 40) = 0;\n    }\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800554A0 from 0x1800554a0 to 0x180055553 (179 bytes)\n; \n; 4 xrefs:\n; > sub_1800FC5B0 @ 0x1800fc5d0\n; > <???> @ 0x180182184\n; > <???> @ 0x1801821b8\n; > <???> @ 0x1801f8cf4\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:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800554a0\nsub     rsp, 30h                                                       ; +0x2, 0x1800554a2\ncmp     qword ptr [rcx+18h], 0                                         ; +0x6, 0x1800554a6\nmov     rbx, rcx                                                       ; +0xb, 0x1800554ab\njz      short loc_180055508                                            ; +0xe, 0x1800554ae\nmov     [rsp+38h+arg_0], rsi                                           ; +0x10, 0x1800554b0\nxor     esi, esi                                                       ; +0x15, 0x1800554b5\ncmp     [rcx+0Ch], esi                                                 ; +0x17, 0x1800554b7\njle     short loc_1800554F4                                            ; +0x1a, 0x1800554ba\nmov     [rsp+38h+arg_8], rdi                                           ; +0x1c, 0x1800554bc\nxor     edi, edi                                                       ; +0x21, 0x1800554c1\nmov     rax, [rbx+18h]                                                 ; +0x23, 0x1800554c3\nmov     rcx, [rdi+rax]                                                 ; +0x27, 0x1800554c7\ntest    rcx, rcx                                                       ; +0x2b, 0x1800554cb\njz      short loc_1800554E4                                            ; +0x2e, 0x1800554ce\nmov     rax, [rcx]                                                     ; +0x30, 0x1800554d0\ncall    qword ptr [rax+18h]                                            ; +0x33, 0x1800554d3\nmov     rax, [rbx+18h]                                                 ; +0x36, 0x1800554d6\nmov     rcx, [rdi+rax]                                                 ; +0x3a, 0x1800554da\nmov     rax, [rcx]                                                     ; +0x3e, 0x1800554de\ncall    qword ptr [rax+10h]                                            ; +0x41, 0x1800554e1\ninc     esi                                                            ; +0x44, 0x1800554e4\nadd     rdi, 8                                                         ; +0x46, 0x1800554e6\ncmp     esi, [rbx+0Ch]                                                 ; +0x4a, 0x1800554ea\njl      short loc_1800554C3                                            ; +0x4d, 0x1800554ed\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x4f, 0x1800554ef\nmov     rsi, [rsp+38h+arg_0]                                           ; +0x54, 0x1800554f4\nmov     qword ptr [rbx+18h], 0                                         ; +0x59, 0x1800554f9\nmov     dword ptr [rbx+0Ch], 0                                         ; +0x61, 0x180055501\nlea     rcx, [rbx+30h]                                                 ; +0x68, 0x180055508\ncall    sub_1800B68A0                                                  ; +0x6c, 0x18005550c\ntest    eax, eax                                                       ; +0x71, 0x180055511\njnz     short loc_18005554D                                            ; +0x73, 0x180055513\nmov     rdx, [rbx+28h]                                                 ; +0x75, 0x180055515\ntest    rdx, rdx                                                       ; +0x79, 0x180055519\njz      short loc_18005554B                                            ; +0x7c, 0x18005551c\nmov     rcx, cs:off_1801AED20                                          ; +0x7e, 0x18005551e\nlea     r8, aCBuildagent1Wo_17; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x85, 0x180055525\nmov     r9d, 161h                                                      ; +0x8c, 0x18005552c\nmov     [rsp+38h+var_18], 1                                            ; +0x92, 0x180055532\nmov     rcx, [rcx+1A0h]                                                ; +0x97, 0x180055537\ncall    sub_1800B6AA0                                                  ; +0x9e, 0x18005553e\nmov     qword ptr [rbx+28h], 0                                         ; +0xa3, 0x180055543\nxor     eax, eax                                                       ; +0xab, 0x18005554b\nadd     rsp, 30h                                                       ; +0xad, 0x18005554d\npop     rbx                                                            ; +0xb1, 0x180055551\nretn                                                                   ; +0xb2, 0x180055552", "xrefs": ["sub_1800FC5B0 @ 0x1800fc5d0", "<???> @ 0x180182184", "<???> @ 0x1801821b8", "<???> @ 0x1801f8cf4"], "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"}