//
// sub_1801073C0 from 0x1801073c0 to 0x180107457 (151 bytes)
//
// 2 xrefs:
// > sub_1800E4E00 @ 0x1800e59e8
// > ??> @ 0x180201514
//
// 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_1801073C0(__int64 a1, __int64 a2)
{
_QWORD *v4; // rax
char v6; // [rsp+30h] [rbp-18h]
v6 = 1;
v4 = sub_1800B6530(
*((_QWORD *)off_1801AED20 + 52),
48,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_profile_stats.cpp",
16,
0,
0,
v6);
if ( !v4 )
return 38;
v4[4] = a1;
v4[3] = 0;
v4[2] = v4 + 1;
v4[1] = v4 + 1;
*v4 = off_18016EE00;
v4[5] = a2;
return (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 8LL))(a1, v4);
}