//
// SongInfoLayer::onYT from 0x100601c10 to 0x100601c4c (60 bytes)
//
// 1 xrefs:
// > SongInfoLayer::init @ 0x10060149d
//
// 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 __fastcall SongInfoLayer::onYT(SongInfoLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCApplication *v2; // rax
std::array *longStorage; // rbx
v2 = cocos2d::CCApplication::sharedApplication();
if ( (a1->m_youtubeLink.m_data.m_short.sizex2 & 1) != 0 )
longStorage = (std::array *)a1->m_youtubeLink.m_data.m_long.longStorage;
else
longStorage = &a1->m_youtubeLink.m_data.m_short.shortStorage;
((void (__fastcall *)(cocos2d::CCApplication *, std::array *))v2->openURL)(v2, longStorage);
}