//
// CommunityCreditsPage::show from 0x14012f240 to 0x14012f3d7 (407 bytes)
//
// 6 xrefs:
// > GJShopLayer::onCommunityCredits @ 0x1403b1f51
// > GJShopLayer::onCommunityCredits @ 0x1403b1f38
// > ??> @ 0x140734cc0
// > ??> @ 0x1408989bc
// > ??> @ 0x1408989d4
// > ??> @ 0x140916d78
//
// 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:27:02 +0000
//
__int64 __fastcall CommunityCreditsPage::show(__int64 a1)
{
float v3; // xmm6_4
const struct cocos2d::CCPoint *v4; // rax
__int64 *v5; // rdi
__int64 v6; // rbx
__int64 v7; // rax
struct cocos2d::CCActionInterval *v8; // rax
struct cocos2d::CCAction *v9; // rax
__int64 v10; // rcx
cocos2d::CCScene *v11; // rbx
int v12; // eax
struct cocos2d::CCAction *v13; // rax
__int64 v14; // rdx
float v15; // [rsp+50h] [rbp+8h] BYREF
char v16; // [rsp+58h] [rbp+10h] BYREF
if ( *(_BYTE *)(a1 + 596) )
return FLAlertLayer::show(a1);
v3 = (float)(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(a1 + 408) + 32LL))(a1 + 408);
v4 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 200LL))(*(_QWORD *)(a1 + 584));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, v4);
v5 = *(__int64 **)(a1 + 584);
v6 = *v5;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, v15, 160.0);
(*(void (__fastcall **)(__int64 *, __int64))(v6 + 184))(v5, v7);
v8 = cocos2d::CCMoveTo::create(0.5, (const struct cocos2d::CCPoint *)&v15);
v9 = cocos2d::CCEaseElasticOut::create(v8, 0.60000002);
cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 584), v9);
v11 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v10) + 272);
if ( *(_QWORD *)(a1 + 568) )
{
v11 = *(cocos2d::CCScene **)(a1 + 568);
}
else
{
if ( cocos2d::CCScene::getHighestChildZ(v11) + 1 >= 105 )
v12 = cocos2d::CCScene::getHighestChildZ(v11) + 1;
else
v12 = 105;
*(_DWORD *)(a1 + 592) = v12;
}
if ( !*(_DWORD *)(a1 + 592) )
*(_DWORD *)(a1 + 592) = 105;
(*(void (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v11 + 456LL))(v11, a1);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 408) + 40LL))(a1 + 408, 0);
v13 = cocos2d::CCFadeTo::create(0.14, (int)v3);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v13);
LOBYTE(v14) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 336LL))(a1, v14);
}