//
// DS_Dictionary::decodeObjectForKey from 0xdbb0e0 to 0xdbb170 (144 bytes)
//
// 3 xrefs:
// > DS_Dictionary::getDictForKey @ 0xdbbb24
// > DS_Dictionary::getObjectForKey @ 0xdbbdac
// > ??> @ 0xb9098
//
// 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
//
__int64 __fastcall DS_Dictionary::decodeObjectForKey(unsigned __int64 this, const char *a2, char a3, int a4)
{
DS_Dictionary *v4; // x20
ObjectDecoder *v5; // x0
__int64 DecodedObject; // x19
int v8; // [xsp+28h] [xbp+28h]
int v9; // [xsp+28h] [xbp+28h]
v4 = (DS_Dictionary *)this;
if ( !a3 )
{
v9 = a4;
this = (unsigned __int8)DS_Dictionary::stepIntoSubDictWithKey((DS_Dictionary *)this, a2);
a4 = v9;
if ( !(_BYTE)this )
return 0;
}
if ( a4 == -1 )
{
this = DS_Dictionary::getIntegerForKey(v4, "kCEK");
a4 = this;
}
v8 = a4;
v5 = (ObjectDecoder *)ObjectDecoder::sharedDecoder((ObjectDecoder *)this);
DecodedObject = ObjectDecoder::getDecodedObject(v5, v8, v4);
DS_Dictionary::stepOutOfSubDict((__int64)v4);
return DecodedObject;
}