{"type": "func", "start": 6442980112, "end": 6442980244, "name": "pugi::xml_document::load_buffer", "pseudocode": "// \n// pugi::xml_document::load_buffer from 0x180081310 to 0x180081394 (132 bytes)\n// \n// 7 xrefs:\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bbc8\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001be42\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf19\n// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c0ea\n// > pugi::xml_document::load @ 0x1800812f9\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b52d4\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\n__int64 __fastcall pugi::xml_document::load_buffer(\n        pugi::xml_document *a1,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        int a5,\n        int a6)\n{\n  char v11; // [rsp+38h] [rbp-20h]\n  char v12; // [rsp+40h] [rbp-18h]\n\n  pugi::xml_document::destroy(a1);\n  pugi::xml_document::create(a1);\n  v12 = 0;\n  v11 = 0;\n  sub_1800813A0(a2, a1->_root, a1->_root, a3, a4, a5, a6, v11, v12, &a1->_buffer);\n  return a2;\n}", "assembly": "; \n; pugi::xml_document::load_buffer from 0x180081310 to 0x180081394 (132 bytes)\n; \n; 7 xrefs:\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bbc8\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x18001be42\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf19\n; > DS_Dictionary::loadRootSubDictFromString @ 0x18001c0ea\n; > pugi::xml_document::load @ 0x1800812f9\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b52d4\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180081310\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180081315\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18008131a\npush    rdi                                                            ; +0xf, 0x18008131f\nsub     rsp, 50h                                                       ; +0x10, 0x180081320\nmov     rdi, r9                                                        ; +0x14, 0x180081324\nmov     rsi, r8                                                        ; +0x17, 0x180081327\nmov     rbp, rdx                                                       ; +0x1a, 0x18008132a\nmov     rbx, rcx                                                       ; +0x1d, 0x18008132d\ncall    ?destroy@xml_document@pugi@@AEAAXXZ; pugi::xml_document::destroy(void) ; +0x20, 0x180081330\nmov     rcx, rbx; this                                                 ; +0x25, 0x180081335\ncall    ?create@xml_document@pugi@@AEAAXXZ; pugi::xml_document::create(void) ; +0x28, 0x180081338\nmov     rdx, [rbx]                                                     ; +0x2d, 0x18008133d\nlea     rax, [rbx+8]                                                   ; +0x30, 0x180081340\nmov     [rsp+58h+var_10], rax                                          ; +0x34, 0x180081344\nmov     r9, rsi                                                        ; +0x39, 0x180081349\nmov     eax, [rsp+58h+arg_28]                                          ; +0x3c, 0x18008134c\nmov     r8, rdx                                                        ; +0x43, 0x180081353\nmov     [rsp+58h+var_18], 0                                            ; +0x46, 0x180081356\nmov     rcx, rbp                                                       ; +0x4b, 0x18008135b\nmov     [rsp+58h+var_20], 0                                            ; +0x4e, 0x18008135e\nmov     [rsp+58h+var_28], eax                                          ; +0x53, 0x180081363\nmov     eax, [rsp+58h+arg_20]                                          ; +0x57, 0x180081367\nmov     [rsp+58h+var_30], eax                                          ; +0x5e, 0x18008136e\nmov     [rsp+58h+var_38], rdi                                          ; +0x62, 0x180081372\ncall    sub_1800813A0                                                  ; +0x67, 0x180081377\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x6c, 0x18008137c\nmov     rax, rbp                                                       ; +0x71, 0x180081381\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x74, 0x180081384\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x79, 0x180081389\nadd     rsp, 50h                                                       ; +0x7e, 0x18008138e\npop     rdi                                                            ; +0x82, 0x180081392\nretn                                                                   ; +0x83, 0x180081393", "xrefs": ["DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bbc8", "DS_Dictionary::loadRootSubDictFromFile @ 0x18001be42", "DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf19", "DS_Dictionary::loadRootSubDictFromString @ 0x18001c0ea", "pugi::xml_document::load @ 0x1800812f9", "<???> @ 0x1801438a8", "<???> @ 0x1801b52d4"], "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"}