//
// ProfilePage::create from 0x1007b8570 to 0x1007b875e (494 bytes)
//
// 17 xrefs:
// > MessagesProfilePage::onClose @ 0x10022e4e0
// > LevelCell::onViewProfile @ 0x10025227b
// > CommentCell::onViewProfile @ 0x100254df8
// > GJScoreCell::onViewProfile @ 0x1002557fc
// > GJScoreCell::onMoreLevels @ 0x100255a53
// > GJLevelScoreCell::onViewProfile @ 0x100255e6c
// > GJUserCell::onViewProfile @ 0x10025642c
// > GJRequestCell::onViewProfile @ 0x10025775c
// > GJMessageCell::onViewProfile @ 0x10025871c
// > LevelListCell::onViewProfile @ 0x100259577
// > LevelInfoLayer::onViewProfile @ 0x1002bf835
// > LevelListLayer::onViewProfile @ 0x10035d8ae
// > ItemInfoPopup::onCredit @ 0x100372fc0
// > MenuLayer::onMyProfile @ 0x100391a36
// > FriendsProfilePage::onClose @ 0x100658347
// > FRequestProfilePage::onClose @ 0x100790920
// > InfoLayer::onMore @ 0x1007b03fa
//
// 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)
{
char *v2; // rbx
v2 = (char *)operator new(0x350u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v2);
*((_QWORD *)v2 + 72) = 0;
*((_DWORD *)v2 + 146) = 0;
v2[588] = 0;
*((_OWORD *)v2 + 34) = 0;
*(_OWORD *)(v2 + 553) = 0;
*((_OWORD *)v2 + 37) = 0;
*((_QWORD *)v2 + 76) = 0;
*((_DWORD *)v2 + 154) = -1;
*((_WORD *)v2 + 310) = 0;
*((_DWORD *)v2 + 156) = -1;
v2[628] = 0;
*(_QWORD *)v2 = off_100993D88;
*((_QWORD *)v2 + 40) = off_100994320;
*((_QWORD *)v2 + 41) = &off_100994390;
*((_QWORD *)v2 + 42) = off_1009943A8;
*((_QWORD *)v2 + 43) = off_1009943C8;
*((_QWORD *)v2 + 44) = off_1009943E8;
*((_QWORD *)v2 + 51) = off_100994410;
*((_QWORD *)v2 + 54) = off_100994490;
*((_QWORD *)v2 + 79) = &off_1009944B0;
*((_QWORD *)v2 + 80) = off_1009944C8;
*((_QWORD *)v2 + 81) = off_1009944F8;
*((_QWORD *)v2 + 82) = off_100994520;
*((_QWORD *)v2 + 83) = off_100994548;
*((_QWORD *)v2 + 84) = &off_100994568;
*((_QWORD *)v2 + 85) = off_100994580;
*((_QWORD *)v2 + 86) = 0;
*((_DWORD *)v2 + 174) = 0;
v2[700] = 0;
*((_QWORD *)v2 + 98) = 0;
*((_DWORD *)v2 + 210) = 0;
*(_OWORD *)(v2 + 761) = 0;
*((_OWORD *)v2 + 47) = 0;
*((_OWORD *)v2 + 46) = 0;
*((_OWORD *)v2 + 45) = 0;
*((_OWORD *)v2 + 44) = 0;
*((_OWORD *)v2 + 50) = 0;
*((_OWORD *)v2 + 51) = 0;
if ( ProfilePage::init((ProfilePage *)v2, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (ProfilePage *)v2;
}