//
// sub_1800F8A90 from 0x1800f8a90 to 0x1800f8aeb (91 bytes)
//
// 1 xrefs:
// > sub_180100EC0 @ 0x180100ef6
//
// 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_1800F8A90(int a1, _DWORD *a2, _QWORD *a3, _QWORD *a4, _QWORD *a5)
{
__int64 result; // rax
if ( a2 )
{
result = *((unsigned int *)&unk_18016E420 + 8 * a1);
*a2 = result;
}
if ( a3 )
{
result = *((_QWORD *)&unk_18016E420 + 4 * a1 + 3);
*a3 = result;
}
if ( a4 )
{
result = *((_QWORD *)&unk_18016E420 + 4 * a1 + 1);
*a4 = result;
}
if ( a5 )
{
result = *((_QWORD *)&unk_18016E420 + 4 * a1 + 2);
*a5 = result;
}
return result;
}