// // cocos2d::CCDictionary::valueForKey from 0x10030e4f0 to 0x10030e552 (98 bytes) // // 5 xrefs: // > GameManager::recountUserStats @ 0x100385f09 // > GameLevelManager::tryGetUsername @ 0x10052e52c // > GameLevelManager::userIDForAccountID @ 0x10052ea1e // > GameLevelManager::accountIDForUserID @ 0x10052ea5e // > GJGameLevel::create @ 0x10052fe0d // // 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 *__fastcall cocos2d::CCDictionary::valueForKey(cocos2d::CCDictionary *a1, intptr_t a2) { cocos2d::CCObject *v2; // rax const cocos2d::CCString *result; // rax const cocos2d::CCString *v4; // rbx _WORD v5[8]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] v2 = cocos2d::CCDictionary::objectForKey(a1, a2); if ( !v2 || (result = (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 ) { v5[0] = 0; result = (const cocos2d::CCString *)sub_1007AB360(v5); if ( (v5[0] & 1) != 0 ) { v4 = result; operator delete(__p); return v4; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source