//
// ItemInfoPopup::isUnlockedByDefault from 0x10035c450 to 0x10035c477 (39 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:28:54 +0000
//
bool __fastcall ItemInfoPopup::isUnlockedByDefault(__int64 a1, int a2, int a3)
{
int v3; // ecx
v3 = 5;
if ( a3 != 1 )
v3 = 2 * ((a3 & 0xFFFFFFFE) == 2) + 2;
return v3 > a2;
}