Files
steam/decomp/steamrt64_chromehtml.so/src/google__protobuf__GeneratedCodeInfo.c

352 lines
8.9 KiB
C

// 00321bf4 google::protobuf::GeneratedCodeInfo::vfunction7
undefined1 __thiscall google::protobuf::GeneratedCodeInfo::vfunction7(void)
{
return 1;
}
// 0032248e google::protobuf::GeneratedCodeInfo::vfunction19
void __thiscall google::protobuf::GeneratedCodeInfo::vfunction19(GeneratedCodeInfo *this)
{
FUN_003344e2(&(this->data).offset_0x20);
return;
}
// 00322778 google::protobuf::GeneratedCodeInfo::vfunction10
ulong __thiscall
google::protobuf::GeneratedCodeInfo::vfunction10(GeneratedCodeInfo *this,undefined8 param_1)
{
undefined4 *puVar1;
undefined8 *puVar2;
undefined8 *puVar3;
ulong uVar4;
long lVar5;
ulong uVar6;
puVar3 = (undefined8 *)(this->data).offset_0x18;
uVar6 = (ulong)*(int *)&(this->data).offset_0x10;
if (puVar3 != (undefined8 *)0x0) {
puVar3 = puVar3 + 1;
}
puVar2 = puVar3 + uVar6;
for (; puVar3 != puVar2; puVar3 = puVar3 + 1) {
uVar4 = GeneratedCodeInfo_Annotation::vfunction10((GeneratedCodeInfo_Annotation *)*puVar3);
lVar5 = FUN_00334266(uVar4);
uVar6 = uVar6 + lVar5;
}
puVar1 = &(this->data).offset_0x20;
if ((*(byte *)&(this->data).offset_0x0 & 1) != 0) {
uVar6 = FUN_00359fe2(&this->data,uVar6,puVar1,param_1);
return uVar6;
}
FUN_003344e2(puVar1,uVar6 & 0xffffffff);
return uVar6;
}
// 00322900 google::protobuf::GeneratedCodeInfo::vfunction20
void __thiscall google::protobuf::GeneratedCodeInfo::vfunction20(void)
{
FUN_003227eb(0x1a);
return;
}
// 0032332e google::protobuf::GeneratedCodeInfo::GeneratedCodeInfo
void __thiscall
google::protobuf::GeneratedCodeInfo::GeneratedCodeInfo(GeneratedCodeInfo *this,undefined8 param_1)
{
(this->data).offset_0x0 = param_1;
this->vftablePtr = &vftable;
(this->data).offset_0x8 = param_1;
(this->data).offset_0x10 = 0;
(this->data).offset_0x18 = 0;
(this->data).offset_0x20 = 0;
return;
}
// 0032812c google::protobuf::GeneratedCodeInfo::vfunction12
char * __thiscall
google::protobuf::GeneratedCodeInfo::vfunction12
(GeneratedCodeInfo *this,char *param_1,undefined8 *param_2)
{
int iVar1;
int *piVar2;
undefined8 uVar3;
ulong uVar4;
char cVar5;
undefined4 uVar6;
char *pcVar7;
GeneratedCodeInfo_Annotation *this_00;
long lVar8;
char *local_50;
uint local_44;
char *local_40 [2];
local_50 = param_1;
do {
while( true ) {
cVar5 = FUN_00334356(param_2,&local_50);
if (cVar5 != '\0') {
return local_50;
}
pcVar7 = (char *)FUN_00321c03(local_50,&local_44);
if (pcVar7 == (char *)0x0) {
return (char *)0x0;
}
if ((local_44 >> 3 == 1) && (local_44 == 10)) break;
if (((local_44 & 7) == 4) || (local_44 == 0)) {
*(uint *)(param_2 + 10) = local_44 - 1;
return pcVar7;
}
uVar4 = (this->data).offset_0x0;
local_50 = pcVar7;
if ((uVar4 & 1) == 0) {
lVar8 = FUN_002762f0(&this->data);
}
else {
lVar8 = (uVar4 & 0xfffffffffffffffc) + 8;
}
local_50 = (char *)FUN_003589df(local_44,lVar8,pcVar7,param_2);
if (local_50 == (char *)0x0) {
return (char *)0x0;
}
}
local_50 = pcVar7 + -1;
do {
piVar2 = (int *)(this->data).offset_0x18;
pcVar7 = local_50 + 1;
local_50 = pcVar7;
if (piVar2 == (int *)0x0) {
LAB_003281d6:
FUN_002ecbe4(&(this->data).offset_0x8,*(int *)((long)&(this->data).offset_0x10 + 4) + 1);
LAB_003281e4:
piVar2 = (int *)(this->data).offset_0x18;
uVar3 = (this->data).offset_0x8;
*piVar2 = *piVar2 + 1;
this_00 = (GeneratedCodeInfo_Annotation *)FUN_00323a06(uVar3);
iVar1 = *(int *)&(this->data).offset_0x10;
*(int *)&(this->data).offset_0x10 = iVar1 + 1;
*(GeneratedCodeInfo_Annotation **)((this->data).offset_0x18 + 8 + (long)iVar1 * 8) = this_00
;
}
else {
iVar1 = *(int *)&(this->data).offset_0x10;
if (*piVar2 <= iVar1) {
if (*piVar2 == *(int *)((long)&(this->data).offset_0x10 + 4)) goto LAB_003281d6;
goto LAB_003281e4;
}
this_00 = *(GeneratedCodeInfo_Annotation **)(piVar2 + (long)iVar1 * 2 + 2);
*(int *)&(this->data).offset_0x10 = iVar1 + 1;
}
local_40[0] = pcVar7;
uVar6 = FUN_002e2dcc(local_40);
if (local_40[0] == (char *)0x0) {
return (char *)0x0;
}
uVar6 = FUN_00334288(param_2,local_40[0],uVar6);
piVar2 = (int *)(param_2 + 0xb);
*piVar2 = *piVar2 + -1;
if (*piVar2 < 0) {
return (char *)0x0;
}
local_40[0] = (char *)GeneratedCodeInfo_Annotation::vfunction12
(this_00,(long)local_40[0],(long)param_2);
if (local_40[0] == (char *)0x0) {
return (char *)0x0;
}
*(int *)(param_2 + 0xb) = *(int *)(param_2 + 0xb) + 1;
cVar5 = FUN_00334330(param_2,uVar6);
if (cVar5 == '\0') {
return (char *)0x0;
}
local_50 = local_40[0];
if (local_40[0] == (char *)0x0) {
return (char *)0x0;
}
} while ((local_40[0] < (char *)*param_2) && (*local_40[0] == '\n'));
} while( true );
}
// 0032ab98 google::protobuf::GeneratedCodeInfo::vfunction13
undefined8 __thiscall
google::protobuf::GeneratedCodeInfo::vfunction13
(GeneratedCodeInfo *this,byte *param_1,undefined8 *param_2)
{
int iVar1;
ulong uVar2;
undefined4 uVar3;
undefined1 *puVar4;
GeneratedCodeInfo_Annotation *this_00;
byte *pbVar5;
undefined8 uVar6;
int iVar7;
iVar1 = *(int *)&(this->data).offset_0x10;
for (iVar7 = 0; iVar7 != iVar1; iVar7 = iVar7 + 1) {
puVar4 = (undefined1 *)FUN_002e292a(param_2);
this_00 = (GeneratedCodeInfo_Annotation *)FUN_00335bb2(&(this->data).offset_0x8,iVar7);
*puVar4 = 10;
uVar3 = FUN_003343d0(&(this_00->data).offset_0xc);
pbVar5 = (byte *)FUN_002e2a10(uVar3,puVar4 + 1);
param_1 = GeneratedCodeInfo_Annotation::vfunction13(this_00,pbVar5,param_2);
}
uVar2 = (this->data).offset_0x0;
if ((uVar2 & 1) != 0) {
uVar6 = FUN_00359676((uVar2 & 0xfffffffffffffffc) + 8,param_1,param_2);
return uVar6;
}
return param_1;
}
// 0032d10a google::protobuf::GeneratedCodeInfo::~GeneratedCodeInfo
void __thiscall google::protobuf::GeneratedCodeInfo::~GeneratedCodeInfo(GeneratedCodeInfo *this)
{
undefined8 *puVar1;
this->vftablePtr = &vftable;
FUN_003352f4();
puVar1 = &(this->data).offset_0x8;
FUN_00335c9e(&this->data);
FUN_003368ee(puVar1);
FUN_002ecda2(puVar1);
return;
}
// 0032d13c google::protobuf::GeneratedCodeInfo::vfunction2
void __thiscall google::protobuf::GeneratedCodeInfo::vfunction2(GeneratedCodeInfo *this)
{
~GeneratedCodeInfo(this);
internal::FieldSkipper::vfunction2((FieldSkipper *)this);
return;
}
// 0032e04a google::protobuf::GeneratedCodeInfo::vfunction6
void __thiscall google::protobuf::GeneratedCodeInfo::vfunction6(GeneratedCodeInfo *this)
{
FUN_00336b38(&(this->data).offset_0x8);
if ((*(byte *)&(this->data).offset_0x0 & 1) != 0) {
FUN_002a4470(&this->data);
return;
}
return;
}
// 00334096 google::protobuf::GeneratedCodeInfo::vfunction16
void __thiscall
google::protobuf::GeneratedCodeInfo::vfunction16(GeneratedCodeInfo *this,GeneratedCodeInfo *param_1)
{
undefined8 uVar1;
long lVar2;
long extraout_RDX;
undefined1 local_39;
undefined1 local_38 [32];
if (this == param_1) {
FUN_002d0582(local_38,3,"google/protobuf/descriptor.pb.cc",0x2a64);
uVar1 = FUN_002d001e(local_38,"CHECK failed: (&from) != (this): ");
FUN_002d0858(&local_39,uVar1);
FUN_002d059c(local_38);
}
FUN_003227eb(0x1a);
lVar2 = FUN_00315146(param_1);
if (lVar2 == extraout_RDX) {
FUN_00333fe6(this,param_1);
}
else {
FUN_0034dd68(param_1,this);
}
return;
}
// 00334144 google::protobuf::GeneratedCodeInfo::vfunction15
void __thiscall
google::protobuf::GeneratedCodeInfo::vfunction15(GeneratedCodeInfo *this,GeneratedCodeInfo *param_1)
{
if (this != param_1) {
vfunction6(this);
vfunction16(this,param_1);
return;
}
return;
}
// 003344ce google::protobuf::GeneratedCodeInfo::vfunction11
void __thiscall google::protobuf::GeneratedCodeInfo::vfunction11(GeneratedCodeInfo *this)
{
FUN_003343d0(&(this->data).offset_0x20);
return;
}
// 00335686 google::protobuf::GeneratedCodeInfo::vfunction5
GeneratedCodeInfo * __thiscall
google::protobuf::GeneratedCodeInfo::vfunction5(GeneratedCodeInfo *this,long param_1)
{
GeneratedCodeInfo *this_00;
if (param_1 == 0) {
this_00 = (GeneratedCodeInfo *)FUN_003a1a2c(0x30);
param_1 = 0;
}
else {
this_00 = (GeneratedCodeInfo *)thunk_FUN_002d7d08(param_1,0x30,0);
}
GeneratedCodeInfo(this_00,param_1);
return this_00;
}
// 0033568e google::protobuf::GeneratedCodeInfo::vfunction4
/* WARNING: Removing unreachable block (ram,0x00323a57) */
GeneratedCodeInfo * __thiscall google::protobuf::GeneratedCodeInfo::vfunction4(void)
{
GeneratedCodeInfo *this;
this = (GeneratedCodeInfo *)FUN_003a1a2c(0x30);
GeneratedCodeInfo(this,0);
return this;
}