//
// ProfilePage::onRequests from 0x140559870 to 0x140559a8a (538 bytes)
//
// 2 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x140555545
// > ??> @ 0x14092c018
//
// This function is hookable on this platform (idp: pc, 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:34:12 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall ProfilePage::onRequests(struct cocos2d::CCObject *a1)
{
char *v1; // rbx
__int64 (__fastcall *v2)(__int64); // rdx
ProfilePage::onClose(a1);
v1 = (char *)operator new(0x3A8u);
FLAlertLayer::FLAlertLayer((__int64)v1);
*(_QWORD *)v1 = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 40) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 41) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 42) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 43) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 44) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 51) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 54) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 68) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 83) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 84) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 85) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 86) = &FRequestProfilePage::`vftable';
*((_QWORD *)v1 + 87) = &FRequestProfilePage::`vftable';
*((_WORD *)v1 + 352) = 0;
*(_OWORD *)(v1 + 712) = 0;
*((_QWORD *)v1 + 91) = 0;
*((_QWORD *)v1 + 92) = 15;
v1[712] = 0;
*(_OWORD *)(v1 + 744) = 0;
*((_QWORD *)v1 + 95) = 0;
*((_QWORD *)v1 + 96) = 15;
v1[744] = 0;
*((_QWORD *)v1 + 97) = 0;
*((_QWORD *)v1 + 98) = 0;
*((_QWORD *)v1 + 99) = 0;
*((_QWORD *)v1 + 100) = 0;
*((_QWORD *)v1 + 101) = 0;
*((_QWORD *)v1 + 102) = 0;
*((_QWORD *)v1 + 103) = 0;
*((_QWORD *)v1 + 104) = 0;
*((_QWORD *)v1 + 105) = 0;
*((_QWORD *)v1 + 107) = 0;
*((_QWORD *)v1 + 108) = 0;
*((_QWORD *)v1 + 109) = 0;
*((_QWORD *)v1 + 110) = 0;
*((_QWORD *)v1 + 111) = 0;
v1[896] = 0;
*((_QWORD *)v1 + 113) = 0;
*((_QWORD *)v1 + 114) = 0;
*((_QWORD *)v1 + 115) = 0;
*((_QWORD *)v1 + 116) = 0;
if ( FRequestProfilePage::init((__int64)v1, 0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);
v1 = nullptr;
}
v2 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1064LL);
if ( v2 == FLAlertLayer::show )
return FLAlertLayer::show((__int64)v1);
else
return v2((__int64)v1);
}