//
// ProfilePage::create from 0xa5c6a0 to 0xa5c8ec (588 bytes)
//
// 33 xrefs:
// > MenuLayer::onMyProfile @ 0x6ea690
// > GJThreadCell::onViewProfile @ 0x7356dc
// > LevelCell::onViewProfile @ 0x735718
// > LevelListCell::onViewProfile @ 0x73574c
// > GJLevelScoreCell::onViewProfile @ 0x735784
// > GJCompactUserCell::onViewProfile @ 0x7357bc
// > GJRequestCell::onViewProfile @ 0x7357f4
// > GJMessageCell::onViewProfile @ 0x73582c
// > CommentCell::onViewProfile @ 0x73585c
// > GJScoreCell::onMoreLevels @ 0x739118
// > GJScoreCell::onViewProfile @ 0x73b61c
// > GJNotificationCell::onViewTarget @ 0x73b870
// > LevelInfoLayer::onViewProfile @ 0x7e53ac
// > ItemInfoPopup::onCredit @ 0x8b9658
// > InfoLayer::onMore @ 0x9074c8
// > FRequestProfilePage::onClose @ 0xa4c85c
// > FriendsProfilePage::onViewProfile @ 0xa4f940
// > FriendsProfilePage::onClose @ 0xa4f9fc
// > LevelListLayer::onViewProfile @ 0xba90b0
// > AccountReviewPopup::onOpenProfile @ 0xc3f5c4
// > AccountReviewPopup::jumpTo @ 0xc407c4
// > ReportQueuePopup::onOpenAuthor @ 0xc4fd88
// > NotificationsPage::onClose @ 0xc5e88c
// > ThreadViewPopup::onSenderProfile @ 0xc62d0c
// > ThreadOptionsPopup::onViewProfile @ 0xc62d4c
// > InvitesPopup::onViewInviter @ 0xc62da8
// > ThreadRequestPopup::onViewProfile @ 0xc62ddc
// > FriendPickerPopup::onShowProfile @ 0xc62e20
// > MemberListPopup::onMemberProfile @ 0xc62e64
// > MessageThreadsPage::onClose @ 0xc62f00
// > EditorSoundConfigCell::onViewProfile @ 0xccaee0
// > EditorSoundConfigInfoLayer::onViewProfile @ 0xcccb84
// > ??> @ 0xf8b18
//
// 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:12 +0000
//
__int64 __fastcall ProfilePage::create(ProfilePage *this, unsigned __int8 a2)
{
int v2; // w21
__int64 v4; // x19
v2 = (int)this;
v4 = operator new(0x380u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v4);
*(_QWORD *)(v4 + 552) = 0;
*(_QWORD *)v4 = &off_1419A40;
*(_QWORD *)(v4 + 320) = off_1419F90;
*(_QWORD *)(v4 + 328) = &off_141A000;
*(_QWORD *)(v4 + 336) = off_141A018;
*(_QWORD *)(v4 + 344) = off_141A038;
*(_QWORD *)(v4 + 352) = off_141A060;
*(_QWORD *)(v4 + 408) = &off_141A090;
*(_QWORD *)(v4 + 432) = &off_141A110;
*(_QWORD *)(v4 + 544) = off_141A130;
*(_QWORD *)(v4 + 560) = 0;
*(_QWORD *)(v4 + 568) = 0;
*(_BYTE *)(v4 + 576) = 0;
*(_QWORD *)(v4 + 584) = 0;
*(_DWORD *)(v4 + 592) = 0;
*(_BYTE *)(v4 + 596) = 0;
*(_BYTE *)(v4 + 597) = 0;
*(_BYTE *)(v4 + 598) = 0;
*(_BYTE *)(v4 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 600));
*(_QWORD *)(v4 + 608) = 0;
*(_DWORD *)(v4 + 632) = -1;
*(_DWORD *)(v4 + 640) = -1;
*(_QWORD *)(v4 + 616) = 0;
*(_QWORD *)(v4 + 624) = 0;
*(_BYTE *)(v4 + 636) = 0;
*(_BYTE *)(v4 + 637) = 0;
*(_BYTE *)(v4 + 644) = 0;
*(_BYTE *)(v4 + 656) = 0;
*(_DWORD *)(v4 + 648) = 0;
*(_DWORD *)(v4 + 652) = 0;
*(_QWORD *)(v4 + 728) = 0;
*(_QWORD *)v4 = &off_148CA80;
*(_QWORD *)(v4 + 320) = off_148D058;
*(_QWORD *)(v4 + 328) = &off_148D0C8;
*(_QWORD *)(v4 + 336) = off_148D0E0;
*(_QWORD *)(v4 + 344) = off_148D100;
*(_QWORD *)(v4 + 352) = off_148D128;
*(_QWORD *)(v4 + 408) = &off_148D158;
*(_QWORD *)(v4 + 432) = &off_148D1D8;
*(_QWORD *)(v4 + 544) = off_148D1F8;
*(_QWORD *)(v4 + 664) = &off_148D240;
*(_QWORD *)(v4 + 672) = &off_148D258;
*(_QWORD *)(v4 + 680) = &off_148D288;
*(_QWORD *)(v4 + 688) = &off_148D2C0;
*(_QWORD *)(v4 + 696) = off_148D2E8;
*(_QWORD *)(v4 + 704) = &off_148D308;
*(_QWORD *)(v4 + 712) = off_148D320;
*(_QWORD *)(v4 + 720) = off_148D350;
*(_DWORD *)(v4 + 736) = 0;
*(_BYTE *)(v4 + 740) = 0;
*(_QWORD *)(v4 + 744) = 0;
*(_QWORD *)(v4 + 752) = 0;
*(_QWORD *)(v4 + 760) = 0;
*(_QWORD *)(v4 + 768) = 0;
*(_QWORD *)(v4 + 776) = 0;
*(_QWORD *)(v4 + 784) = 0;
*(_QWORD *)(v4 + 792) = 0;
*(_QWORD *)(v4 + 800) = 0;
*(_QWORD *)(v4 + 808) = 0;
*(_QWORD *)(v4 + 816) = 0;
*(_BYTE *)(v4 + 824) = 0;
*(_QWORD *)(v4 + 832) = 0;
*(_QWORD *)(v4 + 840) = 0;
*(_DWORD *)(v4 + 848) = 0;
*(_DWORD *)(v4 + 852) = 0;
*(_DWORD *)(v4 + 856) = 0;
*(_DWORD *)(v4 + 860) = 0;
*(_QWORD *)(v4 + 864) = 0;
*(_QWORD *)(v4 + 872) = 0;
*(_QWORD *)(v4 + 880) = 0;
*(_DWORD *)(v4 + 888) = 0;
if ( (unsigned __int8)ProfilePage::init((ProfilePage *)v4, v2, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return 0;
}
}