//
// sub_180107850 from 0x180107850 to 0x18010788d (61 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0358
// > ??> @ 0x180201544
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:32 +0000
//
__int64 __fastcall sub_180107850(__int64 a1)
{
_DWORD **v1; // rdi
__int64 result; // rax
v1 = *(_DWORD ***)(a1 + 8);
result = sub_1800BDBC0(v1);
if ( !(_DWORD)result )
{
(*(void (__fastcall **)(_DWORD **, _QWORD, const char *))(*(_QWORD *)(a1 + 40) + 16LL))(
v1,
0,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_dsp_porthead.cpp");
return 0;
}
return result;
}