// // pugi::xml_node::append_buffer from 0x814ed8 to 0x814fac (212 bytes) // // 0 xrefs: // // 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:41 +0000 // int *__fastcall pugi::xml_node::append_buffer( int *a1, pugi::xml_node *this, unsigned __int8 *a3, unsigned int a4, unsigned int a5, int a6) { _DWORD *v10; // r0 int v11; // r1 int v12; // r3 int v13; // r0 int v14; // r3 _DWORD *v15; // r6 char *v16; // r4 int v17; // r4 int v18; // r2 int v19; // r10 int v20; // r0 int v21; // r1 int v22; // r2 int v24; // [sp+18h] [bp-1Ch] BYREF unsigned __int8 *v25; // [sp+1Ch] [bp-18h] BYREF int v26[3]; // [sp+20h] [bp-14h] BYREF v10 = pugi::xml_node::type(this); if ( sub_810A7C((_BOOL4)v10, 2u) ) { v13 = pugi::xml_node::root(this, v11); v24 = 0; v14 = *(_DWORD *)(v13 + 36); v15 = (_DWORD *)v13; if ( (unsigned int)(v14 + 8) <= 0x8000 ) { v17 = *(_DWORD *)(v13 + 32); *(_DWORD *)(v13 + 36) = v14 + 8; v24 = v17; v16 = (char *)(v17 + v14 + 24); } else { v16 = sub_810228(v13 + 32, 8u, &v24); } if ( v16 ) { v18 = *(_DWORD *)this; v25 = nullptr; v19 = *(_DWORD *)(v18 + 8); *(_DWORD *)(v18 + 8) = 0; sub_81406C(v26, v15, *(_DWORD *)this, a3, a4, a5, a6, 0, 0, &v25); v20 = v26[0]; v21 = v26[1]; v22 = v26[2]; *(_DWORD *)(*(_DWORD *)this + 8) = v19; *(_DWORD *)v16 = v25; *((_DWORD *)v16 + 1) = v15[11]; v15[11] = v16; *a1 = v20; a1[1] = v21; a1[2] = v22; return a1; } pugi::xml_parse_result::xml_parse_result(a1); v12 = 3; } else { pugi::xml_parse_result::xml_parse_result(a1); v12 = 15; } *a1 = v12; a1[1] = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source