//
// GameManager::iconAndTypeForKey from 0x322554 to 0x32257c (40 bytes)
//
// 1 xrefs:
// > GameManager::finishedLoadingIconAsync @ 0x329770
//
// 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
//
void GameManager::iconAndTypeForKey(GameManager *a1, int a2, int *a3, int *a4)
{
int *m_start; // r5
int i; // r0
int v6; // r4
m_start = a1->m_keyStartForIcon.m_start;
for ( i = 0; ; ++i )
{
v6 = i + 1;
if ( a2 < m_start[i + 1] )
break;
if ( v6 == 8 )
return;
}
*a4 = i;
*a3 = a2 - m_start[i] + 1;
}