297 lines
6.4 KiB
C
297 lines
6.4 KiB
C
// 0042602c std::streambuf::~streambuf
|
|
|
|
void __thiscall std::streambuf::~streambuf(streambuf *this)
|
|
|
|
{
|
|
this->vftablePtr = &vftable;
|
|
FUN_003a94de(&(this->data).field_0x30);
|
|
return;
|
|
}
|
|
|
|
|
|
// 0042605e std::streambuf::vfunction2
|
|
|
|
void __thiscall std::streambuf::vfunction2(streambuf *this)
|
|
|
|
{
|
|
~streambuf(this);
|
|
google::protobuf::internal::FieldSkipper::vfunction2((FieldSkipper *)this);
|
|
return;
|
|
}
|
|
|
|
|
|
// 00426668 std::streambuf::streambuf
|
|
|
|
void __thiscall std::streambuf::streambuf(streambuf *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;
|
|
}
|
|
|
|
|
|
// 00426812 std::streambuf::vfunction3
|
|
|
|
/* std::streambuf member function inherited by std::stringbuf
|
|
std::streambuf member function inherited by
|
|
__gnu_cxx::stdio_sync_filebuf<char,std::char_traits<char>> */
|
|
|
|
void __thiscall std::streambuf::vfunction3(void)
|
|
|
|
{
|
|
return;
|
|
}
|
|
|
|
|
|
// 00426822 std::streambuf::vfunction4
|
|
|
|
/* std::streambuf member function inherited by
|
|
__gnu_cxx::stdio_sync_filebuf<char,std::char_traits<char>> */
|
|
|
|
streambuf * __thiscall std::streambuf::vfunction4(streambuf *this)
|
|
|
|
{
|
|
return this;
|
|
}
|
|
|
|
|
|
// 00426838 std::streambuf::vfunction5
|
|
|
|
undefined1 [16] __thiscall std::streambuf::vfunction5(void)
|
|
|
|
{
|
|
undefined1 local_18 [16];
|
|
|
|
FUN_003c80f2(local_18,0xffffffffffffffff);
|
|
return local_18;
|
|
}
|
|
|
|
|
|
// 0042686c std::streambuf::vfunction6
|
|
|
|
undefined1 [16] __thiscall std::streambuf::vfunction6(void)
|
|
|
|
{
|
|
undefined1 local_18 [16];
|
|
|
|
FUN_003c80f2(local_18,0xffffffffffffffff);
|
|
return local_18;
|
|
}
|
|
|
|
|
|
// 004268b2 std::streambuf::vfunction7
|
|
|
|
/* std::streambuf member function inherited by std::stringbuf */
|
|
|
|
undefined8 __thiscall std::streambuf::vfunction7(void)
|
|
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
// 00426900 std::streambuf::vfunction8
|
|
|
|
/* std::streambuf member function inherited by
|
|
__gnu_cxx::stdio_sync_filebuf<char,std::char_traits<char>> */
|
|
|
|
undefined8 __thiscall std::streambuf::vfunction8(void)
|
|
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
// 00426910 std::streambuf::vfunction9
|
|
|
|
/* std::streambuf member function inherited by std::stringbuf */
|
|
|
|
long __thiscall std::streambuf::vfunction9(streambuf *this,long param_1,long param_2)
|
|
|
|
{
|
|
char cVar1;
|
|
long lVar2;
|
|
long *plVar3;
|
|
undefined8 uVar4;
|
|
long local_58;
|
|
undefined4 local_44;
|
|
long local_40;
|
|
long local_38;
|
|
undefined4 local_30;
|
|
undefined1 local_29;
|
|
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_00426706(this);
|
|
local_38 = FUN_004266f4(this);
|
|
local_38 = lVar2 - local_38;
|
|
if (local_38 != 0) {
|
|
local_40 = param_2 - local_20;
|
|
plVar3 = (long *)FUN_00392097(&local_38,&local_40);
|
|
lVar2 = *plVar3;
|
|
local_28 = lVar2;
|
|
uVar4 = FUN_004266f4(this);
|
|
FUN_003a7bb1(local_58,uVar4,lVar2);
|
|
local_20 = local_20 + local_28;
|
|
local_58 = local_58 + local_28;
|
|
FUN_00426cb2(this,local_28);
|
|
}
|
|
} while (param_2 <= local_20);
|
|
local_44 = (*this->vftablePtr->vfunction11)(this);
|
|
local_30 = FUN_0039194b();
|
|
cVar1 = FUN_0039192c(&local_44,&local_30);
|
|
if (cVar1 == '\x01') break;
|
|
local_29 = FUN_003a5d55(&local_44);
|
|
FUN_003c9968(local_58,&local_29);
|
|
local_20 = local_20 + 1;
|
|
local_58 = local_58 + 1;
|
|
}
|
|
return local_20;
|
|
}
|
|
|
|
|
|
// 00426a5c std::streambuf::vfunction10
|
|
|
|
void __thiscall std::streambuf::vfunction10(void)
|
|
|
|
{
|
|
FUN_0039194b();
|
|
return;
|
|
}
|
|
|
|
|
|
// 00426a70 std::streambuf::vfunction11
|
|
|
|
/* std::streambuf member function inherited by std::filebuf
|
|
std::streambuf member function inherited by std::stringbuf
|
|
std::streambuf member function inherited by __gnu_cxx::stdio_filebuf<char,std::char_traits<char>>
|
|
*/
|
|
|
|
undefined4 __thiscall std::streambuf::vfunction11(streambuf *this)
|
|
|
|
{
|
|
undefined8 uVar1;
|
|
undefined4 local_14;
|
|
undefined4 local_10;
|
|
char local_9;
|
|
|
|
local_14 = 0xffffffff;
|
|
local_10 = (*this->vftablePtr->vfunction10)(this);
|
|
local_9 = FUN_0039192c(&local_10,&local_14);
|
|
if (local_9 != '\x01') {
|
|
uVar1 = FUN_004266f4(this);
|
|
local_14 = FUN_003a5d65(uVar1);
|
|
FUN_00426718(this,1);
|
|
}
|
|
return local_14;
|
|
}
|
|
|
|
|
|
// 00426aec std::streambuf::vfunction12
|
|
|
|
void __thiscall std::streambuf::vfunction12(void)
|
|
|
|
{
|
|
FUN_0039194b();
|
|
return;
|
|
}
|
|
|
|
|
|
// 00426b02 std::streambuf::vfunction13
|
|
|
|
/* std::streambuf member function inherited by std::stringbuf */
|
|
|
|
long __thiscall std::streambuf::vfunction13(streambuf *this,long param_1,long param_2)
|
|
|
|
{
|
|
vfunction14 *pvVar1;
|
|
char cVar2;
|
|
uint uVar3;
|
|
long lVar4;
|
|
long *plVar5;
|
|
undefined8 uVar6;
|
|
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_0042679e(this);
|
|
local_38 = FUN_0042678c(this);
|
|
local_38 = lVar4 - local_38;
|
|
if (local_38 != 0) {
|
|
local_40 = param_2 - local_20;
|
|
plVar5 = (long *)FUN_00392097(&local_38,&local_40);
|
|
lVar4 = *plVar5;
|
|
local_28 = lVar4;
|
|
uVar6 = FUN_0042678c(this);
|
|
FUN_003a7bb1(uVar6,local_58,lVar4);
|
|
local_20 = local_20 + local_28;
|
|
local_58 = local_58 + local_28;
|
|
FUN_00426cd8(this,local_28);
|
|
}
|
|
} while (param_2 <= local_20);
|
|
pvVar1 = this->vftablePtr->vfunction14;
|
|
uVar3 = FUN_003a5d65(local_58);
|
|
local_44 = (*pvVar1)(this,(ulong)uVar3);
|
|
local_2c = FUN_0039194b();
|
|
cVar2 = FUN_0039192c(&local_44,&local_2c);
|
|
if (cVar2 == '\x01') break;
|
|
local_20 = local_20 + 1;
|
|
local_58 = local_58 + 1;
|
|
}
|
|
return local_20;
|
|
}
|
|
|
|
|
|
// 00426c38 std::streambuf::vfunction14
|
|
|
|
void __thiscall std::streambuf::vfunction14(void)
|
|
|
|
{
|
|
FUN_0039194b();
|
|
return;
|
|
}
|
|
|
|
|
|
// 00426cfe std::streambuf::streambuf
|
|
|
|
void __thiscall std::streambuf::streambuf(streambuf *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;
|
|
}
|
|
|
|
|