//
// DS_Dictionary::setArrayForKey from 0x5ff300 to 0x5ff360 (96 bytes)
//
// 6 xrefs:
// > GameLevelManager::encodeDataTo @ 0x3c7b9a
// > GameLevelManager::encodeDataTo @ 0x3c7c70
// > GJRewardItem::encodeWithCoder @ 0x40c39a
// > LocalLevelManager::encodeDataTo @ 0x432974
// > LocalLevelManager::encodeDataTo @ 0x432992
// > DS_Dictionary::setObjectForKey @ 0x5ff3c8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void DS_Dictionary::setArrayForKey(DS_Dictionary *a1, const char *a2, cocos2d::CCArray *a3)
{
unsigned int v5; // r4
cocos2d::CCObject *v6; // r0
const char *v7; // r1
cocos2d::CCObject *v8; // r8
int v9; // r2
int v10; // r3
cocos2d::CCString *v11; // r0
const char *CString; // r0
if ( a3 )
{
DS_Dictionary::setSubDictForKey(a1, a2, 0, 1);
DS_Dictionary::setBoolForKey(a1, "_isArr", 1);
v5 = 0;
while ( v5 < cocos2d::CCArray::count(a3) )
{
v6 = cocos2d::CCArray::objectAtIndex(a3, v5);
v7 = (const char *)v5++;
v8 = v6;
v11 = cocos2d::CCString::createWithFormat((cocos2d::CCString *)"k_%i", v7, v9, v10);
CString = cocos2d::CCString::getCString(v11);
DS_Dictionary::setObjectForKey(a1, CString, v8);
}
DS_Dictionary::stepOutOfSubDict(a1);
}
}