//
// sub_1800F6F70 from 0x1800f6f70 to 0x1800f6fc3 (83 bytes)
//
// 1 xrefs:
// > sub_180057C90 @ 0x180057e86
//
// 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:24 +0000
//
__int64 __fastcall sub_1800F6F70(__int64 a1, int a2, int a3)
{
unsigned __int8 *v4; // r8
char v5; // dl
__int64 v6; // rcx
__int64 result; // rax
v4 = (unsigned __int8 *)&unk_1801B01F0 + 2 * byte_1801B02C7[8 * a2 + a3];
do
{
v5 = v4[1];
v6 = *v4;
v4 += 2;
result = (unsigned int)dword_1801B01A0[v5 & 0x7F];
*(_DWORD *)(a1 + 4 * v6) = result;
}
while ( v5 >= 0 );
return result;
}