//
// cocos2d::CCDictionary::valueForKey from 0xd43ee8 to 0xd43f98 (176 bytes)
//
// 4 xrefs:
// > GameManager::recountUserStats @ 0x726bfc
// > GameLevelManager::accountIDForUserID @ 0x7ff568
// > GameLevelManager::userIDForAccountID @ 0x7ff584
// > ??> @ 0xd9240
//
// 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 13:07:32 +0000
//
void *__fastcall cocos2d::CCDictionary::valueForKey(cocos2d::CCDictionary *this, __int64 a2)
{
const void *v2; // x0
void *v3; // x20
__int64 v5[2]; // [xsp+20h] [xbp+20h] BYREF
void *v6; // [xsp+30h] [xbp+30h]
v2 = (const void *)cocos2d::CCDictionary::objectForKey(this, 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 )
{
v5[0] = 0;
v5[1] = 0;
v6 = nullptr;
std::string::__init(v5, &byte_11B8890, 0);
v3 = (void *)cocos2d::CCString::create(v5);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
}
return v3;
}