{"type": "func", "start": 6442990208, "end": 6442990344, "name": "pugi::xml_document::destroy", "pseudocode": "// \n// pugi::xml_document::destroy from 0x180083a80 to 0x180083b08 (136 bytes)\n// \n// 12 xrefs:\n// > pugi::xml_document::~xml_document @ 0x180082364\n// > pugi::xml_document::load @ 0x180084210\n// > pugi::xml_document::load @ 0x180084270\n// > pugi::xml_document::load_buffer @ 0x180084330\n// > pugi::xml_document::load_buffer_inplace @ 0x180084610\n// > pugi::xml_document::load_buffer_inplace_own @ 0x1800846a0\n// > pugi::xml_document::load_file @ 0x180084730\n// > pugi::xml_document::load_file @ 0x1800847a0\n// > pugi::xml_document::reset @ 0x18008778f\n// > pugi::xml_document::reset @ 0x180087cc9\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bf448\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:03 +0000\n// \n\nvoid __fastcall pugi::xml_document::destroy(pugi::xml_document *this)\n{\n  void *v2; // rcx\n  __int64 i; // rbx\n  __int64 v4; // rcx\n  __int64 v5; // rbx\n\n  v2 = *((void **)this + 1);\n  if ( v2 )\n  {\n    off_1801ACF78(v2);\n    *((_QWORD *)this + 1) = 0;\n  }\n  for ( i = *(_QWORD *)(*(_QWORD *)this + 88LL); i; i = *(_QWORD *)(i + 8) )\n  {\n    if ( *(_QWORD *)i )\n      off_1801ACF78(*(void **)i);\n  }\n  v4 = *(_QWORD *)((**(_QWORD **)this & 0xFFFFFFFFFFFFFFE0uLL) + 0x18);\n  if ( v4 )\n  {\n    do\n    {\n      v5 = *(_QWORD *)(v4 + 24);\n      off_1801ACF78(*(void **)(v4 + 8));\n      v4 = v5;\n    }\n    while ( v5 );\n  }\n  *(_QWORD *)this = 0;\n}", "assembly": "; \n; pugi::xml_document::destroy from 0x180083a80 to 0x180083b08 (136 bytes)\n; \n; 12 xrefs:\n; > pugi::xml_document::~xml_document @ 0x180082364\n; > pugi::xml_document::load @ 0x180084210\n; > pugi::xml_document::load @ 0x180084270\n; > pugi::xml_document::load_buffer @ 0x180084330\n; > pugi::xml_document::load_buffer_inplace @ 0x180084610\n; > pugi::xml_document::load_buffer_inplace_own @ 0x1800846a0\n; > pugi::xml_document::load_file @ 0x180084730\n; > pugi::xml_document::load_file @ 0x1800847a0\n; > pugi::xml_document::reset @ 0x18008778f\n; > pugi::xml_document::reset @ 0x180087cc9\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bf448\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:03 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180083a80\npush    rdi                                                            ; +0x5, 0x180083a85\nsub     rsp, 20h                                                       ; +0x6, 0x180083a86\nmov     rdi, rcx                                                       ; +0xa, 0x180083a8a\nmov     rcx, [rcx+8]; Block                                            ; +0xd, 0x180083a8d\ntest    rcx, rcx                                                       ; +0x11, 0x180083a91\njz      short loc_180083AA4                                            ; +0x14, 0x180083a94\ncall    cs:off_1801ACF78                                               ; +0x16, 0x180083a96\nmov     qword ptr [rdi+8], 0                                           ; +0x1c, 0x180083a9c\nmov     rax, [rdi]                                                     ; +0x24, 0x180083aa4\nmov     rbx, [rax+58h]                                                 ; +0x27, 0x180083aa7\ntest    rbx, rbx                                                       ; +0x2b, 0x180083aab\njz      short loc_180083AC7                                            ; +0x2e, 0x180083aae\nmov     rcx, [rbx]; Block                                              ; +0x30, 0x180083ab0\ntest    rcx, rcx                                                       ; +0x33, 0x180083ab3\njz      short loc_180083ABE                                            ; +0x36, 0x180083ab6\ncall    cs:off_1801ACF78                                               ; +0x38, 0x180083ab8\nmov     rbx, [rbx+8]                                                   ; +0x3e, 0x180083abe\ntest    rbx, rbx                                                       ; +0x42, 0x180083ac2\njnz     short loc_180083AB0                                            ; +0x45, 0x180083ac5\nmov     rax, [rdi]                                                     ; +0x47, 0x180083ac7\nmov     rcx, [rax]                                                     ; +0x4a, 0x180083aca\nand     rcx, 0FFFFFFFFFFFFFFE0h                                        ; +0x4d, 0x180083acd\nmov     rcx, [rcx+18h]                                                 ; +0x51, 0x180083ad1\ntest    rcx, rcx                                                       ; +0x55, 0x180083ad5\njz      short loc_180083AF6                                            ; +0x58, 0x180083ad8\nnop     word ptr [rax+rax+00h]                                         ; +0x5a, 0x180083ada\nmov     rbx, [rcx+18h]                                                 ; +0x60, 0x180083ae0\nmov     rcx, [rcx+8]; Block                                            ; +0x64, 0x180083ae4\ncall    cs:off_1801ACF78                                               ; +0x68, 0x180083ae8\nmov     rcx, rbx                                                       ; +0x6e, 0x180083aee\ntest    rbx, rbx                                                       ; +0x71, 0x180083af1\njnz     short loc_180083AE0                                            ; +0x74, 0x180083af4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x76, 0x180083af6\nmov     qword ptr [rdi], 0                                             ; +0x7b, 0x180083afb\nadd     rsp, 20h                                                       ; +0x82, 0x180083b02\npop     rdi                                                            ; +0x86, 0x180083b06\nretn                                                                   ; +0x87, 0x180083b07", "xrefs": ["pugi::xml_document::~xml_document @ 0x180082364", "pugi::xml_document::load @ 0x180084210", "pugi::xml_document::load @ 0x180084270", "pugi::xml_document::load_buffer @ 0x180084330", "pugi::xml_document::load_buffer_inplace @ 0x180084610", "pugi::xml_document::load_buffer_inplace_own @ 0x1800846a0", "pugi::xml_document::load_file @ 0x180084730", "pugi::xml_document::load_file @ 0x1800847a0", "pugi::xml_document::reset @ 0x18008778f", "pugi::xml_document::reset @ 0x180087cc9", "<???> @ 0x18014cf68", "<???> @ 0x1801bf448"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}