//
// FRequestProfilePage::dFRequestProfilePage from 0x10086ece0 to 0x10086ee7b (411 bytes)
//
// 4 xrefs:
// > sub_10086EE90 @ 0x10086ee95
// > sub_10086EEA0 @ 0x10086eeac
// > sub_10086EEC0 @ 0x10086eec9
// > sub_10086EEE0 @ 0x10086eef3
//
// 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 12:36:50 +0000
//
__int64 __fastcall FRequestProfilePage::dFRequestProfilePage(__int64 a1)
{
_DWORD *v2; // rax
_DWORD *v3; // rdi
__int64 v4; // rax
_DWORD *v5; // rdi
*(_QWORD *)a1 = off_100B9F908;
*(_QWORD *)(a1 + 320) = off_100B9FEB0;
*(_QWORD *)(a1 + 328) = &off_100B9FF20;
*(_QWORD *)(a1 + 336) = off_100B9FF38;
*(_QWORD *)(a1 + 344) = off_100B9FF58;
*(_QWORD *)(a1 + 352) = off_100B9FF80;
*(_QWORD *)(a1 + 408) = off_100B9FFB0;
*(_QWORD *)(a1 + 432) = off_100BA0030;
*(_QWORD *)(a1 + 544) = off_100BA0050;
*(_QWORD *)(a1 + 664) = &off_100BA0098;
*(_QWORD *)(a1 + 672) = off_100BA00B0;
*(_QWORD *)(a1 + 680) = &off_100BA00D0;
*(_QWORD *)(a1 + 688) = off_100BA00E8;
*(_QWORD *)(a1 + 696) = off_100BA0118;
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1376) == a1 + 688 )
*(_QWORD *)(GameLevelManager::sharedState() + 1376) = 0;
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1368) == a1 + 696 )
*(_QWORD *)(GameLevelManager::sharedState() + 1368) = 0;
v2 = cocos2d::CCNotificationCenter::sharedNotificationCenter();
cocos2d::CCNotificationCenter::removeObserver((__int64)v2, (unsigned int *)a1, "RequestSelectionChangedNotification");
v3 = *(_DWORD **)(a1 + 872);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(_QWORD *)(a1 + 864);
if ( v4 )
*(_QWORD *)(v4 + 584) = 0;
v5 = *(_DWORD **)(a1 + 792);
if ( v5 )
cocos2d::CCObject::release(v5);
if ( (*(_BYTE *)(a1 + 736) & 1) != 0 )
operator delete(*(void **)(a1 + 752));
if ( (*(_BYTE *)(a1 + 712) & 1) != 0 )
operator delete(*(void **)(a1 + 728));
return sub_1004936F0(a1);
}