//
// DS_Dictionary::decodeObjectForKey from 0x180019630 to 0x1800196b4 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b89ec
//
// 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 11:21:25 +0000
//
struct cocos2d::CCObject *__fastcall DS_Dictionary::decodeObjectForKey(
DS_Dictionary *this,
const char *a2,
char a3,
int IntegerForKey)
{
struct cocos2d::CCObject *result; // rax
ObjectDecoder *v7; // rax
if ( !a3 && !DS_Dictionary::stepIntoSubDictWithKey(this, a2) )
return nullptr;
if ( IntegerForKey == -1 )
IntegerForKey = DS_Dictionary::getIntegerForKey(this, "kCEK");
v7 = ObjectDecoder::sharedDecoder();
result = ObjectDecoder::getDecodedObject(v7, IntegerForKey, this);
if ( (unsigned __int64)((__int64)(*((_QWORD *)this + 27) - *((_QWORD *)this + 26)) >> 3) > 1 )
*((_QWORD *)this + 27) -= 8LL;
return result;
}