//
// cocos2d::CCDictionary::valueForKey from 0x18000c480 to 0x18000c54a (202 bytes)
//
// 82 xrefs:
// > cocos2d::CCDictionary::charForKey @ 0x180009bd4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180068f08
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180068fb8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006905f
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800690f5
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800691a7
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069259
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800692fe
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800693a7
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006944e
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800694c2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069522
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069583
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800695e4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069645
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800696b8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069718
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006978d
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800697ed
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006984e
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800698af
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069910
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069971
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800699d2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069a33
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069a94
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069af5
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069b6a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069bd8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069c51
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069cb2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069d24
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069d84
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069df8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069e58
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069ecc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069f3a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x180069f9c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a003
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a063
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a0c4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a125
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a186
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a1e7
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a248
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a2b9
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a31a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a377
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a3ce
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a42b
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a47b
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a4dc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a566
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a898
// > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008d529
// > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008d96f
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dc67
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dd01
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008de6d
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008df14
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008e07f
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093a74
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093bff
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093c65
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093ce3
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093d5b
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093dde
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093e60
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093eea
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180093f74
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800940a8
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800940f2
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x18009412e
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x18009416a
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800941dc
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180094329
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800943bd
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180094410
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180094496
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094a54
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7e7c
//
// This function is hookable on this platform (idp: pc, 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:21:20 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall cocos2d::CCDictionary::valueForKey(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rbx
void *v4; // rcx
void *Block[3]; // [rsp+30h] [rbp-38h] BYREF
unsigned __int64 v7; // [rsp+48h] [rbp-20h]
v2 = cocos2d::CCDictionary::objectForKey(a1, a2);
v3 = _RTDynamicCast(v2, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCString `RTTI Type Descriptor', 0);
if ( !v3 )
{
sub_180005A10(Block, (char *)Text);
v3 = cocos2d::CCString::create(Block);
if ( v7 > 0xF )
{
v4 = Block[0];
if ( v7 + 1 >= 0x1000 )
{
v4 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free_0(v4);
}
}
return v3;
}