{"type": "func", "start": 6442980848, "end": 6442980980, "name": "pugi::xml_document::load_buffer_inplace", "pseudocode": "// \n// pugi::xml_document::load_buffer_inplace from 0x1800815f0 to 0x180081674 (132 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b531c\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_inplace(\n        pugi::xml_document *a1,\n        __int64 a2,\n        char *a3,\n        unsigned __int64 a4,\n        int a5,\n        unsigned int a6)\n{\n  pugi::xml_document::destroy(a1);\n  pugi::xml_document::create(a1);\n  sub_1800813A0(a2, (__int64)a1->_root, (__int64)a1->_root, a3, a4, a5, a6, 1, 0, &a1->_buffer);\n  return a2;\n}", "assembly": "; \n; pugi::xml_document::load_buffer_inplace from 0x1800815f0 to 0x180081674 (132 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b531c\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, 0x1800815f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800815f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800815fa\npush    rdi                                                            ; +0xf, 0x1800815ff\nsub     rsp, 50h                                                       ; +0x10, 0x180081600\nmov     rdi, r9                                                        ; +0x14, 0x180081604\nmov     rsi, r8                                                        ; +0x17, 0x180081607\nmov     rbp, rdx                                                       ; +0x1a, 0x18008160a\nmov     rbx, rcx                                                       ; +0x1d, 0x18008160d\ncall    ?destroy@xml_document@pugi@@AEAAXXZ; pugi::xml_document::destroy(void) ; +0x20, 0x180081610\nmov     rcx, rbx; this                                                 ; +0x25, 0x180081615\ncall    ?create@xml_document@pugi@@AEAAXXZ; pugi::xml_document::create(void) ; +0x28, 0x180081618\nmov     rdx, [rbx]                                                     ; +0x2d, 0x18008161d\nlea     rax, [rbx+8]                                                   ; +0x30, 0x180081620\nmov     [rsp+58h+var_10], rax                                          ; +0x34, 0x180081624\nmov     r9, rsi                                                        ; +0x39, 0x180081629\nmov     eax, [rsp+58h+arg_28]                                          ; +0x3c, 0x18008162c\nmov     r8, rdx                                                        ; +0x43, 0x180081633\nmov     [rsp+58h+var_18], 0                                            ; +0x46, 0x180081636\nmov     rcx, rbp                                                       ; +0x4b, 0x18008163b\nmov     [rsp+58h+var_20], 1                                            ; +0x4e, 0x18008163e\nmov     [rsp+58h+var_28], eax                                          ; +0x53, 0x180081643\nmov     eax, [rsp+58h+arg_20]                                          ; +0x57, 0x180081647\nmov     [rsp+58h+var_30], eax                                          ; +0x5e, 0x18008164e\nmov     [rsp+58h+var_38], rdi                                          ; +0x62, 0x180081652\ncall    sub_1800813A0                                                  ; +0x67, 0x180081657\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x6c, 0x18008165c\nmov     rax, rbp                                                       ; +0x71, 0x180081661\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x74, 0x180081664\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x79, 0x180081669\nadd     rsp, 50h                                                       ; +0x7e, 0x18008166e\npop     rdi                                                            ; +0x82, 0x180081672\nretn                                                                   ; +0x83, 0x180081673", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b531c"], "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"}