//
// pugi::xml_node::next_sibling from 0x812120 to 0x81216a (74 bytes)
//
// 29 xrefs:
// > DS_Dictionary::getIndexOfKey @ 0x80adec
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x80ae8a
// > DS_Dictionary::removeKey @ 0x80af3c
// > DS_Dictionary::removeKey @ 0x80aff8
// > DS_Dictionary::getIntegerForKey @ 0x80b162
// > DS_Dictionary::getBoolForKey @ 0x80b22c
// > DS_Dictionary::getFloatForKey @ 0x80b2de
// > DS_Dictionary::getFloatForKey @ 0x80b31a
// > DS_Dictionary::getVec2ForKey @ 0x80b3de
// > DS_Dictionary::getVec2ForKey @ 0x80b420
// > DS_Dictionary::setBoolForKey @ 0x80b50e
// > DS_Dictionary::setStringForKey @ 0x80b64a
// > DS_Dictionary::setStringArrayForKey @ 0x80b7a0
// > DS_Dictionary::getStringForKey @ 0x80b918
// > DS_Dictionary::getStringForKey @ 0x80b95a
// > DS_Dictionary::getStringArrayForKey @ 0x80bcfa
// > DS_Dictionary::getStringArrayForKey @ 0x80bda4
// > DS_Dictionary::getRectForKey @ 0x80c5de
// > DS_Dictionary::getRectForKey @ 0x80c64a
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x80d1ce
// > DS_Dictionary::setSubDictForKey @ 0x80d2e4
// > DS_Dictionary::getObjectForKey @ 0x80d972
// > DS_Dictionary::setFloatForKey @ 0x80db34
// > DS_Dictionary::setIntegerForKey @ 0x80dde8
// > DS_Dictionary::setVec2ForKey @ 0x80ecd2
// > DS_Dictionary::setRectForKey @ 0x80ef2e
// > DS_Dictionary::setVec2ArrayForKey @ 0x80f0c0
// > DS_Dictionary::setRectArrayForKey @ 0x80f352
// > pugi::xml_named_node_iterator::operator++ @ 0x813fee
//
// 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::next_sibling(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 + 24); 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];
}