//
// ItemInfoPopup::isUnlockedByDefault from 0x793504 to 0x79353c (56 bytes)
//
// 2 xrefs:
// > ItemInfoPopup::init @ 0x7950d8
// > ??> @ 0x58de8
//
// 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;
if ( (unsigned int)(a3 - 2) <= 1 )
return a2 <= 3;
return a2 <= 1;
}