//
// GJPathPage::show from 0x1002ed8d0 to 0x1002eda4b (379 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b12658
//
// 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:28:24 +0000
//
__int64 __fastcall GJPathPage::show(__int64 a1)
{
unsigned __int8 v3; // r14
_QWORD *v4; // rax
__int64 v5; // r12
__int64 v6; // rax
__int64 v7; // rax
__int64 v8; // rdi
__int64 v9; // rsi
__int64 v10; // rax
__int64 v11; // r15
__int64 v12; // rax
int HighestChildZ; // eax
int v14; // edx
float v15; // [rsp+8h] [rbp-38h] BYREF
_QWORD v16[6]; // [rsp+10h] [rbp-30h] BYREF
if ( *(_BYTE *)(a1 + 596) == 1 )
return FLAlertLayer::show(a1);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1152LL))(a1);
v4 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 192LL))(*(_QWORD *)(a1 + 584));
sub_1002782D0(v16, v4);
v5 = *(_QWORD *)(a1 + 584);
sub_100278250(&v15, -160.0, *((float *)v16 + 1));
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v15);
v6 = cocos2d::CCMoveTo::create(v16, 0.5);
v7 = cocos2d::CCEaseElasticOut::create(v6, 0.60000002);
v8 = *(_QWORD *)(a1 + 584);
v9 = v7;
cocos2d::CCNode::runAction(v8, v7);
v10 = cocos2d::CCDirector::sharedDirector(v8, v9);
v11 = *(_QWORD *)(a1 + 568);
if ( !v11 )
{
v11 = *(_QWORD *)(v10 + 272);
HighestChildZ = cocos2d::CCScene::getHighestChildZ(v11);
v14 = 105;
if ( HighestChildZ >= 105 )
v14 = cocos2d::CCScene::getHighestChildZ(v11) + 1;
*(_DWORD *)(a1 + 592) = v14;
if ( v14 )
goto LABEL_6;
goto LABEL_5;
}
if ( !*(_DWORD *)(a1 + 592) )
LABEL_5:
*(_DWORD *)(a1 + 592) = 105;
LABEL_6:
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 464LL))(v11, a1);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0);
v12 = cocos2d::CCFadeTo::create(v3, 0.14);
cocos2d::CCNode::runAction(a1, v12);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 344LL))(a1, 1);
}