299 lines
6.6 KiB
C
299 lines
6.6 KiB
C
// 00426f2a std::wstreambuf::~wstreambuf
|
|
|
|
void __thiscall std::wstreambuf::~wstreambuf(wstreambuf *this)
|
|
|
|
{
|
|
this->vftablePtr = &vftable;
|
|
FUN_003a94de(&(this->data).field_0x30);
|
|
return;
|
|
}
|
|
|
|
|
|
// 00426f5c std::wstreambuf::vfunction2
|
|
|
|
void __thiscall std::wstreambuf::vfunction2(wstreambuf *this)
|
|
|
|
{
|
|
~wstreambuf(this);
|
|
google::protobuf::internal::FieldSkipper::vfunction2((FieldSkipper *)this);
|
|
return;
|
|
}
|
|
|
|
|
|
// 00427568 std::wstreambuf::wstreambuf
|
|
|
|
void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this)
|
|
|
|
{
|
|
this->vftablePtr = &vftable;
|
|
(this->data).offset_0x0 = 0;
|
|
(this->data).offset_0x8 = 0;
|
|
(this->data).offset_0x10 = 0;
|
|
(this->data).offset_0x18 = 0;
|
|
(this->data).offset_0x20 = 0;
|
|
(this->data).offset_0x28 = 0;
|
|
FUN_0041d938(&(this->data).field_0x30);
|
|
return;
|
|
}
|
|
|
|
|
|
// 0042771e std::wstreambuf::vfunction3
|
|
|
|
/* std::wstreambuf member function inherited by std::wstringbuf
|
|
std::wstreambuf member function inherited by
|
|
__gnu_cxx::stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> */
|
|
|
|
void __thiscall std::wstreambuf::vfunction3(void)
|
|
|
|
{
|
|
return;
|
|
}
|
|
|
|
|
|
// 0042772e std::wstreambuf::vfunction4
|
|
|
|
/* std::wstreambuf member function inherited by
|
|
__gnu_cxx::stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> */
|
|
|
|
wstreambuf * __thiscall std::wstreambuf::vfunction4(wstreambuf *this)
|
|
|
|
{
|
|
return this;
|
|
}
|
|
|
|
|
|
// 00427744 std::wstreambuf::vfunction5
|
|
|
|
undefined1 [16] __thiscall std::wstreambuf::vfunction5(void)
|
|
|
|
{
|
|
undefined1 local_18 [16];
|
|
|
|
FUN_003c80f2(local_18,0xffffffffffffffff);
|
|
return local_18;
|
|
}
|
|
|
|
|
|
// 00427778 std::wstreambuf::vfunction6
|
|
|
|
undefined1 [16] __thiscall std::wstreambuf::vfunction6(void)
|
|
|
|
{
|
|
undefined1 local_18 [16];
|
|
|
|
FUN_003c80f2(local_18,0xffffffffffffffff);
|
|
return local_18;
|
|
}
|
|
|
|
|
|
// 004277be std::wstreambuf::vfunction7
|
|
|
|
/* std::wstreambuf member function inherited by std::wstringbuf */
|
|
|
|
undefined8 __thiscall std::wstreambuf::vfunction7(void)
|
|
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
// 004277ce std::wstreambuf::vfunction8
|
|
|
|
/* std::wstreambuf member function inherited by
|
|
__gnu_cxx::stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> */
|
|
|
|
undefined8 __thiscall std::wstreambuf::vfunction8(void)
|
|
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
// 004277de std::wstreambuf::vfunction9
|
|
|
|
/* std::wstreambuf member function inherited by std::wstringbuf */
|
|
|
|
long __thiscall std::wstreambuf::vfunction9(wstreambuf *this,long param_1,long param_2)
|
|
|
|
{
|
|
char cVar1;
|
|
long lVar2;
|
|
long lVar3;
|
|
long *plVar4;
|
|
undefined8 uVar5;
|
|
long local_58;
|
|
undefined4 local_44;
|
|
long local_40;
|
|
long local_38;
|
|
undefined4 local_30;
|
|
undefined4 local_2c;
|
|
long local_28;
|
|
long local_20;
|
|
|
|
local_20 = 0;
|
|
local_58 = param_1;
|
|
while( true ) {
|
|
do {
|
|
if (param_2 <= local_20) {
|
|
return local_20;
|
|
}
|
|
lVar2 = FUN_00427606(this);
|
|
lVar3 = FUN_004275f4(this);
|
|
local_38 = lVar2 - lVar3 >> 2;
|
|
if (local_38 != 0) {
|
|
local_40 = param_2 - local_20;
|
|
plVar4 = (long *)FUN_00392097(&local_38,&local_40);
|
|
lVar2 = *plVar4;
|
|
local_28 = lVar2;
|
|
uVar5 = FUN_004275f4(this);
|
|
FUN_003a7bf2(local_58,uVar5,lVar2);
|
|
local_20 = local_20 + local_28;
|
|
local_58 = local_58 + local_28 * 4;
|
|
FUN_00427b96(this,local_28);
|
|
}
|
|
} while (param_2 <= local_20);
|
|
local_44 = (*this->vftablePtr->vfunction11)(this);
|
|
local_30 = FUN_00391975();
|
|
cVar1 = FUN_00391956(&local_44,&local_30);
|
|
if (cVar1 == '\x01') break;
|
|
local_2c = FUN_003a5db6(&local_44);
|
|
FUN_003cf254(local_58,&local_2c);
|
|
local_20 = local_20 + 1;
|
|
local_58 = local_58 + 4;
|
|
}
|
|
return local_20;
|
|
}
|
|
|
|
|
|
// 00427934 std::wstreambuf::vfunction10
|
|
|
|
void __thiscall std::wstreambuf::vfunction10(void)
|
|
|
|
{
|
|
FUN_00391975();
|
|
return;
|
|
}
|
|
|
|
|
|
// 00427948 std::wstreambuf::vfunction11
|
|
|
|
/* std::wstreambuf member function inherited by std::wstringbuf
|
|
std::wstreambuf member function inherited by std::wfilebuf
|
|
std::wstreambuf member function inherited by
|
|
__gnu_cxx::stdio_filebuf<wchar_t,std::char_traits<wchar_t>> */
|
|
|
|
undefined4 __thiscall std::wstreambuf::vfunction11(wstreambuf *this)
|
|
|
|
{
|
|
undefined8 uVar1;
|
|
undefined4 local_14;
|
|
undefined4 local_10;
|
|
char local_9;
|
|
|
|
local_14 = 0xffffffff;
|
|
local_10 = (*this->vftablePtr->vfunction10)(this);
|
|
local_9 = FUN_00391956(&local_10,&local_14);
|
|
if (local_9 != '\x01') {
|
|
uVar1 = FUN_004275f4(this);
|
|
local_14 = FUN_003a5dc6(uVar1);
|
|
FUN_00427618(this,1);
|
|
}
|
|
return local_14;
|
|
}
|
|
|
|
|
|
// 004279c4 std::wstreambuf::vfunction12
|
|
|
|
void __thiscall std::wstreambuf::vfunction12(void)
|
|
|
|
{
|
|
FUN_00391975();
|
|
return;
|
|
}
|
|
|
|
|
|
// 004279da std::wstreambuf::vfunction13
|
|
|
|
/* std::wstreambuf member function inherited by std::wstringbuf */
|
|
|
|
long __thiscall std::wstreambuf::vfunction13(wstreambuf *this,long param_1,long param_2)
|
|
|
|
{
|
|
vfunction14 *pvVar1;
|
|
char cVar2;
|
|
uint uVar3;
|
|
long lVar4;
|
|
long lVar5;
|
|
long *plVar6;
|
|
undefined8 uVar7;
|
|
long local_58;
|
|
undefined4 local_44;
|
|
long local_40;
|
|
long local_38;
|
|
undefined4 local_2c;
|
|
long local_28;
|
|
long local_20;
|
|
|
|
local_20 = 0;
|
|
local_58 = param_1;
|
|
while( true ) {
|
|
do {
|
|
if (param_2 <= local_20) {
|
|
return local_20;
|
|
}
|
|
lVar4 = FUN_004276a4(this);
|
|
lVar5 = FUN_00427692(this);
|
|
local_38 = lVar4 - lVar5 >> 2;
|
|
if (local_38 != 0) {
|
|
local_40 = param_2 - local_20;
|
|
plVar6 = (long *)FUN_00392097(&local_38,&local_40);
|
|
lVar4 = *plVar6;
|
|
local_28 = lVar4;
|
|
uVar7 = FUN_00427692(this);
|
|
FUN_003a7bf2(uVar7,local_58,lVar4);
|
|
local_20 = local_20 + local_28;
|
|
local_58 = local_58 + local_28 * 4;
|
|
FUN_00427bc0(this,local_28);
|
|
}
|
|
} while (param_2 <= local_20);
|
|
pvVar1 = this->vftablePtr->vfunction14;
|
|
uVar3 = FUN_003a5dc6(local_58);
|
|
local_44 = (*pvVar1)(this,(ulong)uVar3);
|
|
local_2c = FUN_00391975();
|
|
cVar2 = FUN_00391956(&local_44,&local_2c);
|
|
if (cVar2 == '\x01') break;
|
|
local_20 = local_20 + 1;
|
|
local_58 = local_58 + 4;
|
|
}
|
|
return local_20;
|
|
}
|
|
|
|
|
|
// 00427b1c std::wstreambuf::vfunction14
|
|
|
|
void __thiscall std::wstreambuf::vfunction14(void)
|
|
|
|
{
|
|
FUN_00391975();
|
|
return;
|
|
}
|
|
|
|
|
|
// 00427bea std::wstreambuf::wstreambuf
|
|
|
|
void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,long param_1)
|
|
|
|
{
|
|
this->vftablePtr = &vftable;
|
|
(this->data).offset_0x0 = *(undefined8 *)(param_1 + 8);
|
|
(this->data).offset_0x8 = *(undefined8 *)(param_1 + 0x10);
|
|
(this->data).offset_0x10 = *(undefined8 *)(param_1 + 0x18);
|
|
(this->data).offset_0x18 = *(undefined8 *)(param_1 + 0x20);
|
|
(this->data).offset_0x20 = *(undefined8 *)(param_1 + 0x28);
|
|
(this->data).offset_0x28 = *(undefined8 *)(param_1 + 0x30);
|
|
FUN_003a947e(&(this->data).field_0x30,param_1 + 0x38);
|
|
return;
|
|
}
|
|
|
|
|