{"type": "func", "start": 6442971920, "end": 6442972051, "name": "pugi::xml_document::xml_document", "pseudocode": "// \n// pugi::xml_document::xml_document from 0x18007f310 to 0x18007f393 (131 bytes)\n// \n// 2 xrefs:\n// > DS_Dictionary::DS_Dictionary @ 0x1800171de\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\npugi::xml_document *__fastcall pugi::xml_document::xml_document(pugi::xml_document *this)\n{\n  _QWORD *v2; // rdx\n  bool v3; // zf\n  char *v4; // rcx\n  pugi::xml_document *result; // rax\n\n  this->_buffer = nullptr;\n  v2 = (_QWORD *)((unsigned __int64)&this->_memory[31] & 0xFFFFFFFFFFFFFFE0uLL);\n  if ( v2 )\n  {\n    *v2 = 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    v2 = nullptr;\n  }\n  v2[4] = 0x8000;\n  v2[6] = v2;\n  v2[7] = 0;\n  v2[8] = 0;\n  v2[9] = 0;\n  v2[10] = 0;\n  v2[12] = 0;\n  v2[13] = 0;\n  v2[14] = v2;\n  v2[15] = 0x8000;\n  v2[16] = 0;\n  v2[17] = 0;\n  this->_root = (pugi::xml_node_struct *)(v2 + 6);\n  v2[11] = v2 + 6;\n  v3 = this->_root == nullptr;\n  v4 = (char *)this->_root + 64;\n  result = this;\n  if ( v3 )\n    v4 = nullptr;\n  *v2 = v4;\n  return result;\n}", "assembly": "; \n; pugi::xml_document::xml_document from 0x18007f310 to 0x18007f393 (131 bytes)\n; \n; 2 xrefs:\n; > DS_Dictionary::DS_Dictionary @ 0x1800171de\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\nxor     r9d, r9d                                                       ; +0x0, 0x18007f310\nlea     rdx, [rcx+2Fh]                                                 ; +0x3, 0x18007f313\nmov     [rcx+8], r9                                                    ; +0x7, 0x18007f317\nmov     r8, rcx                                                        ; +0xb, 0x18007f31b\nand     rdx, 0FFFFFFFFFFFFFFE0h                                        ; +0xe, 0x18007f31e\njnz     short loc_18007F329                                            ; +0x12, 0x18007f322\nmov     edx, r9d                                                       ; +0x14, 0x18007f324\njmp     short loc_18007F33C                                            ; +0x17, 0x18007f327\nmov     [rdx], r9                                                      ; +0x19, 0x18007f329\nmov     [rdx+8], r9                                                    ; +0x1c, 0x18007f32c\nmov     [rdx+10h], r9                                                  ; +0x20, 0x18007f330\nmov     [rdx+18h], r9                                                  ; +0x24, 0x18007f334\nmov     [rdx+28h], r9                                                  ; +0x28, 0x18007f338\nlea     rax, [rdx+30h]                                                 ; +0x2c, 0x18007f33c\nmov     qword ptr [rdx+20h], 8000h                                     ; +0x30, 0x18007f340\nmov     [rax], rdx                                                     ; +0x38, 0x18007f348\nmov     [rax+8], r9                                                    ; +0x3b, 0x18007f34b\nmov     [rax+10h], r9                                                  ; +0x3f, 0x18007f34f\nmov     [rax+18h], r9                                                  ; +0x43, 0x18007f353\nmov     [rax+20h], r9                                                  ; +0x47, 0x18007f357\nmov     [rax+30h], r9                                                  ; +0x4b, 0x18007f35b\nmov     [rax+38h], r9                                                  ; +0x4f, 0x18007f35f\nmov     [rax+40h], rdx                                                 ; +0x53, 0x18007f363\nmov     qword ptr [rax+48h], 8000h                                     ; +0x57, 0x18007f367\nmov     [rax+50h], r9                                                  ; +0x5f, 0x18007f36f\nmov     [rax+58h], r9                                                  ; +0x63, 0x18007f373\nmov     [rcx], rax                                                     ; +0x67, 0x18007f377\nmov     [rax+28h], rax                                                 ; +0x6a, 0x18007f37a\nmov     rax, [rcx]                                                     ; +0x6e, 0x18007f37e\ntest    rax, rax                                                       ; +0x71, 0x18007f381\nlea     rcx, [rax+40h]                                                 ; +0x74, 0x18007f384\nmov     rax, r8                                                        ; +0x78, 0x18007f388\ncmovz   rcx, r9                                                        ; +0x7b, 0x18007f38b\nmov     [rdx], rcx                                                     ; +0x7f, 0x18007f38f\nretn                                                                   ; +0x82, 0x18007f392", "xrefs": ["DS_Dictionary::DS_Dictionary @ 0x1800171de", "<???> @ 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"}