//
// ProfilePage::onIconInfo from 0x140555ce0 to 0x140555d50 (112 bytes)
//
// 2 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x140553be1
// > ??> @ 0x14092be2c
//
// 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 11:34:11 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall ProfilePage::onIconInfo(__int64 a1, unsigned int *a2)
{
int v3; // eax
__int64 v4; // rcx
unsigned int v5; // eax
cocos2d::CCObject *v6; // rax
void *v8; // [rsp+38h] [rbp+10h]
if ( !qword_14090BFD0 )
{
v8 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v8);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
}
v3 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 56LL))(a2);
v5 = GameManager::iconTypeToUnlockType(v4, v3);
v6 = ItemInfoPopup::create(a2[128], v5);
return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v6 + 1064LL))(v6);
}