//
// GJBaseGameLayer::getItemValue from 0x10014c280 to 0x10014c2dc (92 bytes)
//
// 0 xrefs:
//
// 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
//
double __fastcall GJBaseGameLayer::getItemValue(GJBaseGameLayer *a1, int a2, int a3)
{
double result; // xmm0_8
switch ( a2 )
{
case 1:
result = (double)GJEffectManager::countForItem(a1->m_effectManager, a3);
break;
case 2:
result = GJEffectManager::timeForItem(a1->m_effectManager, a3);
break;
case 3:
result = (double)a1->m_gameState.m_points;
break;
case 4:
result = a1->m_timePlayed;
break;
case 5:
result = (double)a1->m_attempts;
break;
default:
result = 0.0;
break;
}
return result;
}