// // CCContentManager::addDictDS from 0x180005f10 to 0x18000609b (395 bytes) // // 7 xrefs: // > cocos2d::CCLabelAtlas::initWithString @ 0x180047706 // > cocos2d::CCParticleSystem::initWithFile @ 0x18006ab3b // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094741 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094922 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094e36 // > @ 0x18014cf68 // > @ 0x1801b78a0 // // 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:18 +0000 // // Alternative name is '?addDict@CCContentManager@@QEAAPEAVCCDictionary@cocos2d@@PEBD_N@Z' // Hidden C++ exception states: #wind=2 struct cocos2d::CCDictionary *__fastcall CCContentManager::addDictDS(CCContentManager *this, char *a2) { __int64 v4; // rbx void *v5; // r8 DS_Dictionary *v7; // rax DS_Dictionary *v8; // rbx struct cocos2d::CCDictionary *DictForKey; // rdi void *v10; // rcx void *Block[3]; // [rsp+38h] [rbp-40h] BYREF unsigned __int64 v12; // [rsp+50h] [rbp-28h] sub_180005A10(Block, a2); v4 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 7), Block); if ( v12 > 0xF ) { v5 = Block[0]; if ( v12 + 1 >= 0x1000 ) { v5 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free_0(v5); } if ( v4 ) return (struct cocos2d::CCDictionary *)v4; v7 = (DS_Dictionary *)sub_1800E4AC0(0xF0u); if ( v7 ) v8 = DS_Dictionary::DS_Dictionary(v7); else v8 = nullptr; DS_Dictionary::loadRootSubDictFromFile(v8, a2); DictForKey = DS_Dictionary::getDictForKey(v8, nullptr, 0); if ( v8 ) { DS_Dictionary::~DS_Dictionary(v8); j_j_free_0(v8); } sub_180005A10(Block, a2); cocos2d::CCDictionary::setObject(*((_QWORD *)this + 7), DictForKey, Block); if ( v12 > 0xF ) { v10 = Block[0]; if ( v12 + 1 >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free_0(v10); } return DictForKey; }
GD Web Decomp Icon

GD Web Decomp

Raw Source