// // DS_Dictionary::setArrayForKey from 0xdbb4a0 to 0xdbb554 (180 bytes) // // 7 xrefs: // > GameLevelManager::encodeDataTo @ 0x808ce0 // > GameLevelManager::encodeDataTo @ 0x808dac // > GJRewardItem::encodeWithCoder @ 0x8c963c // > LocalLevelManager::encodeDataTo @ 0x910668 // > LocalLevelManager::encodeDataTo @ 0x910698 // > DS_Dictionary::setObjectForKey @ 0xdbb698 // > @ 0xda938 // // This function is hookable on this platform (idp: arm, 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 13:08:44 +0000 // DS_Dictionary *__fastcall DS_Dictionary::setArrayForKey(DS_Dictionary *this, const char *a2, cocos2d::CCArray *a3) { DS_Dictionary *v3; // x21 unsigned int v5; // w19 unsigned int v6; // w1 cocos2d::CCObject *v7; // x0 char *CString; // x0 cocos2d::CCObject *lpsrc; // [xsp+38h] [xbp+38h] v3 = this; if ( a3 ) { v5 = 0; DS_Dictionary::setSubDictForKey(this, a2, 0, 1u); DS_Dictionary::setBoolForKey(v3, "_isArr", 1); while ( v5 < (unsigned int)cocos2d::CCArray::count(a3) ) { lpsrc = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a3, v5); v6 = v5++; v7 = cocos2d::CCString::createWithFormat((cocos2d::CCString *)"k_%i", v6); CString = cocos2d::CCString::getCString(v7); DS_Dictionary::setObjectForKey(v3, CString, lpsrc); } return (DS_Dictionary *)DS_Dictionary::stepOutOfSubDict((__int64)v3); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source