server-re/decomp/Agent_Release_x64/full/functions/0x14003a6d0.c
2026-10-14 16:45:19 -04:00

23 lines
835 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14003a6d0 ATL::CWin32Heap::`scalar_deleting_destructor'
* Pseudocode, not original source. */
/* Library Function - Single Match
public: virtual void * __ptr64 __cdecl ATL::CWin32Heap::`scalar deleting destructor'(unsigned
int) __ptr64
Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */
void * __thiscall ATL::CWin32Heap::_scalar_deleting_destructor_(CWin32Heap *this,uint param_1)
{
*(undefined ***)this = &PTR_LAB_1400f59e0;
if ((this[0x10] != (CWin32Heap)0x0) && (*(HANDLE *)(this + 8) != (HANDLE)0x0)) {
HeapDestroy(*(HANDLE *)(this + 8));
}
if ((param_1 & 1) != 0) {
operator_delete(this);
}
return this;
}