//
// sub_1003AB540 from 0x1003ab540 to 0x1003ab594 (84 bytes)
//
// 14 xrefs:
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x1001615e0
// > DS_Dictionary::removeKey @ 0x100161798
// > DS_Dictionary::getIntegerForKey @ 0x1001618a8
// > DS_Dictionary::getBoolForKey @ 0x100161968
// > DS_Dictionary::getFloatForKey @ 0x100161a68
// > DS_Dictionary::getFloatForKey @ 0x100161a90
// > DS_Dictionary::getStringForKey @ 0x100161b88
// > DS_Dictionary::getStringForKey @ 0x100161bb0
// > DS_Dictionary::setSubDictForKey @ 0x100161c9c
// > DS_Dictionary::setIntegerForKey @ 0x100161e30
// > DS_Dictionary::setBoolForKey @ 0x100162020
// > DS_Dictionary::setFloatForKey @ 0x1001621ac
// > DS_Dictionary::setStringForKey @ 0x1001623b4
// > DS_Dictionary::getObjectForKey @ 0x1001628a4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1003AB540(__int64 a1, char *__s1)
{
__int64 i; // x19
const char *v4; // x1
if ( !*(_QWORD *)a1 )
return 0;
for ( i = *(_QWORD *)(*(_QWORD *)a1 + 48LL); i; i = *(_QWORD *)(i + 48) )
{
v4 = *(const char **)(i + 16);
if ( v4 && !strcmp(__s1, v4) )
break;
}
return i;
}