//
// CustomSongLayer::show from 0x1400c4490 to 0x1400c459b (267 bytes)
//
// 4 xrefs:
// > SongSelectNode::showCustomSongSelect @ 0x1400c7ce2
// > SongSelectNode::showCustomSongSelect @ 0x1400c7cd3
// > ??> @ 0x14054e8a8
// > ??> @ 0x1406c80e8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void CustomSongLayer::show(CustomSongLayer *a1)
{
float v1; // xmm3_4
unsigned __int8 v3; // al
float v4; // xmm6_4
struct cocos2d::CCScaleTo *v5; // rax
struct cocos2d::CCEaseElasticOut *v6; // rax
cocos2d::ccColor3B *v7; // r8
__int64 v8; // rcx
cocos2d::CCNode *m_scene; // rcx
struct cocos2d::CCFadeTo *v10; // rax
cocos2d::ccColor3B *v11; // r8
_BOOL8 v12; // rdx
float v13; // [rsp+20h] [rbp-18h]
float v14; // [rsp+20h] [rbp-18h]
a1->getOpacity(&a1->cocos2d::CCRGBAProtocol);
v4 = (float)v3;
((void (__fastcall *)(cocos2d::CCLayer *))a1->m_mainLayer->setScale_0)(a1->m_mainLayer);
v5 = cocos2d::CCScaleTo::create(0.30000001, 1.0);
v6 = cocos2d::CCEaseElasticOut::create(v5, 1.6);
cocos2d::CCNode::runAction((CCLightFlash *)a1->m_mainLayer, (cocos2d::CCPoint)v6, v7, v1, v13);
m_scene = *(cocos2d::CCNode **)(cocos2d::CCDirector::sharedDirector(v8) + 264);
if ( a1->m_scene )
m_scene = a1->m_scene;
if ( !a1->m_ZOrder )
a1->m_ZOrder = 105;
((void (__fastcall *)(cocos2d::CCNode *, CustomSongLayer *))m_scene->addChild_0)(m_scene, a1);
a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, 0);
v10 = cocos2d::CCFadeTo::create(0.14, (int)v4);
cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v10, v11, v1, v14);
LOBYTE(v12) = 1;
a1->setVisible(a1, v12);
}