//
// GameManager::activeIconForType from 0x14027cea0 to 0x14027cf68 (200 bytes)
//
// 2 xrefs:
// > GJGarageLayer::setupPage @ 0x14037ea1d
// > GJGarageLayer::getItems_1 @ 0x14037f111
//
// 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 11:28:58 +0000
//
__int64 __fastcall GameManager::activeIconForType(_DWORD *a1, int a2)
{
__int64 result; // rax
switch ( a2 )
{
case 0:
result = (unsigned int)(a1[187] - a1[188]);
break;
case 1:
result = (unsigned int)(a1[190] - a1[191]);
break;
case 2:
result = (unsigned int)(a1[193] - a1[194]);
break;
case 3:
result = (unsigned int)(a1[196] - a1[197]);
break;
case 4:
result = (unsigned int)(a1[199] - a1[200]);
break;
case 5:
result = (unsigned int)(a1[202] - a1[203]);
break;
case 6:
result = (unsigned int)(a1[205] - a1[206]);
break;
case 7:
result = (unsigned int)(a1[208] - a1[209]);
break;
case 8:
result = (unsigned int)(a1[229] - a1[230]);
break;
case 98:
result = (unsigned int)(a1[226] - a1[227]);
break;
case 99:
result = (unsigned int)(a1[220] - a1[221]);
break;
case 101:
result = (unsigned int)(a1[223] - a1[224]);
break;
default:
result = 0;
break;
}
return result;
}