//
// ProfilePage::show from 0x1002303e0 to 0x10023051c (316 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ff6a0
//
// This function is hookable on this platform (idp: arm, 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:01:16 +0000
//
__int64 __fastcall ProfilePage::show(__int64 a1)
{
char v3; // w20
float *v4; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x21
float *v8; // x0
__n128 v9; // q0
int v10; // w2
if ( *(_BYTE *)(a1 + 596) == 1 )
return FLAlertLayer::show(a1);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1152LL))(a1);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 584) + 160LL))(*(_QWORD *)(a1 + 584), 0.1);
v4 = cocos2d::CCScaleTo::create_1(0.3, 1.0);
v5 = cocos2d::CCEaseElasticOut::create(v4, 1.6);
cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 584), v5);
v6 = cocos2d::CCDirector::sharedDirector();
v7 = *(_QWORD *)(a1 + 568);
if ( !v7 )
{
v7 = *(_QWORD *)(v6 + 272);
if ( (int)cocos2d::CCScene::getHighestChildZ(v7) < 105 )
v10 = 105;
else
v10 = cocos2d::CCScene::getHighestChildZ(v7) + 1;
*(_DWORD *)(a1 + 592) = v10;
if ( v10 )
goto LABEL_6;
goto LABEL_5;
}
if ( !*(_DWORD *)(a1 + 592) )
LABEL_5:
*(_DWORD *)(a1 + 592) = 105;
LABEL_6:
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 464LL))(v7, a1);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0);
v8 = cocos2d::CCFadeTo::create(v3, 0.14);
v9 = cocos2d::CCNode::runAction(a1, v8);
return (*(__int64 (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)a1 + 344LL))(a1, 1, v9);
}