{"type": "func", "start": 6443530320, "end": 6443530381, "name": "sub_180107850", "pseudocode": "// \n// sub_180107850 from 0x180107850 to 0x18010788d (61 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801b0358\n// > <???> @ 0x180201544\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_180107850(__int64 a1)\n{\n  _DWORD **v1; // rdi\n  __int64 result; // rax\n\n  v1 = *(_DWORD ***)(a1 + 8);\n  result = sub_1800BDBC0(v1);\n  if ( !(_DWORD)result )\n  {\n    (*(void (__fastcall **)(_DWORD **, _QWORD, const char *))(*(_QWORD *)(a1 + 40) + 16LL))(\n      v1,\n      0,\n      \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_dsp_porthead.cpp\");\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_180107850 from 0x180107850 to 0x18010788d (61 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801b0358\n; > <???> @ 0x180201544\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_0], rbx                                               ; +0x0, 0x180107850\npush    rdi                                                            ; +0x5, 0x180107855\nsub     rsp, 20h                                                       ; +0x6, 0x180107856\nmov     rdi, [rcx+8]                                                   ; +0xa, 0x18010785a\nmov     rbx, rcx                                                       ; +0xe, 0x18010785e\nmov     rcx, rdi                                                       ; +0x11, 0x180107861\ncall    sub_1800BDBC0                                                  ; +0x14, 0x180107864\ntest    eax, eax                                                       ; +0x19, 0x180107869\njnz     short loc_180107882                                            ; +0x1b, 0x18010786b\nmov     rax, [rbx+28h]                                                 ; +0x1d, 0x18010786d\nlea     r8, aCBuildagent1Wo_78; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x21, 0x180107871\nxor     edx, edx                                                       ; +0x28, 0x180107878\nmov     rcx, rdi                                                       ; +0x2a, 0x18010787a\ncall    qword ptr [rax+10h]                                            ; +0x2d, 0x18010787d\nxor     eax, eax                                                       ; +0x30, 0x180107880\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x32, 0x180107882\nadd     rsp, 20h                                                       ; +0x37, 0x180107887\npop     rdi                                                            ; +0x3b, 0x18010788b\nretn                                                                   ; +0x3c, 0x18010788c", "xrefs": ["<???> @ 0x1801b0358", "<???> @ 0x180201544"], "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"}