//
// GameManager::iconAndTypeForKey from 0x10036b220 to 0x10036b285 (101 bytes)
//
// 0 xrefs:
//
// 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 12:29:00 +0000
//
_DWORD *__fastcall GameManager::iconAndTypeForKey(__int64 a1, int a2, _DWORD *a3, unsigned int *a4)
{
_DWORD *result; // rax
unsigned int v5; // edi
result = *(_DWORD **)(a1 + 1232);
v5 = 0;
if ( result[1] > a2
|| (v5 = 1, result[2] > a2)
|| (v5 = 2, result[3] > a2)
|| (v5 = 3, result[4] > a2)
|| (v5 = 4, result[5] > a2)
|| (v5 = 5, result[6] > a2)
|| (v5 = 6, result[7] > a2)
|| (v5 = 7, result[8] > a2) )
{
*a4 = v5;
*a3 = a2 - result[v5] + 1;
}
return result;
}