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