89 lines
1.8 KiB
C
89 lines
1.8 KiB
C
// 0011ab8c std::ios_base::failure::failure
|
|
|
|
/* std::ios_base::failure::failure(std::string const&) [clone .cold] */
|
|
|
|
void __thiscall std::ios_base::failure::failure(failure *this,string *param_1)
|
|
|
|
{
|
|
long unaff_RBX;
|
|
exception *unaff_RBP;
|
|
|
|
exception::~exception(unaff_RBP);
|
|
if (unaff_RBX == -1) {
|
|
/* WARNING: Subroutine does not return */
|
|
__cxa_call_unexpected();
|
|
}
|
|
/* WARNING: Subroutine does not return */
|
|
_Unwind_Resume();
|
|
}
|
|
|
|
|
|
// 001ab850 std::ios_base::failure::what
|
|
|
|
/* std::ios_base::failure::what() const */
|
|
|
|
long __thiscall std::ios_base::failure::what(failure *this)
|
|
|
|
{
|
|
return (this->data).offset_0x0;
|
|
}
|
|
|
|
|
|
// 001ab860 std::ios_base::failure::~failure
|
|
|
|
/* WARNING: Removing unreachable block (ram,0x001ab8c0) */
|
|
/* std::ios_base::failure::~failure() */
|
|
|
|
void __thiscall std::ios_base::failure::~failure(failure *this)
|
|
|
|
{
|
|
allocator *paVar1;
|
|
int *piVar2;
|
|
int iVar3;
|
|
long lVar4;
|
|
|
|
this->vftablePtr = &vftable;
|
|
lVar4 = (this->data).offset_0x0;
|
|
paVar1 = (allocator *)(lVar4 + -0x18);
|
|
if (paVar1 != (allocator *)&string::_Rep::_S_empty_rep_storage) {
|
|
LOCK();
|
|
piVar2 = (int *)(lVar4 + -8);
|
|
iVar3 = *piVar2;
|
|
*piVar2 = *piVar2 + -1;
|
|
UNLOCK();
|
|
if (iVar3 < 1) {
|
|
string::_Rep::_M_destroy(paVar1);
|
|
}
|
|
}
|
|
exception::~exception((exception *)this);
|
|
return;
|
|
}
|
|
|
|
|
|
// 001ab8d0 std::ios_base::failure::deleting_destructor
|
|
|
|
/* std::ios_base::failure::~failure() */
|
|
|
|
void __thiscall std::ios_base::failure::deleting_destructor(failure *this)
|
|
|
|
{
|
|
~failure(this);
|
|
operator_delete(this);
|
|
return;
|
|
}
|
|
|
|
|
|
// 001ab8f0 std::ios_base::failure::failure
|
|
|
|
/* std::ios_base::failure::failure(std::string const&) */
|
|
|
|
void __thiscall std::ios_base::failure::failure(failure *this,string *param_1)
|
|
|
|
{
|
|
this->vftablePtr = &vftable;
|
|
string::string((string *)&this->data,param_1);
|
|
return;
|
|
}
|
|
|
|
|