//
// ProfilePage::onIconInfo from 0xa53238 to 0xa53290 (88 bytes)
//
// 3 xrefs:
// > ??> @ 0x5f8a8
// > ProfilePage::loadPageFromUserInfo @ 0xa59e5c
// > ??> @ 0x15423f0
//
// 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 13:00:06 +0000
//
__int64 __fastcall ProfilePage::onIconInfo(ProfilePage *this, cocos2d::CCObject *a2)
{
__int64 v3; // x20
unsigned int v4; // w0
unsigned int v5; // w0
__int64 v6; // x0
v3 = GameManager::sharedState(this);
v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v5 = GameManager::iconTypeToUnlockType(v3, v4);
v6 = ItemInfoPopup::create(*((_DWORD *)a2 + 124), v5);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}