//
// ArtistCell::onNewgrounds from 0x1400b5940 to 0x1400b59de (158 bytes)
//
// 2 xrefs:
// > ArtistCell::loadFromObject @ 0x1400b57cb
// > ??> @ 0x1406c7bd8
//
// 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 ArtistCell::onNewgrounds(ArtistCell *a1, cocos2d::CCObject *a2)
{
__int64 *v3; // rdi
const char *v4; // rdx
__int64 v5; // rbx
cocos2d::CCString *v6; // rax
const char *CString; // rax
_QWORD v8[4]; // [rsp+28h] [rbp-30h] BYREF
if ( a1->m_songInfo )
{
v3 = (__int64 *)cocos2d::CCApplication::sharedApplication(a1, a2);
sub_14003BDB0((__int64)v8, (__int64)&a1->m_songInfo->m_artistName);
v4 = (const char *)v8;
if ( v8[3] > 0xFu )
v4 = (const char *)v8[0];
v5 = *v3;
v6 = cocos2d::CCString::createWithFormat("https://%s.newgrounds.com/audio", v4);
CString = cocos2d::CCString::getCString(v6);
(*(void (__fastcall **)(__int64 *, const char *))(v5 + 88))(v3, CString);
sub_14003A830((__int64)v8);
}
}