//
// sub_180107800 from 0x180107800 to 0x180107846 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0350
// > ??> @ 0x180201538
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}