//
// ProfilePage::dProfilePage from 0x140550490 to 0x1405506d3 (579 bytes)
//
// 2 xrefs:
// > sub_140550030 @ 0x14055003f
// > ??> @ 0x14092bdd8
//
// 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:08 +0000
//
void __fastcall ProfilePage::dProfilePage(_QWORD *a1)
{
_QWORD *v2; // rdi
_QWORD *v3; // rsi
_QWORD *v4; // r15
_QWORD *v5; // r14
_QWORD *v6; // rbp
_QWORD *v7; // r12
__int64 v8; // rax
cocos2d::CCObject *v9; // rcx
cocos2d::CCObject *v10; // rcx
cocos2d::CCObject *v11; // rcx
cocos2d::CCObject *v12; // rcx
_QWORD *v13; // rax
void *v14; // rax
*a1 = &ProfilePage::`vftable';
a1[40] = &ProfilePage::`vftable';
a1[41] = &ProfilePage::`vftable';
a1[42] = &ProfilePage::`vftable';
a1[43] = &ProfilePage::`vftable';
a1[44] = &ProfilePage::`vftable';
a1[51] = &ProfilePage::`vftable';
a1[54] = &ProfilePage::`vftable';
a1[68] = &ProfilePage::`vftable';
a1[83] = &ProfilePage::`vftable';
v2 = a1 + 84;
a1[84] = &ProfilePage::`vftable';
v3 = a1 + 85;
a1[85] = &ProfilePage::`vftable';
v4 = a1 + 86;
a1[86] = &ProfilePage::`vftable';
v5 = a1 + 87;
a1[87] = &ProfilePage::`vftable';
a1[88] = &ProfilePage::`vftable';
v6 = a1 + 89;
a1[89] = &ProfilePage::`vftable';
v7 = a1 + 90;
a1[90] = &ProfilePage::`vftable';
v8 = a1[110];
if ( v8 )
*(_QWORD *)(v8 + 664) = 0;
v9 = (cocos2d::CCObject *)a1[105];
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = (cocos2d::CCObject *)a1[91];
if ( v10 )
cocos2d::CCObject::release(v10);
v11 = (cocos2d::CCObject *)a1[106];
if ( v11 )
cocos2d::CCObject::release(v11);
v12 = (cocos2d::CCObject *)a1[109];
if ( v12 )
cocos2d::CCObject::release(v12);
v13 = *(_QWORD **)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v14 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v14);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v13 = *(_QWORD **)&qword_14090BFB0;
}
if ( (_QWORD *)v13[171] == v2 )
v13[171] = 0;
if ( (_QWORD *)v13[172] == v3 )
v13[172] = 0;
if ( (_QWORD *)v13[186] == v5 )
v13[186] = 0;
if ( (_QWORD *)v13[185] == v4 )
v13[185] = 0;
if ( (_QWORD *)v13[178] == v6 )
v13[178] = 0;
if ( (_QWORD *)v13[67] == v7 )
v13[67] = 0;
sub_14003D310((__int64)(a1 + 93));
FLAlertLayer::dFLAlertLayer((__int64)a1);
}