//
// DS_Dictionary::setBoolForKey from 0x10017eda0 to 0x10017ef15 (373 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall DS_Dictionary::setBoolForKey(DS_Dictionary *a1, const char *a2, bool a3, bool a4)
{
const char *v6; // r15
const char *v7; // rsi
char *v8; // rax
const char *v9; // rsi
__int64 v10; // rax
const char *v11; // rsi
const char *v12; // rsi
__int64 v13; // [rsp-40h] [rbp-40h] BYREF
_QWORD v14[7]; // [rsp-38h] [rbp-38h] BYREF
if ( a3 )
{
pugi::xml_node::xml_node(&v13);
v6 = "k";
if ( !a4 )
goto LABEL_11;
v7 = "k";
if ( a1->compatible )
v7 = "key";
v14[0] = sub_10063B550(&a1->dictTree.__end_[-1], v7);
if ( sub_10063B3F0(v14) )
{
while ( 1 )
{
v8 = (char *)sub_10063B880(v14);
if ( !sub_1001796D0(v8, (char *)a2) )
break;
v9 = "key";
if ( !a1->compatible )
v9 = "k";
v14[0] = sub_10063B730(v14, v9);
if ( !sub_10063B3F0(v14) )
goto LABEL_11;
}
v12 = "k";
if ( a1->compatible )
v12 = "key";
v10 = sub_10063C8D0(&a1->dictTree.__end_[-1], v12, v14);
}
else
{
LABEL_11:
if ( a1->compatible )
v6 = "key";
v10 = sub_10063C660(&a1->dictTree.__end_[-1], v6);
}
v13 = v10;
v14[0] = sub_10063C150(&v13, 3);
sub_10063BA40(v14, a2);
v11 = "t";
if ( a1->compatible )
v11 = "true";
sub_10063C7D0(&a1->dictTree.__end_[-1], v11, &v13);
}
}