//
// DS_Dictionary::decodeObjectForKey from 0x80d204 to 0x80d23c (56 bytes)
//
// 2 xrefs:
// > DS_Dictionary::getDictForKey @ 0x80d722
// > DS_Dictionary::getObjectForKey @ 0x80d8f0
//
// 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
//
ObjectDecoder *__fastcall DS_Dictionary::decodeObjectForKey(
ObjectDecoder *this,
const char *a2,
int a3,
ObjectDecoder *a4)
{
DS_Dictionary *v4; // r5
ObjectDecoder *v6; // r0
int DecodedObject; // r4
v4 = this;
if ( a3 || (this = (ObjectDecoder *)DS_Dictionary::stepIntoSubDictWithKey(this, a2)) != nullptr )
{
if ( a4 == (ObjectDecoder *)-1 )
{
this = (ObjectDecoder *)DS_Dictionary::getIntegerForKey(v4, "kCEK");
a4 = this;
}
v6 = (ObjectDecoder *)ObjectDecoder::sharedDecoder(this);
DecodedObject = ObjectDecoder::getDecodedObject(v6, (int)a4, v4);
DS_Dictionary::stepOutOfSubDict((int)v4);
return (ObjectDecoder *)DecodedObject;
}
return this;
}