//
// pugi::xml_text::_data_new from 0x81387c to 0x8138be (66 bytes)
//
// 7 xrefs:
// > pugi::xml_text::set @ 0x813a56
// > pugi::xml_text::set @ 0x813a80
// > pugi::xml_text::set @ 0x813ad0
// > pugi::xml_text::set @ 0x813b24
// > pugi::xml_text::set @ 0x813b6c
// > pugi::xml_text::set @ 0x813bac
// > pugi::xml_text::set @ 0x813c04
//
// 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:39 +0000
//
_DWORD *__fastcall pugi::xml_text::_data_new(pugi::xml_text *this, int a2, int a3, int a4)
{
_DWORD *result; // r0
int v6; // r2
int appended; // [sp+4h] [bp-Ch] BYREF
_DWORD v8[2]; // [sp+8h] [bp-8h] BYREF
appended = a2;
v8[0] = a3;
v8[1] = a4;
result = pugi::xml_text::_data(this);
if ( !result )
{
pugi::xml_node::xml_node(v8, *(_DWORD *)this);
appended = pugi::xml_node::append_child((pugi::xml_node *)v8, 3u, v6);
return (_DWORD *)pugi::xml_node::internal_object((pugi::xml_node *)&appended);
}
return result;
}