//
// cocos2d::CCDictionary::valueForKey_1 from 0x1004a53bc to 0x1004a5434 (120 bytes)
//
// 5 xrefs:
// > sub_1000A7734 @ 0x1000a7760
// > sub_1000A78C4 @ 0x1000a78d4
// > sub_1000A78EC @ 0x1000a78fc
// > GJGameLevel::create @ 0x1000a83f4
// > GameManager::recountUserStats @ 0x1003b7198
//
// 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 11:06:04 +0000
//
void *__fastcall cocos2d::CCDictionary::valueForKey_1(__int64 a1, __int64 a2)
{
const void *v2; // x0
void *v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = (const void *)cocos2d::CCDictionary::objectForKey_1(a1, a2);
if ( !v2
|| (v3 = __dynamic_cast(
v2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCString,
0)) == nullptr )
{
sub_100009900(__p, "");
v3 = sub_1003064AC((__int128 *)__p);
if ( v6 < 0 )
operator delete(__p[0]);
}
return v3;
}