//
// ProfilePage::create from 0x5fafd8 to 0x5fb108 (304 bytes)
//
// 32 xrefs:
// > MenuLayer::onMyProfile @ 0x3f95aa
// > GJThreadCell::onViewProfile @ 0x424360
// > LevelCell::onViewProfile @ 0x424388
// > LevelListCell::onViewProfile @ 0x4243aa
// > GJLevelScoreCell::onViewProfile @ 0x4243ce
// > GJCompactUserCell::onViewProfile @ 0x4243f2
// > GJRequestCell::onViewProfile @ 0x424416
// > GJMessageCell::onViewProfile @ 0x42443a
// > CommentCell::onViewProfile @ 0x42445a
// > GJScoreCell::onMoreLevels @ 0x4261bc
// > GJScoreCell::onViewProfile @ 0x42800a
// > GJNotificationCell::onViewTarget @ 0x42805a
// > LevelInfoLayer::onViewProfile @ 0x499dce
// > ItemInfoPopup::onCredit @ 0x50ae42
// > InfoLayer::onMore @ 0x53cbae
// > FRequestProfilePage::onClose @ 0x5f1310
// > FriendsProfilePage::onViewProfile @ 0x5f334e
// > FriendsProfilePage::onClose @ 0x5f33ba
// > LevelListLayer::onViewProfile @ 0x6d4cf4
// > AccountReviewPopup::onOpenProfile @ 0x73200c
// > AccountReviewPopup::jumpTo @ 0x732722
// > ReportQueuePopup::onOpenAuthor @ 0x73af2e
// > NotificationsPage::onClose @ 0x743188
// > ThreadViewPopup::onSenderProfile @ 0x745a64
// > ThreadOptionsPopup::onViewProfile @ 0x745a86
// > InvitesPopup::onViewInviter @ 0x745aba
// > ThreadRequestPopup::onViewProfile @ 0x745ada
// > FriendPickerPopup::onShowProfile @ 0x745b04
// > MemberListPopup::onMemberProfile @ 0x745b2e
// > MessageThreadsPage::onClose @ 0x745b96
// > EditorSoundConfigCell::onViewProfile @ 0x783b60
// > EditorSoundConfigInfoLayer::onViewProfile @ 0x784b02
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:35 +0000
//
FLAlertLayer *__fastcall ProfilePage::create(ProfilePage *this, int a2, bool a3)
{
FLAlertLayer *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (FLAlertLayer *)operator new(0x288u);
FLAlertLayer::FLAlertLayer(v5);
*(_DWORD *)v5 = &off_CC01D0;
*((_DWORD *)v5 + 66) = &off_CC04BC;
*((_DWORD *)v5 + 67) = &off_CC04F4;
*((_DWORD *)v5 + 68) = &off_CC0500;
*((_DWORD *)v5 + 69) = &off_CC0510;
*((_DWORD *)v5 + 70) = &off_CC0524;
*((_DWORD *)v5 + 79) = &off_CC053C;
*((_DWORD *)v5 + 83) = &off_CC057C;
*((_DWORD *)v5 + 110) = &off_CC058C;
*((_DWORD *)v5 + 130) = &off_CC05B0;
*((_DWORD *)v5 + 131) = &off_CC05BC;
*((_DWORD *)v5 + 132) = &off_CC05D4;
*((_DWORD *)v5 + 133) = &off_CC05F0;
*((_DWORD *)v5 + 134) = &off_CC0604;
*((_DWORD *)v5 + 135) = &off_CC0614;
*((_DWORD *)v5 + 136) = &off_CC0620;
*((_DWORD *)v5 + 137) = &off_CC0638;
*((_DWORD *)v5 + 138) = 0;
*((_DWORD *)v5 + 139) = 0;
*((_BYTE *)v5 + 560) = 0;
*((_DWORD *)v5 + 141) = 0;
*((_DWORD *)v5 + 142) = 0;
*((_DWORD *)v5 + 143) = 0;
*((_DWORD *)v5 + 144) = 0;
*((_DWORD *)v5 + 145) = 0;
*((_DWORD *)v5 + 146) = 0;
*((_DWORD *)v5 + 147) = 0;
*((_DWORD *)v5 + 148) = 0;
*((_DWORD *)v5 + 149) = 0;
*((_DWORD *)v5 + 150) = 0;
*((_BYTE *)v5 + 604) = 0;
*((_DWORD *)v5 + 152) = 0;
*((_DWORD *)v5 + 153) = 0;
*((_DWORD *)v5 + 154) = 0;
*((_DWORD *)v5 + 155) = 0;
*((_DWORD *)v5 + 156) = 0;
*((_DWORD *)v5 + 157) = 0;
*((_DWORD *)v5 + 158) = 0;
*((_DWORD *)v5 + 159) = 0;
*((_DWORD *)v5 + 160) = 0;
*((_DWORD *)v5 + 161) = 0;
if ( ProfilePage::init(v5, (int)this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}