//
// ProfilePage::create from 0x1001969a4 to 0x100196a14 (112 bytes)
//
// 16 xrefs:
// > LevelInfoLayer::onViewProfile @ 0x10002653c
// > LevelCell::onViewProfile @ 0x10010f160
// > CommentCell::onViewProfile @ 0x100110aec
// > GJScoreCell::onViewProfile @ 0x1001110b4
// > GJLevelScoreCell::onViewProfile @ 0x10011141c
// > GJUserCell::onViewProfile @ 0x1001115c8
// > GJRequestCell::onViewProfile @ 0x100111fd8
// > GJMessageCell::onViewProfile @ 0x1001127e0
// > LevelListCell::onViewProfile @ 0x100112f30
// > FRequestProfilePage::onClose @ 0x1001b6a08
// > MessagesProfilePage::onClose @ 0x1001cc8bc
// > FriendsProfilePage::onClose @ 0x1001d945c
// > LevelListLayer::onViewProfile @ 0x100244af4
// > MenuLayer::onMyProfile @ 0x100267ba8
// > ItemInfoPopup::onCredit @ 0x10030938c
// > InfoLayer::onMore @ 0x100351450
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
ProfilePage *__fastcall ProfilePage::create(int a1, bool a2)
{
ProfilePage *v4; // x19
v4 = (ProfilePage *)operator new(0x350u);
sub_10019E358();
if ( ProfilePage::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(ProfilePage *))v4->~ProfilePage_0)(v4);
return nullptr;
}
return v4;
}