//
// pugi::xml_node::child from 0xdc52ec to 0xdc5388 (156 bytes)
//
// 40 xrefs:
// > DS_Dictionary::checkCompatibility @ 0xdb5efc
// > DS_Dictionary::saveRootSubDictToString @ 0xdb5f88
// > DS_Dictionary::getIndexOfKey @ 0xdb6108
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0xdb61f4
// > DS_Dictionary::removeKey @ 0xdb62e4
// > DS_Dictionary::removeKey @ 0xdb63ec
// > DS_Dictionary::removeAllKeys @ 0xdb6530
// > DS_Dictionary::getIntegerForKey @ 0xdb65cc
// > DS_Dictionary::getBoolForKey @ 0xdb6700
// > DS_Dictionary::getFloatForKey @ 0xdb6820
// > DS_Dictionary::getVec2ForKey @ 0xdb697c
// > DS_Dictionary::setBoolForKey @ 0xdb6b30
// > DS_Dictionary::setStringForKey @ 0xdb6d78
// > DS_Dictionary::setStringArrayForKey @ 0xdb6fe4
// > DS_Dictionary::getStringForKey @ 0xdb70ec
// > DS_Dictionary::getStringArrayForKey @ 0xdb7b2c
// > DS_Dictionary::getRectForKey @ 0xdb90c8
// > DS_Dictionary::DS_Dictionary @ 0xdba680
// > DS_Dictionary::DS_Dictionary @ 0xdba690
// > DS_Dictionary::loadRootSubDictFromFile @ 0xdba814
// > DS_Dictionary::loadRootSubDictFromFile @ 0xdba828
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xdbaaf0
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xdbab04
// > DS_Dictionary::loadRootSubDictFromString @ 0xdbac98
// > DS_Dictionary::loadRootSubDictFromString @ 0xdbacb0
// > DS_Dictionary::stepBackToRootSubDict @ 0xdbada4
// > DS_Dictionary::stepBackToRootSubDict @ 0xdbadb8
// > DS_Dictionary::stepIntoSubDictWithKey @ 0xdbafd4
// > DS_Dictionary::setSubDictForKey @ 0xdbb298
// > DS_Dictionary::getObjectForKey @ 0xdbbbac
// > DS_Dictionary::setFloatForKey @ 0xdbbf9c
// > DS_Dictionary::setIntegerForKey @ 0xdbc464
// > DS_Dictionary::setVec2ForKey @ 0xdbcdbc
// > DS_Dictionary::setRectForKey @ 0xdbd17c
// > DS_Dictionary::setVec2ArrayForKey @ 0xdbd3fc
// > DS_Dictionary::setRectArrayForKey @ 0xdbd834
// > pugi::xml_node::child_value @ 0xdc5794
// > pugi::xml_node::remove_child @ 0xdc9b80
// > pugi::xml_node::children @ 0xdcb9f0
// > ??> @ 0xca990
//
// 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:50 +0000
//
__int64 __fastcall pugi::xml_node::child(pugi::xml_node *this, const char *a2)
{
__int64 v3; // x0
__int64 v4; // x19
const char *v5; // x1
__int64 v7; // [xsp+30h] [xbp+30h] BYREF
v3 = *(_QWORD *)this;
if ( v3 && (v4 = *(_QWORD *)(v3 + 32)) != 0 )
{
while ( 1 )
{
v5 = *(const char **)(v4 + 16);
if ( v5 )
{
if ( !strcmp(a2, v5) )
break;
}
v4 = *(_QWORD *)(v4 + 48);
if ( !v4 )
goto LABEL_8;
}
pugi::xml_node::xml_node(&v7, v4);
return v7;
}
else
{
LABEL_8:
pugi::xml_node::xml_node(&v7);
return v7;
}
}