{"type": "func", "start": 6442987664, "end": 6442987786, "name": "pugi::xml_document::create", "pseudocode": "// \n// pugi::xml_document::create from 0x180083090 to 0x18008310a (122 bytes)\n// \n// 10 xrefs:\n// > pugi::xml_document::load @ 0x180084218\n// > pugi::xml_document::load @ 0x180084278\n// > pugi::xml_document::load_buffer @ 0x180084338\n// > pugi::xml_document::load_buffer_inplace @ 0x180084618\n// > pugi::xml_document::load_buffer_inplace_own @ 0x1800846a8\n// > pugi::xml_document::load_file @ 0x180084738\n// > pugi::xml_document::load_file @ 0x1800847a8\n// > pugi::xml_document::reset @ 0x180087797\n// > pugi::xml_document::reset @ 0x180087cd6\n// > <???> @ 0x18014cf68\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::create(pugi::xml_document *this)\n{\n  _QWORD *v1; // r8\n  bool v2; // zf\n  __int64 v3; // rcx\n\n  v1 = (_QWORD *)(((unsigned __int64)this + 47) & 0xFFFFFFFFFFFFFFE0uLL);\n  if ( v1 )\n  {\n    *v1 = 0;\n    *(_QWORD *)((((unsigned __int64)this + 47) & 0xFFFFFFFFFFFFFFE0uLL) + 8) = 0;\n    *(_QWORD *)((((unsigned __int64)this + 47) & 0xFFFFFFFFFFFFFFE0uLL) + 0x10) = 0;\n    *(_QWORD *)((((unsigned __int64)this + 47) & 0xFFFFFFFFFFFFFFE0uLL) + 0x18) = 0;\n    *(_QWORD *)((((unsigned __int64)this + 47) & 0xFFFFFFFFFFFFFFE0uLL) + 0x28) = 0;\n  }\n  else\n  {\n    v1 = nullptr;\n  }\n  v1[4] = 0x8000;\n  v1[6] = v1;\n  v1[7] = 0;\n  v1[8] = 0;\n  v1[9] = 0;\n  v1[10] = 0;\n  v1[12] = 0;\n  v1[13] = 0;\n  v1[14] = v1;\n  v1[15] = 0x8000;\n  v1[16] = 0;\n  v1[17] = 0;\n  *(_QWORD *)this = v1 + 6;\n  v1[11] = v1 + 6;\n  v2 = *(_QWORD *)this == 0;\n  v3 = *(_QWORD *)this + 64LL;\n  if ( v2 )\n    v3 = 0;\n  *v1 = v3;\n}", "assembly": "; \n; pugi::xml_document::create from 0x180083090 to 0x18008310a (122 bytes)\n; \n; 10 xrefs:\n; > pugi::xml_document::load @ 0x180084218\n; > pugi::xml_document::load @ 0x180084278\n; > pugi::xml_document::load_buffer @ 0x180084338\n; > pugi::xml_document::load_buffer_inplace @ 0x180084618\n; > pugi::xml_document::load_buffer_inplace_own @ 0x1800846a8\n; > pugi::xml_document::load_file @ 0x180084738\n; > pugi::xml_document::load_file @ 0x1800847a8\n; > pugi::xml_document::reset @ 0x180087797\n; > pugi::xml_document::reset @ 0x180087cd6\n; > <???> @ 0x18014cf68\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; \nlea     r8, [rcx+2Fh]                                                  ; +0x0, 0x180083090\nand     r8, 0FFFFFFFFFFFFFFE0h                                         ; +0x4, 0x180083094\njnz     short loc_1800830A1                                            ; +0x8, 0x180083098\nxor     edx, edx                                                       ; +0xa, 0x18008309a\nmov     r8d, edx                                                       ; +0xc, 0x18008309c\njmp     short loc_1800830B6                                            ; +0xf, 0x18008309f\nxor     edx, edx                                                       ; +0x11, 0x1800830a1\nmov     [r8], rdx                                                      ; +0x13, 0x1800830a3\nmov     [r8+8], rdx                                                    ; +0x16, 0x1800830a6\nmov     [r8+10h], rdx                                                  ; +0x1a, 0x1800830aa\nmov     [r8+18h], rdx                                                  ; +0x1e, 0x1800830ae\nmov     [r8+28h], rdx                                                  ; +0x22, 0x1800830b2\nlea     rax, [r8+30h]                                                  ; +0x26, 0x1800830b6\nmov     qword ptr [r8+20h], 8000h                                      ; +0x2a, 0x1800830ba\nmov     [rax], r8                                                      ; +0x32, 0x1800830c2\nmov     [rax+8], rdx                                                   ; +0x35, 0x1800830c5\nmov     [rax+10h], rdx                                                 ; +0x39, 0x1800830c9\nmov     [rax+18h], rdx                                                 ; +0x3d, 0x1800830cd\nmov     [rax+20h], rdx                                                 ; +0x41, 0x1800830d1\nmov     [rax+30h], rdx                                                 ; +0x45, 0x1800830d5\nmov     [rax+38h], rdx                                                 ; +0x49, 0x1800830d9\nmov     [rax+40h], r8                                                  ; +0x4d, 0x1800830dd\nmov     qword ptr [rax+48h], 8000h                                     ; +0x51, 0x1800830e1\nmov     [rax+50h], rdx                                                 ; +0x59, 0x1800830e9\nmov     [rax+58h], rdx                                                 ; +0x5d, 0x1800830ed\nmov     [rcx], rax                                                     ; +0x61, 0x1800830f1\nmov     [rax+28h], rax                                                 ; +0x64, 0x1800830f4\nmov     rax, [rcx]                                                     ; +0x68, 0x1800830f8\ntest    rax, rax                                                       ; +0x6b, 0x1800830fb\nlea     rcx, [rax+40h]                                                 ; +0x6e, 0x1800830fe\ncmovz   rcx, rdx                                                       ; +0x72, 0x180083102\nmov     [r8], rcx                                                      ; +0x76, 0x180083106\nretn                                                                   ; +0x79, 0x180083109", "xrefs": ["pugi::xml_document::load @ 0x180084218", "pugi::xml_document::load @ 0x180084278", "pugi::xml_document::load_buffer @ 0x180084338", "pugi::xml_document::load_buffer_inplace @ 0x180084618", "pugi::xml_document::load_buffer_inplace_own @ 0x1800846a8", "pugi::xml_document::load_file @ 0x180084738", "pugi::xml_document::load_file @ 0x1800847a8", "pugi::xml_document::reset @ 0x180087797", "pugi::xml_document::reset @ 0x180087cd6", "<???> @ 0x18014cf68"], "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"}