//
// ItemInfoPopup::isUnlockedByDefault from 0x50bcfc to 0x50bd18 (28 bytes)
//
// 1 xrefs:
// > ItemInfoPopup::init @ 0x50e250
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:28 +0000
//
bool __fastcall ItemInfoPopup::isUnlockedByDefault(int a1, int a2, int a3)
{
if ( a3 == 1 )
{
return a2 <= 4;
}
else if ( (unsigned int)(a3 - 2) > 1 )
{
return a2 <= 1;
}
else
{
return a2 <= 3;
}
}