{"type": "func", "start": 6442990752, "end": 6442990806, "name": "pugi::xml_document::document_element", "pseudocode": "// \n// pugi::xml_document::document_element from 0x180083ca0 to 0x180083cd6 (54 bytes)\n// \n// 1 xrefs:\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\n_QWORD *__fastcall pugi::xml_document::document_element(__int64 a1, _QWORD *a2)\n{\n  __int64 v2; // rax\n\n  v2 = *(_QWORD *)(*(_QWORD *)a1 + 32LL);\n  if ( v2 )\n  {\n    while ( (*(_BYTE *)v2 & 7) != 1 )\n    {\n      v2 = *(_QWORD *)(v2 + 48);\n      if ( !v2 )\n        goto LABEL_4;\n    }\n    *a2 = v2;\n    return a2;\n  }\n  else\n  {\nLABEL_4:\n    *a2 = 0;\n    return a2;\n  }\n}", "assembly": "; \n; pugi::xml_document::document_element from 0x180083ca0 to 0x180083cd6 (54 bytes)\n; \n; 1 xrefs:\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; \nmov     rax, [rcx]                                                     ; +0x0, 0x180083ca0\nmov     rax, [rax+20h]                                                 ; +0x3, 0x180083ca3\ntest    rax, rax                                                       ; +0x7, 0x180083ca7\njz      short loc_180083CC4                                            ; +0xa, 0x180083caa\nnop     dword ptr [rax+00h]                                            ; +0xc, 0x180083cac\nmovzx   ecx, byte ptr [rax]                                            ; +0x10, 0x180083cb0\nand     cl, 7                                                          ; +0x13, 0x180083cb3\ncmp     cl, 1                                                          ; +0x16, 0x180083cb6\njz      short loc_180083CCF                                            ; +0x19, 0x180083cb9\nmov     rax, [rax+30h]                                                 ; +0x1b, 0x180083cbb\ntest    rax, rax                                                       ; +0x1f, 0x180083cbf\njnz     short loc_180083CB0                                            ; +0x22, 0x180083cc2\nmov     qword ptr [rdx], 0                                             ; +0x24, 0x180083cc4\nmov     rax, rdx                                                       ; +0x2b, 0x180083ccb\nretn                                                                   ; +0x2e, 0x180083cce\nmov     [rdx], rax                                                     ; +0x2f, 0x180083ccf\nmov     rax, rdx                                                       ; +0x32, 0x180083cd2\nretn                                                                   ; +0x35, 0x180083cd5", "xrefs": ["<???> @ 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"}