//
// ItemInfoPopup::isUnlockedByDefault from 0x100372f80 to 0x100372fa7 (39 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
//
bool __fastcall ItemInfoPopup::isUnlockedByDefault(ItemInfoPopup *a1, int a2, UnlockType a3)
{
int v3; // ecx
v3 = 5;
if ( a3 != 1 )
v3 = 2 * ((a3 & 0xFFFFFFFE) == 2) + 2;
return v3 > a2;
}