//
// GameStatsManager::shopTypeForItemID from 0x40c8c4 to 0x40c8d2 (14 bytes)
//
// 1 xrefs:
// > GameStatsManager::recountSpecialStats @ 0x41d6b0
//
// 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
//
ShopType GameStatsManager::shopTypeForItemID(GameStatsManager *a1, int a2)
{
ShopType result; // r0
result = (ShopType)GameStatsManager::getStoreItem(a1, a2);
if ( result )
return *(_DWORD *)(result + 312);
return result;
}