//
// CustomSongLayer::show from 0x140165590 to 0x14016569b (267 bytes)
//
// 4 xrefs:
// > SongSelectNode::showCustomSongSelect @ 0x140168d42
// > SongSelectNode::showCustomSongSelect @ 0x140168d33
// > ??> @ 0x1407444e8
// > ??> @ 0x140917ef4
//
// 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:26 +0000
//
__int64 __fastcall CustomSongLayer::show(__int64 a1)
{
unsigned __int8 v2; // al
float v3; // xmm6_4
struct cocos2d::CCActionInterval *v4; // rax
struct cocos2d::CCAction *v5; // rax
__int64 v6; // rcx
__int64 v7; // rcx
struct cocos2d::CCAction *v8; // rax
__int64 v9; // rdx
(*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 + 408) + 32LL))(a1 + 408);
v3 = (float)v2;
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 160LL))(*(_QWORD *)(a1 + 584));
v4 = cocos2d::CCScaleTo::create(0.30000001, 1.0);
v5 = cocos2d::CCEaseElasticOut::create(v4, 1.6);
cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 584), v5);
v7 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v6) + 272);
if ( *(_QWORD *)(a1 + 568) )
v7 = *(_QWORD *)(a1 + 568);
if ( !*(_DWORD *)(a1 + 592) )
*(_DWORD *)(a1 + 592) = 105;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 456LL))(v7, a1);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 408) + 40LL))(a1 + 408, 0);
v8 = cocos2d::CCFadeTo::create(0.14, (int)v3);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v8);
LOBYTE(v9) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 336LL))(a1, v9);
}