// // pugi::xml_document::destroy from 0xb5a028 to 0xb5a0c4 (156 bytes) // // 3 xrefs: // > pugi::xml_document::~xml_document @ 0xb5a0c4 // > pugi::xml_document::reset @ 0xb5a0d8 // > @ 0x33228 // // 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 // void __fastcall pugi::xml_document::destroy(pugi::xml_document *this) { pugi::char_t *buffer; // x0 pugi::xml_node_struct *root; // x0 __int64 v4; // x19 __int64 v5; // x1 __int64 v6; // x19 buffer = this->_buffer; if ( buffer ) { off_1230F80(buffer); this->_buffer = nullptr; } root = this->_root; v4 = *((_QWORD *)this->_root + 11); if ( v4 ) { do { if ( *(_QWORD *)v4 ) off_1230F80(*(void **)v4); v4 = *(_QWORD *)(v4 + 8); } while ( v4 ); root = this->_root; } v5 = *(__int64 *)((char *)&off_18 + (*(_QWORD *)root & 0xFFFFFFFFFFFFFFE0LL)); if ( v5 ) { do { v6 = *(_QWORD *)(v5 + 24); off_1230F80(*(void **)(v5 + 8)); v5 = v6; } while ( v6 ); } this->_root = nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source