//
// CustomSongLayer::onNCSBrowser from 0x1400c3f20 to 0x1400c401d (253 bytes)
//
// 2 xrefs:
// > CustomSongLayer::init @ 0x1400c2fdf
// > ??> @ 0x1406c8070
//
// 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
//
// Hidden C++ exception states: #wind=1
void CustomSongLayer::onNCSBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)
{
NCSInfoLayer *v3; // rdi
void (*show)(FLAlertLayer *); // rdx
v3 = (NCSInfoLayer *)operator new(0x288u);
FLAlertLayer::FLAlertLayer(v3);
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (NCSInfoLayer_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&NCSInfoLayer::`vftable';
v3->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&NCSInfoLayer::`vftable';
if ( NCSInfoLayer::init(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
((void (__fastcall *)(NCSInfoLayer *, __int64))v3->~NCSInfoLayer)(v3, 1);
v3 = nullptr;
}
show = (void (*)(FLAlertLayer *))v3->show;
if ( show == FLAlertLayer::show )
FLAlertLayer::show(v3);
else
show(v3);
}