// // DS_Dictionary::getArrayForKey from 0x1001eb54c to 0x1001eb64c (256 bytes) // // 7 xrefs: // > GameLevelManager::dataLoaded @ 0x1000b19b0 // > GameLevelManager::dataLoaded @ 0x1000b2028 // > DS_Dictionary::getObjectForKey @ 0x1001eb828 // > DS_Dictionary::getDictForKey @ 0x1001ebfec // > LocalLevelManager::dataLoaded @ 0x10025f28c // > LocalLevelManager::dataLoaded @ 0x10025f6bc // > GJRewardItem::dataLoaded @ 0x1003deae0 // // 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 11:00:35 +0000 // __int64 __fastcall DS_Dictionary::getArrayForKey(__int64 a1, const char *a2, char a3) { __int64 v3; // x19 __int64 v4; // x20 int NumKeys; // w0 int v6; // w21 int i; // w22 void **v8; // x1 __int64 ObjectForKey; // x1 __int64 v10; // x8 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v13; // [xsp+1Fh] [xbp-31h] v3 = a1; if ( (a3 & 1) == 0 ) { a1 = DS_Dictionary::stepIntoSubDictWithKey(a1, a2); if ( !(_DWORD)a1 ) return sub_1002E736C(a1); } v4 = sub_1002E736C(a1); DS_Dictionary::removeKey(v3, "_isArr"); NumKeys = DS_Dictionary::getNumKeys(v3); if ( NumKeys >= 1 ) { v6 = NumKeys; for ( i = 0; i != v6; ++i ) { DS_Dictionary::getKey(v3, i, __p); if ( v13 >= 0 ) v8 = __p; else v8 = (void **)__p[0]; ObjectForKey = DS_Dictionary::getObjectForKey(v3, v8); if ( ObjectForKey ) sub_1002E74E0(v4, ObjectForKey); if ( v13 < 0 ) operator delete(__p[0]); } } v10 = *(_QWORD *)(v3 + 216); if ( (unsigned __int64)(v10 - *(_QWORD *)(v3 + 208)) >= 9 ) *(_QWORD *)(v3 + 216) = v10 - 8; return v4; }