//
// sub_180107800 from 0x180107800 to 0x180107846 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0350
// > ??> @ 0x180201538
//
// 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_180107800(__int64 a1)
{
__int64 v2; // rax
v2 = (**(__int64 (__fastcall ***)(__int64, _QWORD, const char *))(a1 + 40))(
56,
0,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_dsp_porthead.cpp");
*(_QWORD *)(a1 + 8) = v2;
if ( !v2 )
return 38;
*(_QWORD *)(v2 + 48) = *(_QWORD *)(*(_QWORD *)a1 + 168LL);
return 0;
}