IDA Pro / Hex Rays Decompiler Organized source by C/C++ [Class] and by prefix
55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
//
|
|
// Created by neo on 2019-08-15.
|
|
//
|
|
|
|
#include "TEdgeBox.h"
|
|
|
|
//----- (0100B0D1) --------------------------------------------------------
|
|
TEdgeBox *__thiscall TEdgeBox::TEdgeBox(TEdgeBox *this)
|
|
{
|
|
TEdgeBox *v1; // esi
|
|
|
|
v1 = this;
|
|
objlist_class::objlist_class(this, 0, 4);
|
|
objlist_class::objlist_class((TEdgeBox *)((char *)v1 + 8), 0, 1);
|
|
return v1;
|
|
}
|
|
|
|
//----- (0100B2C9) --------------------------------------------------------
|
|
void __thiscall TEdgeBox::~TEdgeBox(TEdgeBox *this)
|
|
{
|
|
TEdgeBox *v1; // esi
|
|
|
|
v1 = this;
|
|
objlist_destroy(*((_DWORD *)this + 3));
|
|
objlist_destroy(*((_DWORD *)v1 + 1));
|
|
}
|
|
|
|
//----- (0100B90E) --------------------------------------------------------
|
|
TEdgeBox *__thiscall TEdgeBox::`vector deleting destructor'(TEdgeBox *this, char a2)
|
|
{
|
|
TEdgeBox *v2; // edi
|
|
TEdgeBox *result; // eax
|
|
|
|
v2 = this;
|
|
if ( a2 & 2 )
|
|
{
|
|
`vector destructor iterator'(
|
|
(void *)this,
|
|
0x10u,
|
|
*((_DWORD *)this - 1),
|
|
(void (__thiscall *)(void *))TEdgeBox::~TEdgeBox);
|
|
if ( a2 & 1 )
|
|
operator delete((char *)v2 - 4);
|
|
result = (TEdgeBox *)((char *)v2 - 4);
|
|
}
|
|
else
|
|
{
|
|
TEdgeBox::~TEdgeBox(this);
|
|
if ( a2 & 1 )
|
|
operator delete((void *)v2);
|
|
result = v2;
|
|
}
|
|
return result;
|
|
}
|