//
// ProfilePage::create from 0x100229c44 to 0x100229cb4 (112 bytes)
//
// 31 xrefs:
// > LevelInfoLayer::onViewProfile @ 0x100029cb0
// > LevelCell::onViewProfile @ 0x10013695c
// > CommentCell::onViewProfile @ 0x100138558
// > GJScoreCell::onViewProfile @ 0x100138d28
// > sub_100139070 @ 0x100139090
// > sub_1001399F0 @ 0x100139a10
// > GJRequestCell::onViewProfile @ 0x100139f94
// > sub_10013A3BC @ 0x10013a3dc
// > sub_10013A99C @ 0x10013a9d4
// > sub_10013AFEC @ 0x10013b00c
// > sub_10013B824 @ 0x10013b840
// > sub_10024B91C @ 0x10024b984
// > sub_100272BAC @ 0x100272bd8
// > FriendsProfilePage::onClose @ 0x100273d30
// > sub_1002E1B90 @ 0x1002e1bb0
// > sub_10030506C @ 0x1003050b0
// > sub_1003A6090 @ 0x1003a60a8
// > InfoLayer::onMore @ 0x1003efa8c
// > sub_1004CF85C @ 0x1004cf87c
// > sub_1004D1738 @ 0x1004d1770
// > sub_1004F4FC8 @ 0x1004f5044
// > sub_1004FBE44 @ 0x1004fbe68
// > sub_100504588 @ 0x1005045b4
// > sub_100507CE4 @ 0x100507d10
// > sub_10050D340 @ 0x10050d364
// > sub_1005102C8 @ 0x1005102f4
// > sub_100515150 @ 0x10051516c
// > sub_100524570 @ 0x1005245c0
// > sub_10053B54C @ 0x10053b5ac
// > sub_100541CC4 @ 0x100541cd4
// > sub_10054B298 @ 0x10054b2c4
//
// 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 11:01:12 +0000
//
void *__fastcall ProfilePage::create(__int64 a1, __int64 a2)
{
void *v4; // x19
v4 = operator new(0x380u);
ProfilePage::ProfilePage();
if ( (unsigned int)ProfilePage::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}