//
// ItemInfoPopup::isUnlockedByDefault from 0x403ee8 to 0x403f04 (28 bytes)
//
// 1 xrefs:
// > ItemInfoPopup::init @ 0x405332
//
// 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
//
bool ItemInfoPopup::isUnlockedByDefault(ItemInfoPopup *a1, int a2, UnlockType a3)
{
if ( a3 == 1 )
{
return a2 <= 4;
}
else if ( (unsigned int)(a3 - 2) > 1 )
{
return a2 <= 1;
}
else
{
return a2 <= 3;
}
}