// // DS_Dictionary::getArrayForKey from 0x180019a20 to 0x180019b70 (336 bytes) // // 4 xrefs: // > DS_Dictionary::getDictForKey @ 0x180019efc // > DS_Dictionary::getObjectForKey @ 0x18001a996 // > @ 0x18014cf68 // > @ 0x1801b8a04 // // 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:25 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCArray *__fastcall DS_Dictionary::getArrayForKey(DS_Dictionary *this, const char *a2, char a3) { cocos2d::CCArray *v5; // rbp signed int NumKeys; // esi signed int i; // ebx const char *v8; // rdx struct cocos2d::CCObject *ObjectForKey; // rax char *v10; // rcx char *v11[3]; // [rsp+30h] [rbp-38h] BYREF unsigned __int64 v12; // [rsp+48h] [rbp-20h] if ( !a3 && !DS_Dictionary::stepIntoSubDictWithKey(this, a2) ) return cocos2d::CCArray::create(); v5 = cocos2d::CCArray::create(); DS_Dictionary::removeKey(this, "_isArr"); NumKeys = DS_Dictionary::getNumKeys(this); for ( i = 0; i < NumKeys; ++i ) { DS_Dictionary::getKey(this, v11, (unsigned int)i); v8 = (const char *)v11; if ( v12 > 0xF ) v8 = v11[0]; ObjectForKey = DS_Dictionary::getObjectForKey(this, v8); if ( ObjectForKey ) cocos2d::CCArray::addObject(v5, ObjectForKey); if ( v12 > 0xF ) { v10 = v11[0]; if ( v12 + 1 >= 0x1000 ) { v10 = *((char **)v11[0] - 1); if ( (unsigned __int64)(v11[0] - v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free_0(v10); } } if ( (unsigned __int64)((__int64)(*((_QWORD *)this + 27) - *((_QWORD *)this + 26)) >> 3) > 1 ) *((_QWORD *)this + 27) -= 8LL; return v5; }