// // pugi::xml_node::append_buffer from 0x605860 to 0x605930 (208 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int *__fastcall pugi::xml_node::append_buffer( int *a1, pugi::xml_node *this, unsigned __int8 *a3, unsigned int a4, unsigned int a5, int a6) { pugi::xml_node_struct *v10; // r0 pugi::xml_node_struct *v11; // r1 int v12; // r3 pugi::xml_node_struct *v13; // r0 int v14; // r3 pugi::xml_node_struct *v15; // r6 _DWORD *v16; // r4 unsigned int v17; // r4 pugi::xml_node_struct *root; // r2 int v19; // r10 int v20; // r0 int v21; // r1 int v22; // r2 unsigned 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_6014B8((_BOOL4)v10, 2u) ) { v13 = pugi::xml_node::root(this, v11); v24 = 0; v14 = *((_DWORD *)v13 + 9); v15 = v13; if ( (unsigned int)(v14 + 8) <= 0x8000 ) { v17 = *((_DWORD *)v13 + 8); *((_DWORD *)v13 + 9) = v14 + 8; v24 = v17; v16 = (_DWORD *)(v17 + v14 + 24); } else { v16 = (_DWORD *)sub_600C68((int)v13 + 32, 8u, &v24); } if ( v16 ) { root = this->_root; v25 = nullptr; v19 = *((_DWORD *)root + 2); *((_DWORD *)root + 2) = 0; sub_6049F4(v26, v15, root, a3, a4, a5, a6, 0, 0, &v25); v20 = v26[0]; v21 = v26[1]; v22 = v26[2]; *((_DWORD *)this->_root + 2) = v19; *v16 = v25; v16[1] = *((_DWORD *)v15 + 11); *((_DWORD *)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