//
// sub_1800C2290 from 0x1800c2290 to 0x1800c235e (206 bytes)
//
// 2 xrefs:
// > sub_1800C2180 @ 0x1800c21e8
// > ??> @ 0x1801fdc74
//
// 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_1800C2290(__int64 a1, int a2, _BYTE *a3, int a4, _OWORD *a5, _DWORD *a6, int a7, _DWORD *a8)
{
__int64 v8; // rdi
__int64 v10; // rax
__int64 v11; // rax
__int64 v12; // rax
__int64 v13; // rax
v8 = a2;
if ( a3 && a4 >= 1 )
{
v10 = a1 + 1072;
if ( !a1 )
v10 = 1080;
sub_1800B7D20(a3, (char *)(*(_QWORD *)v10 + 60LL * a2), a4);
}
if ( a5 )
{
v11 = a1 + 1072;
if ( !a1 )
v11 = 1080;
*a5 = *(_OWORD *)(*(_QWORD *)v11 + 60 * v8 + 44);
}
if ( a6 )
{
v12 = a1 + 1072;
if ( !a1 )
v12 = 1080;
*a6 = *(_DWORD *)(*(_QWORD *)v12 + 60 * v8 + 40);
}
if ( a8 )
{
v13 = a1 + 1072;
if ( !a1 )
v13 = 1080;
*a8 = *(_DWORD *)(*(_QWORD *)v13 + 60 * v8 + 36);
}
return 0;
}