{"type": "func", "start": 6442975392, "end": 6442975514, "name": "pugi::xml_document::create", "pseudocode": "// \n// pugi::xml_document::create from 0x1800800a0 to 0x18008011a (122 bytes)\n// \n// 10 xrefs:\n// > pugi::xml_document::load @ 0x180081238\n// > pugi::xml_document::load @ 0x180081298\n// > pugi::xml_document::load_buffer @ 0x180081338\n// > pugi::xml_document::load_buffer_inplace @ 0x180081618\n// > pugi::xml_document::load_buffer_inplace_own @ 0x1800816a8\n// > pugi::xml_document::load_file @ 0x180081738\n// > pugi::xml_document::load_file @ 0x1800817a8\n// > pugi::xml_document::reset @ 0x1800847c7\n// > pugi::xml_document::reset @ 0x180084cc6\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall pugi::xml_document::create(pugi::xml_document *this)\n{\n  _QWORD *v1; // r8\n  bool v2; // zf\n  char *v3; // rcx\n\n  v1 = (_QWORD *)((unsigned __int64)&this->_memory[31] & 0xFFFFFFFFFFFFFFE0uLL);\n  if ( v1 )\n  {\n    *v1 = 0;\n    *(_QWORD *)(((unsigned __int64)&this->_memory[31] & 0xFFFFFFFFFFFFFFE0uLL) + 8) = 0;\n    *(_QWORD *)(((unsigned __int64)&this->_memory[31] & 0xFFFFFFFFFFFFFFE0uLL) + 0x10) = 0;\n    *(_QWORD *)(((unsigned __int64)&this->_memory[31] & 0xFFFFFFFFFFFFFFE0uLL) + 0x18) = 0;\n    *(_QWORD *)(((unsigned __int64)&this->_memory[31] & 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  this->_root = (pugi::xml_node_struct *)(v1 + 6);\n  v1[11] = v1 + 6;\n  v2 = this->_root == nullptr;\n  v3 = (char *)this->_root + 64;\n  if ( v2 )\n    v3 = nullptr;\n  *v1 = v3;\n}", "assembly": "; \n; pugi::xml_document::create from 0x1800800a0 to 0x18008011a (122 bytes)\n; \n; 10 xrefs:\n; > pugi::xml_document::load @ 0x180081238\n; > pugi::xml_document::load @ 0x180081298\n; > pugi::xml_document::load_buffer @ 0x180081338\n; > pugi::xml_document::load_buffer_inplace @ 0x180081618\n; > pugi::xml_document::load_buffer_inplace_own @ 0x1800816a8\n; > pugi::xml_document::load_file @ 0x180081738\n; > pugi::xml_document::load_file @ 0x1800817a8\n; > pugi::xml_document::reset @ 0x1800847c7\n; > pugi::xml_document::reset @ 0x180084cc6\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nlea     r8, [rcx+2Fh]                                                  ; +0x0, 0x1800800a0\nand     r8, 0FFFFFFFFFFFFFFE0h                                         ; +0x4, 0x1800800a4\njnz     short loc_1800800B1                                            ; +0x8, 0x1800800a8\nxor     edx, edx                                                       ; +0xa, 0x1800800aa\nmov     r8d, edx                                                       ; +0xc, 0x1800800ac\njmp     short loc_1800800C6                                            ; +0xf, 0x1800800af\nxor     edx, edx                                                       ; +0x11, 0x1800800b1\nmov     [r8], rdx                                                      ; +0x13, 0x1800800b3\nmov     [r8+8], rdx                                                    ; +0x16, 0x1800800b6\nmov     [r8+10h], rdx                                                  ; +0x1a, 0x1800800ba\nmov     [r8+18h], rdx                                                  ; +0x1e, 0x1800800be\nmov     [r8+28h], rdx                                                  ; +0x22, 0x1800800c2\nlea     rax, [r8+30h]                                                  ; +0x26, 0x1800800c6\nmov     qword ptr [r8+20h], 8000h                                      ; +0x2a, 0x1800800ca\nmov     [rax], r8                                                      ; +0x32, 0x1800800d2\nmov     [rax+8], rdx                                                   ; +0x35, 0x1800800d5\nmov     [rax+10h], rdx                                                 ; +0x39, 0x1800800d9\nmov     [rax+18h], rdx                                                 ; +0x3d, 0x1800800dd\nmov     [rax+20h], rdx                                                 ; +0x41, 0x1800800e1\nmov     [rax+30h], rdx                                                 ; +0x45, 0x1800800e5\nmov     [rax+38h], rdx                                                 ; +0x49, 0x1800800e9\nmov     [rax+40h], r8                                                  ; +0x4d, 0x1800800ed\nmov     qword ptr [rax+48h], 8000h                                     ; +0x51, 0x1800800f1\nmov     [rax+50h], rdx                                                 ; +0x59, 0x1800800f9\nmov     [rax+58h], rdx                                                 ; +0x5d, 0x1800800fd\nmov     [rcx], rax                                                     ; +0x61, 0x180080101\nmov     [rax+28h], rax                                                 ; +0x64, 0x180080104\nmov     rax, [rcx]                                                     ; +0x68, 0x180080108\ntest    rax, rax                                                       ; +0x6b, 0x18008010b\nlea     rcx, [rax+40h]                                                 ; +0x6e, 0x18008010e\ncmovz   rcx, rdx                                                       ; +0x72, 0x180080112\nmov     [r8], rcx                                                      ; +0x76, 0x180080116\nretn                                                                   ; +0x79, 0x180080119", "xrefs": ["pugi::xml_document::load @ 0x180081238", "pugi::xml_document::load @ 0x180081298", "pugi::xml_document::load_buffer @ 0x180081338", "pugi::xml_document::load_buffer_inplace @ 0x180081618", "pugi::xml_document::load_buffer_inplace_own @ 0x1800816a8", "pugi::xml_document::load_file @ 0x180081738", "pugi::xml_document::load_file @ 0x1800817a8", "pugi::xml_document::reset @ 0x1800847c7", "pugi::xml_document::reset @ 0x180084cc6", "<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}