//
// sub_10022E664 from 0x10022e664 to 0x10022e6b8 (84 bytes)
//
// 1 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x10022bd34
//
// 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 11:01:16 +0000
//
__int64 __fastcall sub_10022E664(__int64 a1, unsigned int *a2)
{
__int64 v3; // x20
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
v3 = GameManager::sharedState(a1);
v4 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 64LL))(a2);
v5 = GameManager::iconTypeToUnlockType(v3, v4);
v6 = ItemInfoPopup::create(a2[124], v5);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}