{"type": "func", "start": 6442972544, "end": 6442972587, "name": "sub_18007F580", "pseudocode": "// \n// sub_18007F580 from 0x18007f580 to 0x18007f5ab (43 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801014b0\n// > <???> @ 0x1801b4fc8\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_QWORD *__fastcall sub_18007F580(_QWORD *a1, char a2)\n{\n  *a1 = &pugi::xml_writer::`vftable';\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(a1);\n  return a1;\n}", "assembly": "; \n; sub_18007F580 from 0x18007f580 to 0x18007f5ab (43 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801014b0\n; > <???> @ 0x1801b4fc8\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\npush    rbx                                                            ; +0x0, 0x18007f580\nsub     rsp, 20h                                                       ; +0x2, 0x18007f582\nlea     rax, ??_7xml_writer@pugi@@6B@; const pugi::xml_writer::`vftable' ; +0x6, 0x18007f586\nmov     rbx, rcx                                                       ; +0xd, 0x18007f58d\nmov     [rcx], rax                                                     ; +0x10, 0x18007f590\ntest    dl, 1                                                          ; +0x13, 0x18007f593\njz      short loc_18007F5A2                                            ; +0x16, 0x18007f596\nmov     edx, 10h                                                       ; +0x18, 0x18007f598\ncall    j_j_free_0                                                     ; +0x1d, 0x18007f59d\nmov     rax, rbx                                                       ; +0x22, 0x18007f5a2\nadd     rsp, 20h                                                       ; +0x25, 0x18007f5a5\npop     rbx                                                            ; +0x29, 0x18007f5a9\nretn                                                                   ; +0x2a, 0x18007f5aa", "xrefs": ["<???> @ 0x1801014b0", "<???> @ 0x1801b4fc8"], "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"}