//
// ArtistCell::onYouTube from 0x10023d870 to 0x10023d8d6 (102 bytes)
//
// 1 xrefs:
// > ArtistCell::loadFromObject @ 0x10022d0fa
//
// 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 12:27:16 +0000
//
void __fastcall ArtistCell::onYouTube(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
char *v3; // rsi
void *v4[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
if ( *(_QWORD *)(a1 + 552) )
{
v2 = cocos2d::CCApplication::sharedApplication(a1, a2);
sub_10023D740(v4, *(_QWORD *)(a1 + 552), 1);
if ( ((__int64)v4[0] & 1) != 0 )
v3 = (char *)__p;
else
v3 = (char *)v4 + 1;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v2 + 104LL))(v2, v3);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(__p);
}
}