//
// FRequestProfilePage::dFRequestProfilePage from 0x14020f240 to 0x14020f41f (479 bytes)
//
// 3 xrefs:
// > sub_140212F90 @ 0x140212f97
// > ??> @ 0x140755fc8
// > ??> @ 0x14091b434
//
// 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:28:18 +0000
//
// Hidden C++ exception states: #wind=1
char *__fastcall FRequestProfilePage::dFRequestProfilePage(char *Block, char a2)
{
char *v4; // rdi
char *v5; // rsi
__int64 v6; // rax
void *v7; // rax
cocos2d::CCNotificationCenter *v8; // rax
cocos2d::CCObject *v9; // rcx
__int64 v10; // rax
cocos2d::CCObject *v11; // rcx
*(_QWORD *)Block = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 40) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 41) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 42) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 43) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 44) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 51) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 54) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 68) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 83) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 84) = &FRequestProfilePage::`vftable';
*((_QWORD *)Block + 85) = &FRequestProfilePage::`vftable';
v4 = Block + 688;
*((_QWORD *)Block + 86) = &FRequestProfilePage::`vftable';
v5 = Block + 696;
*((_QWORD *)Block + 87) = &FRequestProfilePage::`vftable';
v6 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v7 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v7);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v6 = *(_QWORD *)&qword_14090BFB0;
}
if ( *(char **)(v6 + 1504) == v4 )
*(_QWORD *)(v6 + 1504) = 0;
if ( *(char **)(v6 + 1496) == v5 )
*(_QWORD *)(v6 + 1496) = 0;
v8 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(Block);
cocos2d::CCNotificationCenter::removeObserver(
v8,
(struct cocos2d::CCObject *)Block,
"RequestSelectionChangedNotification");
v9 = *((cocos2d::CCObject **)Block + 111);
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = *((_QWORD *)Block + 110);
if ( v10 )
*(_QWORD *)(v10 + 600) = 0;
v11 = *((cocos2d::CCObject **)Block + 101);
if ( v11 )
cocos2d::CCObject::release(v11);
sub_14003D310((__int64)(Block + 744));
sub_14003D310((__int64)(Block + 712));
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}