//
// DS_Dictionary::decodeObjectForKey from 0x100161250 to 0x1001612c6 (118 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:25:07 +0000
//
__int64 __fastcall DS_Dictionary::decodeObjectForKey(__int64 a1, char *a2, int a3, unsigned int IntegerForKey)
{
__int64 v5; // rax
__int64 result; // rax
if ( !a3 && !DS_Dictionary::stepIntoSubDictWithKey(a1, a2) )
return 0;
if ( IntegerForKey == -1 )
IntegerForKey = DS_Dictionary::getIntegerForKey(a1, "kCEK");
v5 = ObjectDecoder::sharedDecoder();
result = ObjectDecoder::getDecodedObject(v5, IntegerForKey, a1);
if ( *(_QWORD *)(a1 + 216) - *(_QWORD *)(a1 + 208) >= 9u )
*(_QWORD *)(a1 + 216) -= 8LL;
return result;
}