//
// pugi::xml_node::child from 0x812080 to 0x8120ca (74 bytes)
//
// 39 xrefs:
// > DS_Dictionary::checkCompatibility @ 0x80ac48
// > DS_Dictionary::saveRootSubDictToString @ 0x80acac
// > DS_Dictionary::getIndexOfKey @ 0x80adaa
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x80ae46
// > DS_Dictionary::removeKey @ 0x80aee2
// > DS_Dictionary::removeKey @ 0x80af98
// > DS_Dictionary::removeAllKeys @ 0x80b05e
// > DS_Dictionary::getIntegerForKey @ 0x80b0da
// > DS_Dictionary::getBoolForKey @ 0x80b1c4
// > DS_Dictionary::getFloatForKey @ 0x80b290
// > DS_Dictionary::getVec2ForKey @ 0x80b38e
// > DS_Dictionary::setBoolForKey @ 0x80b4bc
// > DS_Dictionary::setStringForKey @ 0x80b5f8
// > DS_Dictionary::setStringArrayForKey @ 0x80b74e
// > DS_Dictionary::getStringForKey @ 0x80b8c6
// > DS_Dictionary::getStringArrayForKey @ 0x80bca2
// > DS_Dictionary::getRectForKey @ 0x80c586
// > DS_Dictionary::DS_Dictionary @ 0x80cbcc
// > DS_Dictionary::DS_Dictionary @ 0x80cbd6
// > DS_Dictionary::loadRootSubDictFromFile @ 0x80cd48
// > DS_Dictionary::loadRootSubDictFromFile @ 0x80cd58
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x80cec2
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x80ced2
// > DS_Dictionary::loadRootSubDictFromString @ 0x80cfaa
// > DS_Dictionary::loadRootSubDictFromString @ 0x80cfba
// > DS_Dictionary::stepBackToRootSubDict @ 0x80d050
// > DS_Dictionary::stepBackToRootSubDict @ 0x80d05c
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x80d12e
// > DS_Dictionary::setSubDictForKey @ 0x80d292
// > DS_Dictionary::getObjectForKey @ 0x80d846
// > DS_Dictionary::setFloatForKey @ 0x80dae2
// > DS_Dictionary::setIntegerForKey @ 0x80dd96
// > DS_Dictionary::setVec2ForKey @ 0x80ec80
// > DS_Dictionary::setRectForKey @ 0x80eedc
// > DS_Dictionary::setVec2ArrayForKey @ 0x80f06e
// > DS_Dictionary::setRectArrayForKey @ 0x80f300
// > pugi::xml_node::child_value @ 0x8122e8
// > pugi::xml_node::remove_child @ 0x8133ce
// > pugi::xml_node::children @ 0x813f52
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:38 +0000
//
int __fastcall pugi::xml_node::child(pugi::xml_node *this, const char *a2)
{
int i; // r5
const char *v4; // r1
_DWORD v6[2]; // [sp+0h] [bp-8h] BYREF
v6[0] = this;
v6[1] = a2;
if ( *(_DWORD *)this )
{
for ( i = *(_DWORD *)(*(_DWORD *)this + 16); i; i = *(_DWORD *)(i + 24) )
{
v4 = *(const char **)(i + 8);
if ( v4 && sub_80FCB4(a2, v4) )
{
pugi::xml_node::xml_node(v6, i);
return v6[0];
}
}
}
pugi::xml_node::xml_node(v6);
return v6[0];
}