// // cocos2d::CCDictionary::valueForKey from 0x5bfe54 to 0x5bfeaa (86 bytes) // // 3 xrefs: // > GameManager::recountUserStats @ 0x3282b2 // > GameLevelManager::accountIDForUserID @ 0x3bf4a6 // > GameLevelManager::userIDForAccountID @ 0x3bf4b8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // const cocos2d::CCString *cocos2d::CCDictionary::valueForKey(cocos2d::CCDictionary *a1, intptr_t a2) { cocos2d::CCObject *v2; // r0 const cocos2d::CCString *v3; // r5 const std::string *v4; // r1 char v6; // [sp+8h] [bp-8h] BYREF v2 = cocos2d::CCDictionary::objectForKey(a1, a2); if ( !v2 || (v3 = (const cocos2d::CCString *)_dynamic_cast( v2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0)) == nullptr ) { sub_776584((int)&v6, (char *)&unk_939830); v3 = (const cocos2d::CCString *)cocos2d::CCString::create((cocos2d::CCString *)&v6, v4); sub_774008(&v6); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source