{"type": "func", "start": 6443706560, "end": 6443706624, "name": "uninitialize_allocated_memory", "pseudocode": "// \n// uninitialize_allocated_memory from 0x1801328c0 to 0x180132900 (64 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180173148\n// > <???> @ 0x180203068\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 10:54:59 +0000\n// \n\nchar uninitialize_allocated_memory()\n{\n  if ( _InterlockedExchangeAdd((volatile signed __int32 *)qword_1801F55D0, 0xFFFFFFFF) == 1\n    && qword_1801F55D0 != (struct __crt_multibyte_data *)&unk_1801B1A50 )\n  {\n    free_base(qword_1801F55D0);\n    qword_1801F55D0 = (struct __crt_multibyte_data *)&unk_1801B1A50;\n  }\n  return 1;\n}", "assembly": "; \n; uninitialize_allocated_memory from 0x1801328c0 to 0x180132900 (64 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180173148\n; > <???> @ 0x180203068\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 10:54:59 +0000\n; \npush    rbx                                                            ; +0x0, 0x1801328c0\nsub     rsp, 20h                                                       ; +0x2, 0x1801328c2\nmov     rcx, cs:qword_1801F55D0                                        ; +0x6, 0x1801328c6\nor      eax, 0FFFFFFFFh                                                ; +0xd, 0x1801328cd\nlock xadd [rcx], eax                                                   ; +0x10, 0x1801328d0\ncmp     eax, 1                                                         ; +0x14, 0x1801328d4\njnz     short loc_1801328F8                                            ; +0x17, 0x1801328d7\nmov     rcx, cs:qword_1801F55D0; Block                                 ; +0x19, 0x1801328d9\nlea     rbx, unk_1801B1A50                                             ; +0x20, 0x1801328e0\ncmp     rcx, rbx                                                       ; +0x27, 0x1801328e7\njz      short loc_1801328F8                                            ; +0x2a, 0x1801328ea\ncall    _free_base                                                     ; +0x2c, 0x1801328ec\nmov     cs:qword_1801F55D0, rbx                                        ; +0x31, 0x1801328f1\nmov     al, 1                                                          ; +0x38, 0x1801328f8\nadd     rsp, 20h                                                       ; +0x3a, 0x1801328fa\npop     rbx                                                            ; +0x3e, 0x1801328fe\nretn                                                                   ; +0x3f, 0x1801328ff", "xrefs": ["<???> @ 0x180173148", "<???> @ 0x180203068"], "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"}