//
// FRequestProfilePage::create from 0x10078fc20 to 0x10078fdb6 (406 bytes)
//
// 3 xrefs:
// > FRequestProfilePage::onClose @ 0x100790903
// > FRequestProfilePage::onSentRequests @ 0x100790a1d
// > ProfilePage::onRequests @ 0x1007be790
//
// 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
//
FRequestProfilePage *__fastcall FRequestProfilePage::create(bool a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x318u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v1);
*((_QWORD *)v1 + 72) = 0;
*((_DWORD *)v1 + 146) = 0;
v1[588] = 0;
*((_OWORD *)v1 + 34) = 0;
*(_OWORD *)(v1 + 553) = 0;
*((_OWORD *)v1 + 37) = 0;
*((_QWORD *)v1 + 76) = 0;
*((_DWORD *)v1 + 154) = -1;
*((_WORD *)v1 + 310) = 0;
*((_DWORD *)v1 + 156) = -1;
v1[628] = 0;
*(_QWORD *)v1 = off_10098B4C0;
*((_QWORD *)v1 + 40) = off_10098BA20;
*((_QWORD *)v1 + 41) = &off_10098BA90;
*((_QWORD *)v1 + 42) = off_10098BAA8;
*((_QWORD *)v1 + 43) = off_10098BAC8;
*((_QWORD *)v1 + 44) = off_10098BAE8;
*((_QWORD *)v1 + 51) = off_10098BB10;
*((_QWORD *)v1 + 54) = off_10098BB90;
*((_QWORD *)v1 + 79) = &off_10098BBB0;
*((_QWORD *)v1 + 80) = off_10098BBC8;
*((_QWORD *)v1 + 81) = &off_10098BBE8;
*((_QWORD *)v1 + 82) = off_10098BC00;
v1[664] = 0;
*((_OWORD *)v1 + 46) = 0;
*((_OWORD *)v1 + 45) = 0;
*((_OWORD *)v1 + 44) = 0;
*((_OWORD *)v1 + 43) = 0;
*((_OWORD *)v1 + 42) = 0;
*((_QWORD *)v1 + 94) = 0;
*((_OWORD *)v1 + 48) = 0;
v1[784] = 0;
if ( FRequestProfilePage::init((FRequestProfilePage *)v1, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (FRequestProfilePage *)v1;
}