//
// GameStatsManager::accountIDForIcon from 0x1000654a8 to 0x1000654fc (84 bytes)
//
// 1 xrefs:
// > ItemInfoPopup::init @ 0x100308eb8
//
// 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
//
// local variable allocation has failed, the output may be wrong!
int __fastcall GameStatsManager::accountIDForIcon(GameStatsManager *a1, int a2, UnlockType a3)
{
GameStatsManager *v4; // x0
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
v6 = (unsigned int)a2 | (*(_QWORD *)&a3 << 32);
v4 = (GameStatsManager *)sub_10001BD38((__int64)&a1->m_accountIDForIcon, (int *)&v6);
if ( &a1->m_accountIDForIcon.__tree_.__pair1_ == (std::__compressed_pair *>> *)v4 )
return 0;
else
return v4->m_uUnknown;
}