//
// ProfilePage::create from 0x10089dad0 to 0x10089db2b (91 bytes)
//
// 32 xrefs:
// > LevelCell::onViewProfile @ 0x10023aecb
// > CommentCell::onViewProfile @ 0x10023dde8
// > GJScoreCell::onViewProfile @ 0x10023e97c
// > GJScoreCell::onMoreLevels @ 0x10023ebd3
// > GJLevelScoreCell::onViewProfile @ 0x10023efec
// > GJCompactUserCell::onViewProfile @ 0x10023feac
// > GJRequestCell::onViewProfile @ 0x1002406bc
// > GJThreadCell::onViewProfile @ 0x100240e09
// > GJNotificationCell::onViewTarget @ 0x10024171c
// > GJMessageCell::onViewProfile @ 0x10024246c
// > LevelListCell::onViewProfile @ 0x100243307
// > LevelInfoLayer::onViewProfile @ 0x1002ac475
// > LevelListLayer::onViewProfile @ 0x100348e6e
// > ItemInfoPopup::onCredit @ 0x10035c490
// > MenuLayer::onMyProfile @ 0x10037c756
// > FriendsProfilePage::onViewProfile @ 0x1007365b1
// > FriendsProfilePage::onClose @ 0x100737e4b
// > sub_10086FCA0 @ 0x10086fd6e
// > InfoLayer::onMore @ 0x1008936d2
// > sub_1008F3490 @ 0x1008f34ac
// > sub_1008F5BC0 @ 0x1008f5bfb
// > MessageThreadsPage::onClose @ 0x1009297e7
// > sub_100932480 @ 0x100932495
// > sub_10093DFB0 @ 0x10093dfd1
// > sub_100942860 @ 0x100942881
// > sub_10094A1F0 @ 0x10094a209
// > sub_10094E710 @ 0x10094e72e
// > sub_100955390 @ 0x1009553a4
// > sub_10096AD10 @ 0x10096ad5b
// > NotificationsPage::onClose @ 0x10098bab5
// > sub_100995B90 @ 0x100995b9c
// > sub_1009A4070 @ 0x1009a408d
//
// 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:37:10 +0000
//
void *__fastcall ProfilePage::create(unsigned int a1, unsigned __int8 a2)
{
void *v2; // rbx
v2 = operator new(0x380u);
sub_1008A9F60(v2);
if ( (unsigned __int8)ProfilePage::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}