// // DS_Dictionary::setArrayForKey from 0x80d424 to 0x80d484 (96 bytes) // // 6 xrefs: // > GameLevelManager::encodeDataTo @ 0x4ae3cc // > GameLevelManager::encodeDataTo @ 0x4ae4a2 // > GJRewardItem::encodeWithCoder @ 0x5157da // > LocalLevelManager::encodeDataTo @ 0x542452 // > LocalLevelManager::encodeDataTo @ 0x542470 // > DS_Dictionary::setObjectForKey @ 0x80d4ee // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:33 +0000 // DS_Dictionary *__fastcall DS_Dictionary::setArrayForKey(DS_Dictionary *this, const char *a2, cocos2d::CCArray *a3) { DS_Dictionary *v3; // r5 unsigned int v5; // r4 int v6; // r0 const char *v7; // r1 cocos2d::CCObject *v8; // r8 cocos2d::CCObject *v9; // r0 char *CString; // r0 v3 = this; if ( a3 ) { DS_Dictionary::setSubDictForKey(this, a2, 0, 1); DS_Dictionary::setBoolForKey(v3, "_isArr", 1); v5 = 0; while ( v5 < cocos2d::CCArray::count(a3) ) { v6 = cocos2d::CCArray::objectAtIndex(a3, v5); v7 = (const char *)v5++; v8 = (cocos2d::CCObject *)v6; v9 = cocos2d::CCString::createWithFormat((cocos2d::CCString *)"k_%i", v7); CString = cocos2d::CCString::getCString(v9); DS_Dictionary::setObjectForKey(v3, CString, v8); } return (DS_Dictionary *)DS_Dictionary::stepOutOfSubDict((int)v3); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source