{"type": "func", "start": 6443071280, "end": 6443071406, "name": "tinyxml2::MemPoolT<104>::~MemPoolT<104>", "pseudocode": "// \n// tinyxml2::MemPoolT<104>::~MemPoolT<104> from 0x180097730 to 0x1800977ae (126 bytes)\n// \n// 7 xrefs:\n// > tinyxml2::XMLDocument::~XMLDocument @ 0x1800978dc\n// > sub_180097C70 @ 0x180097cce\n// > sub_180097C70 @ 0x180097c8c\n// > <???> @ 0x18013eb0c\n// > <???> @ 0x18013eb40\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b6a50\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\nvoid __fastcall tinyxml2::MemPoolT<104>::~MemPoolT<104>(_QWORD *a1)\n{\n  int v2; // edi\n  __int64 v3; // rbp\n  _QWORD *v4; // rcx\n\n  v2 = 0;\n  *a1 = &tinyxml2::MemPoolT<104>::`vftable';\n  if ( *((int *)a1 + 25) > 0 )\n  {\n    v3 = 0;\n    do\n    {\n      j_j_free_0(*(void **)(a1[1] + v3));\n      ++v2;\n      v3 += 8;\n    }\n    while ( v2 < *((_DWORD *)a1 + 25) );\n  }\n  v4 = (_QWORD *)a1[1];\n  if ( v4 != a1 + 2 )\n    j_j_free_0(v4);\n  *a1 = &tinyxml2::MemPool::`vftable';\n}", "assembly": "; \n; tinyxml2::MemPoolT<104>::~MemPoolT<104> from 0x180097730 to 0x1800977ae (126 bytes)\n; \n; 7 xrefs:\n; > tinyxml2::XMLDocument::~XMLDocument @ 0x1800978dc\n; > sub_180097C70 @ 0x180097cce\n; > sub_180097C70 @ 0x180097c8c\n; > <???> @ 0x18013eb0c\n; > <???> @ 0x18013eb40\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b6a50\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    rsi                                                            ; +0x0, 0x180097730\nsub     rsp, 20h                                                       ; +0x2, 0x180097732\nmov     [rsp+28h+arg_0], rbx                                           ; +0x6, 0x180097736\nlea     rax, ??_7?$MemPoolT@$0GI@@tinyxml2@@6B@; const tinyxml2::MemPoolT<104>::`vftable' ; +0xb, 0x18009773b\nmov     [rsp+28h+arg_10], rdi                                          ; +0x12, 0x180097742\nmov     rsi, rcx                                                       ; +0x17, 0x180097747\nxor     edi, edi                                                       ; +0x1a, 0x18009774a\nmov     [rcx], rax                                                     ; +0x1c, 0x18009774c\ncmp     [rcx+64h], edi                                                 ; +0x1f, 0x18009774f\njle     short loc_180097782                                            ; +0x22, 0x180097752\nmov     [rsp+28h+arg_8], rbp                                           ; +0x24, 0x180097754\nmov     ebp, edi                                                       ; +0x29, 0x180097759\nnop     dword ptr [rax+rax+00h]                                        ; +0x2b, 0x18009775b\nmov     rcx, [rsi+8]                                                   ; +0x30, 0x180097760\nmov     edx, 3A8h                                                      ; +0x34, 0x180097764\nmov     rcx, [rcx+rbp]; Block                                          ; +0x39, 0x180097769\ncall    j_j_free_0                                                     ; +0x3d, 0x18009776d\ninc     edi                                                            ; +0x42, 0x180097772\nlea     rbp, [rbp+8]                                                   ; +0x44, 0x180097774\ncmp     edi, [rsi+64h]                                                 ; +0x48, 0x180097778\njl      short loc_180097760                                            ; +0x4b, 0x18009777b\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x4d, 0x18009777d\nmov     rcx, [rsi+8]; Block                                            ; +0x52, 0x180097782\nlea     rax, [rsi+10h]                                                 ; +0x56, 0x180097786\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x5a, 0x18009778a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5f, 0x18009778f\ncmp     rcx, rax                                                       ; +0x64, 0x180097794\njz      short loc_18009779E                                            ; +0x67, 0x180097797\ncall    j_j_free_0                                                     ; +0x69, 0x180097799\nlea     rax, ??_7MemPool@tinyxml2@@6B@; const tinyxml2::MemPool::`vftable' ; +0x6e, 0x18009779e\nmov     [rsi], rax                                                     ; +0x75, 0x1800977a5\nadd     rsp, 20h                                                       ; +0x78, 0x1800977a8\npop     rsi                                                            ; +0x7c, 0x1800977ac\nretn                                                                   ; +0x7d, 0x1800977ad", "xrefs": ["tinyxml2::XMLDocument::~XMLDocument @ 0x1800978dc", "sub_180097C70 @ 0x180097cce", "sub_180097C70 @ 0x180097c8c", "<???> @ 0x18013eb0c", "<???> @ 0x18013eb40", "<???> @ 0x1801438a8", "<???> @ 0x1801b6a50"], "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"}