//
// pugi::xml_node::set_value from 0x812974 to 0x8129a4 (48 bytes)
//
// 19 xrefs:
// > DS_Dictionary::setBoolForKey @ 0x80b52e
// > DS_Dictionary::setStringForKey @ 0x80b66a
// > DS_Dictionary::setStringForKey @ 0x80b6a2
// > DS_Dictionary::setStringArrayForKey @ 0x80b7c0
// > DS_Dictionary::setStringArrayForKey @ 0x80b83e
// > DS_Dictionary::setSubDictForKey @ 0x80d304
// > DS_Dictionary::setFloatForKey @ 0x80db56
// > DS_Dictionary::setFloatForKey @ 0x80db9e
// > DS_Dictionary::setIntegerForKey @ 0x80de0a
// > DS_Dictionary::setIntegerForKey @ 0x80de52
// > DS_Dictionary::setVec2ForKey @ 0x80ecf2
// > DS_Dictionary::setVec2ForKey @ 0x80ed3a
// > DS_Dictionary::setRectForKey @ 0x80ef4e
// > DS_Dictionary::setRectForKey @ 0x80ef96
// > DS_Dictionary::setVec2ArrayForKey @ 0x80f0e0
// > DS_Dictionary::setVec2ArrayForKey @ 0x80f21a
// > DS_Dictionary::setRectArrayForKey @ 0x80f372
// > DS_Dictionary::setRectArrayForKey @ 0x80f4d4
// > sub_812DAC @ 0x812e84
//
// 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::set_value(pugi::xml_node *this, char *a2)
{
unsigned int v4; // r0
v4 = (unsigned int)pugi::xml_node::type(this) - 3;
if ( v4 <= 5 && ((1 << v4) & 0x2F) != 0 )
return sub_811938((int *)(*(_DWORD *)this + 12), *(int **)this, 8, a2);
else
return 0;
}