//
// ItemInfoPopup::isUnlockedByDefault from 0x8bae10 to 0x8bae48 (56 bytes)
//
// 2 xrefs:
// > ItemInfoPopup::init @ 0x8be7f8
// > ??> @ 0x7a560
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:56:27 +0000
//
bool __fastcall ItemInfoPopup::isUnlockedByDefault(__int64 a1, int a2, int a3)
{
if ( a3 == 1 )
return a2 <= 4;
if ( (unsigned int)(a3 - 2) <= 1 )
return a2 <= 3;
return a2 <= 1;
}