{"type": "func", "start": 6443070896, "end": 6443071022, "name": "tinyxml2::MemPoolT<72>::~MemPoolT<72>", "pseudocode": "// \n// tinyxml2::MemPoolT<72>::~MemPoolT<72> from 0x1800975b0 to 0x18009762e (126 bytes)\n// \n// 7 xrefs:\n// > tinyxml2::XMLDocument::~XMLDocument @ 0x1800978d0\n// > sub_180097AC0 @ 0x180097b1e\n// > sub_180097AC0 @ 0x180097adc\n// > <???> @ 0x18013ebec\n// > <???> @ 0x18013ec20\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b699c\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<72>::~MemPoolT<72>(_QWORD *a1)\n{\n  int v2; // edi\n  __int64 v3; // rbp\n  _QWORD *v4; // rcx\n\n  v2 = 0;\n  *a1 = &tinyxml2::MemPoolT<72>::`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<72>::~MemPoolT<72> from 0x1800975b0 to 0x18009762e (126 bytes)\n; \n; 7 xrefs:\n; > tinyxml2::XMLDocument::~XMLDocument @ 0x1800978d0\n; > sub_180097AC0 @ 0x180097b1e\n; > sub_180097AC0 @ 0x180097adc\n; > <???> @ 0x18013ebec\n; > <???> @ 0x18013ec20\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b699c\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, 0x1800975b0\nsub     rsp, 20h                                                       ; +0x2, 0x1800975b2\nmov     [rsp+28h+arg_0], rbx                                           ; +0x6, 0x1800975b6\nlea     rax, ??_7?$MemPoolT@$0EI@@tinyxml2@@6B@; const tinyxml2::MemPoolT<72>::`vftable' ; +0xb, 0x1800975bb\nmov     [rsp+28h+arg_10], rdi                                          ; +0x12, 0x1800975c2\nmov     rsi, rcx                                                       ; +0x17, 0x1800975c7\nxor     edi, edi                                                       ; +0x1a, 0x1800975ca\nmov     [rcx], rax                                                     ; +0x1c, 0x1800975cc\ncmp     [rcx+64h], edi                                                 ; +0x1f, 0x1800975cf\njle     short loc_180097602                                            ; +0x22, 0x1800975d2\nmov     [rsp+28h+arg_8], rbp                                           ; +0x24, 0x1800975d4\nmov     ebp, edi                                                       ; +0x29, 0x1800975d9\nnop     dword ptr [rax+rax+00h]                                        ; +0x2b, 0x1800975db\nmov     rcx, [rsi+8]                                                   ; +0x30, 0x1800975e0\nmov     edx, 3F0h                                                      ; +0x34, 0x1800975e4\nmov     rcx, [rcx+rbp]; Block                                          ; +0x39, 0x1800975e9\ncall    j_j_free_0                                                     ; +0x3d, 0x1800975ed\ninc     edi                                                            ; +0x42, 0x1800975f2\nlea     rbp, [rbp+8]                                                   ; +0x44, 0x1800975f4\ncmp     edi, [rsi+64h]                                                 ; +0x48, 0x1800975f8\njl      short loc_1800975E0                                            ; +0x4b, 0x1800975fb\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x4d, 0x1800975fd\nmov     rcx, [rsi+8]; Block                                            ; +0x52, 0x180097602\nlea     rax, [rsi+10h]                                                 ; +0x56, 0x180097606\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x5a, 0x18009760a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5f, 0x18009760f\ncmp     rcx, rax                                                       ; +0x64, 0x180097614\njz      short loc_18009761E                                            ; +0x67, 0x180097617\ncall    j_j_free_0                                                     ; +0x69, 0x180097619\nlea     rax, ??_7MemPool@tinyxml2@@6B@; const tinyxml2::MemPool::`vftable' ; +0x6e, 0x18009761e\nmov     [rsi], rax                                                     ; +0x75, 0x180097625\nadd     rsp, 20h                                                       ; +0x78, 0x180097628\npop     rsi                                                            ; +0x7c, 0x18009762c\nretn                                                                   ; +0x7d, 0x18009762d", "xrefs": ["tinyxml2::XMLDocument::~XMLDocument @ 0x1800978d0", "sub_180097AC0 @ 0x180097b1e", "sub_180097AC0 @ 0x180097adc", "<???> @ 0x18013ebec", "<???> @ 0x18013ec20", "<???> @ 0x1801438a8", "<???> @ 0x1801b699c"], "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"}