//
// sub_1000ADAD8 from 0x1000adad8 to 0x1000adb40 (104 bytes)
//
// 8 xrefs:
// > ProfilePage::loadPage @ 0x100230ad4
// > TopArtistsLayer::init @ 0x100239bd0
// > sub_10023A2F8 @ 0x10023a3e4
// > sub_10024C388 @ 0x10024c4c0
// > sub_100264AAC @ 0x100264be0
// > InfoLayer::loadPage @ 0x1003f0724
// > LevelBrowserLayer::loadPage @ 0x100498510
// > sub_100505BBC @ 0x100505d38
//
// This function is hookable on this platform (idp: arm, 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 10:58:37 +0000
//
const char *__fastcall sub_1000ADAD8(__int64 a1, char *a2)
{
__int64 v2; // x19
__int64 v3; // x0
__int64 v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 1048);
sub_100009900(__p, a2);
v3 = cocos2d::CCDictionary::objectForKey(v2, __p);
v4 = v3;
if ( v7 < 0 )
{
operator delete(__p[0]);
if ( v4 )
return (const char *)cocos2d::CCString::getCString(v4);
}
else if ( v3 )
{
return (const char *)cocos2d::CCString::getCString(v4);
}
return "";
}