
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: layout_reloc<32, false>
   DWARF original prototype: Output_section * layout_reloc<32,_false>(Layout * this,
   Sized_relobj_file<32,_false> * param_3, uint param_4, Shdr<32,_false> * shdr, Output_section *
   data_section, Relocatable_relocs * rr) */

Output_section * __thiscall
gold::Layout::layout_reloc<32,_false>
          (Layout *this,Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,
          Output_section *data_section,Relocatable_relocs *rr)

{
  undefined1 *puVar1;
  int iVar2;
  Elf_Word type;
  size_t sVar3;
  Output_section_data *posd;
  char *pcVar4;
  int unaff_EDI;
  uint64_t uVar5;
  uint uVar6;
  Relocatable_relocs *in_stack_ffffffb4;
  Output_data *posd_00;
  Output_section *local_40;
  string name;
  
  __x86_get_pc_thunk_di();
  iVar2 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);
  if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf));
  }
  if ((*(char *)(iVar2 + 0x318d) == '\0') && (*(char *)(iVar2 + 0x3095) == '\0')) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI);
  }
  type = shdr->p_->sh_type;
  name._M_string_length = 0;
  posd_00 = (Output_data *)&name.field_2;
  name.field_2._M_local_buf[0] = '\0';
  name._M_dataplus._M_p = (pointer)posd_00;
  if (type == 9) {
    pcVar4 = (char *)(unaff_EDI + 0x1ebfd6);
    uVar6 = 4;
  }
  else {
    if (type != 4) goto LAB_000baff7;
    pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);
    uVar6 = 5;
  }
                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */
  std::string::_M_replace((string *)&name,0,0,pcVar4,uVar6);
  pcVar4 = data_section->name_;
  sVar3 = strlen(pcVar4);
  if (0x7fffffff - name._M_string_length < sVar3) {
                    /* WARNING: Subroutine does not return */
    std::__throw_length_error((char *)(unaff_EDI + 0x1e73e6));
  }
  std::string::_M_append((string *)&name,pcVar4,sVar3);
  local_40 = data_section->reloc_section_;
  if (local_40 == (Output_section *)0x0) {
                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */
    pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0);
    local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,
                                   false);
    if (((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||
       ((local_40->field_0x90 & 8) != 0)) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);
    }
    local_40->field_0x90 = local_40->field_0x90 | 4;
    if ((((local_40->info_section_ != (Output_section *)0x0) &&
         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||
        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));
    }
    local_40->field_0x91 = local_40->field_0x91 | 1;
    local_40->info_section_ = data_section;
    data_section->reloc_section_ = local_40;
  }
  if (type == 9) {
                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */
    Output_section::set_entsize(local_40,8);
    posd = (Output_section_data *)operator_new(0x30);
                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */
    uVar5 = Output_data::default_alignment_for_size(0x20);
    *(int *)&posd->addralign_ = (int)uVar5;
    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057);
    *(undefined4 *)&(posd->super_Output_data).address_ = 0;
    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;
    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;
    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;
    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;
    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;
    puVar1 = &(posd->super_Output_data).field_0x1c;
    *puVar1 = *puVar1 & 0xe0;
    posd->output_section_ = (Output_section *)0x0;
    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);
    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;
  }
  else {
    if (type != 4) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);
    }
    Output_section::set_entsize(local_40,0xc);
    posd = (Output_section_data *)operator_new(0x30);
                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */
    uVar5 = Output_data::default_alignment_for_size(0x20);
    *(int *)&posd->addralign_ = (int)uVar5;
    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);
    puVar1 = &(posd->super_Output_data).field_0x1c;
    *puVar1 = *puVar1 & 0xe0;
    *(undefined4 *)&(posd->super_Output_data).address_ = 0;
    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;
    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;
    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;
    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;
    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;
    posd->output_section_ = (Output_section *)0x0;
    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);
    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;
  }
                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */
  Output_section::add_output_section_data(local_40,posd);
  if (rr->posd_ == (Output_data *)0x0) {
    rr->posd_ = &posd->super_Output_data;
    if ((Output_data *)name._M_dataplus._M_p != posd_00) {
      operator_delete(name._M_dataplus._M_p);
    }
    return local_40;
  }
                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */
  Relocatable_relocs::set_output_data(in_stack_ffffffb4,posd_00);
LAB_000baff7:
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI);
}



int FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
                int param_6)

{
  int iVar1;
  char *__s;
  size_t sVar2;
  int *piVar3;
  int iVar4;
  undefined4 extraout_ECX;
  int extraout_ECX_00;
  undefined4 extraout_ECX_01;
  undefined4 extraout_ECX_02;
  int unaff_EDI;
  undefined8 uVar5;
  undefined4 uVar6;
  int local_40;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [28];
  
  FUN_000644be();
  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);
  }
  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {
                    /* WARNING: Subroutine does not return */
    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);
  }
  iVar1 = *(int *)(*param_4 + 4);
  local_30 = 0;
  local_2c[0] = 0;
  local_34 = local_2c;
  if (iVar1 == 9) {
    iVar4 = unaff_EDI + 0x1ebfd6;
    uVar6 = 4;
  }
  else {
    uVar6 = extraout_ECX;
    if (iVar1 != 4) goto LAB_000baff7;
    iVar4 = unaff_EDI + 0x1ebfdb;
    uVar6 = 5;
  }
                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */
  FUN_00207c70(&local_34,0,0,iVar4,uVar6);
  __s = *(char **)(param_5 + 0x20);
  sVar2 = strlen(__s);
  if (0x7fffffffU - local_30 < sVar2) {
                    /* WARNING: Subroutine does not return */
    FUN_00244a20(unaff_EDI + 0x1e73e6);
  }
  FUN_00208840(&local_34,__s,sVar2);
  iVar4 = extraout_ECX_00;
  local_40 = *(int *)(param_5 + 0xe4);
  if (*(int *)(param_5 + 0xe4) == 0) {
                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */
    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);
    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);
    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||
       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {
                    /* WARNING: Subroutine does not return */
      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);
    }
    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;
    if ((((*(int *)(iVar4 + 0x44) != 0) &&
         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||
        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {
                    /* WARNING: Subroutine does not return */
      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);
    }
    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;
    *(int *)(iVar4 + 0x44) = param_5;
    *(int *)(param_5 + 0xe4) = iVar4;
    local_40 = iVar4;
  }
  if (iVar1 == 9) {
                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */
    FUN_001040d0(local_40,8,0);
    piVar3 = (int *)FUN_001fd480(0x30);
                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */
    uVar5 = FUN_00103540(0x20);
    piVar3[9] = (int)uVar5;
    *piVar3 = unaff_EDI + 0x2ef057;
    piVar3[1] = 0;
    piVar3[2] = 0;
    piVar3[3] = 0;
    piVar3[4] = 0;
    piVar3[5] = -1;
    piVar3[6] = -1;
    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;
    piVar3[8] = 0;
    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);
    piVar3[0xb] = param_6;
  }
  else {
    if (iVar1 != 4) {
                    /* WARNING: Subroutine does not return */
      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);
    }
    FUN_001040d0(local_40,0xc,0);
    piVar3 = (int *)FUN_001fd480(0x30);
                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */
    uVar5 = FUN_00103540(0x20);
    piVar3[9] = (int)uVar5;
    *piVar3 = unaff_EDI + 0x2ef0c3;
    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;
    piVar3[1] = 0;
    piVar3[2] = 0;
    piVar3[3] = 0;
    piVar3[4] = 0;
    piVar3[5] = -1;
    piVar3[6] = -1;
    piVar3[8] = 0;
    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);
    piVar3[0xb] = param_6;
  }
                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */
  FUN_00108240(local_40,piVar3);
  if (*(int *)(param_6 + 0x10) == 0) {
    *(int **)(param_6 + 0x10) = piVar3;
    if (local_34 != local_2c) {
      FUN_001ff030(local_34);
    }
    return local_40;
  }
                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */
  FUN_000aade0();
  uVar6 = extraout_ECX_02;
LAB_000baff7:
                    /* WARNING: Subroutine does not return */
  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000644be
ADD EDI,0x2f4347
PUSH ESI
PUSH EBX
SUB ESP,0x3c
LEA EAX,[EDI + 0x408]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000bafda
CMP byte ptr [EAX + 0x318d],0x0
JZ 0x000bae50
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX]
MOV ESI,dword ptr [EAX + 0x4]
LEA EAX,[EBP + -0x30]
MOV dword ptr [EBP + -0x2c],0x0
MOV dword ptr [EBP + -0x3c],EAX
LEA EAX,[EBP + -0x28]
MOV dword ptr [EBP + -0x44],EAX
MOV dword ptr [EBP + -0x30],EAX
MOV byte ptr [EBP + -0x28],0x0
CMP ESI,0x9
JZ 0x000bae80
CMP ESI,0x4
JNZ 0x000baff7
SUB ESP,0xc
LEA EAX,[EDI + 0xffef7c94]
PUSH 0x5
PUSH EAX
MOV EBX,EDI
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EBP + -0x3c]
CALL 0x00207c70
MOV EAX,dword ptr [EBP + 0x18]
ADD ESP,0x20
SUB ESP,0xc
MOV ECX,dword ptr [EAX + 0x20]
PUSH ECX
MOV dword ptr [EBP + -0x40],ECX
CALL 0x0002a5f0
MOV EDX,0x7fffffff
SUB EDX,dword ptr [EBP + -0x2c]
ADD ESP,0x10
CMP EAX,EDX
MOV ECX,dword ptr [EBP + -0x40]
JA 0x000bafcb
SUB ESP,0x4
PUSH EAX
PUSH ECX
PUSH dword ptr [EBP + -0x3c]
CALL 0x00208840
MOV EAX,dword ptr [EBP + 0x18]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0xe4]
MOV dword ptr [EBP + -0x3c],EAX
TEST EAX,EAX
JZ 0x000baf10
CMP ESI,0x9
JZ 0x000bae90
CMP ESI,0x4
JNZ 0x000bb012
SUB ESP,0x4
MOV EBX,EDI
PUSH 0x0
PUSH 0xc
PUSH dword ptr [EBP + -0x3c]
CALL 0x001040d0
MOV dword ptr [ESP],0x30
CALL 0x001fd480
MOV ESI,EAX
MOV dword ptr [ESP],0x20
CALL 0x00103540
MOV dword ptr [ESI + 0x24],EAX
LEA EAX,[EDI + 0xffffad7c]
ADD ESP,0x10
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + 0x1c]
AND byte ptr [ESI + 0x1c],0xe0
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0xffffffff
MOV dword ptr [ESI + 0x18],0xffffffff
MOV dword ptr [ESI + 0x20],0x0
MOV dword ptr [ESI + 0x28],EDX
MOV dword ptr [ESI + 0x2c],EAX
SUB ESP,0x8
MOV EBX,EDI
PUSH ESI
PUSH dword ptr [EBP + -0x3c]
CALL 0x00108240
MOV EAX,dword ptr [EBP + 0x1c]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x10]
TEST EDX,EDX
JNZ 0x000baff2
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EAX + 0x10],ESI
MOV EAX,dword ptr [EBP + -0x30]
CMP EAX,dword ptr [EBP + -0x44]
JZ 0x000bae43
SUB ESP,0xc
PUSH EAX
CALL 0x001ff030
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x3c]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EAX + 0x3095],0x0
JNZ 0x000bace4
LEA EAX,[EDI + 0xffef8000]
PUSH EBX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffef6ff8]
PUSH 0x52d
PUSH EAX
CALL 0x0007d010
SUB ESP,0xc
LEA EAX,[EDI + 0xffef7c8f]
PUSH 0x4
JMP 0x000bad23
SUB ESP,0x4
MOV EBX,EDI
PUSH 0x0
PUSH 0x8
PUSH dword ptr [EBP + -0x3c]
CALL 0x001040d0
MOV dword ptr [ESP],0x30
CALL 0x001fd480
MOV ESI,EAX
MOV dword ptr [ESP],0x20
CALL 0x00103540
MOV dword ptr [ESI + 0x24],EAX
LEA EAX,[EDI + 0xffffad10]
ADD ESP,0x10
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0xffffffff
MOV dword ptr [ESI + 0x18],0xffffffff
AND byte ptr [ESI + 0x1c],0xe0
MOV dword ptr [ESI + 0x20],0x0
MOV dword ptr [ESI + 0x28],EDX
MOV dword ptr [ESI + 0x2c],EAX
JMP 0x000bae0a
MOV EAX,dword ptr [EBP + 0x8]
PUSH 0x0
PUSH 0x1
ADD EAX,0x8
PUSH dword ptr [EBP + -0x30]
PUSH EAX
CALL 0x00187d90
MOV EDX,dword ptr [EBP + 0x14]
ADD ESP,0xc
XOR EBX,EBX
PUSH 0x0
MOV EDX,dword ptr [EDX]
PUSH 0x0
MOV ECX,dword ptr [EDX + 0x8]
PUSH EBX
PUSH ECX
PUSH ESI
PUSH EAX
PUSH dword ptr [EBP + 0x8]
CALL 0x000b0600
MOV EDX,dword ptr [EAX + 0x3c]
MOV dword ptr [EBP + -0x3c],EAX
ADD ESP,0x20
TEST EDX,EDX
JNZ 0x000bb048
MOV EBX,dword ptr [EAX + 0x40]
TEST EBX,EBX
JNZ 0x000bb048
MOVZX EAX,byte ptr [EAX + 0x90]
TEST AL,0x8
JNZ 0x000bb048
MOV ECX,dword ptr [EBP + -0x3c]
OR EAX,0x4
MOV byte ptr [ECX + 0x90],AL
MOV EAX,dword ptr [ECX + 0x44]
TEST EAX,EAX
JZ 0x000baf94
CMP dword ptr [EBP + 0x18],EAX
JNZ 0x000bb02d
TEST byte ptr [ECX + 0x91],0x1
JZ 0x000bb02d
MOV EAX,dword ptr [EBP + -0x3c]
MOV EDX,dword ptr [EAX + 0x48]
TEST EDX,EDX
JNZ 0x000bb02d
MOV EAX,dword ptr [EAX + 0x4c]
TEST EAX,EAX
JNZ 0x000bb02d
MOV EAX,dword ptr [EBP + -0x3c]
MOV EDX,dword ptr [EBP + 0x18]
OR byte ptr [EAX + 0x91],0x1
MOV dword ptr [EAX + 0x44],EDX
MOV EDX,dword ptr [EBP + 0x18]
MOV dword ptr [EDX + 0xe4],EAX
JMP 0x000bad81
SUB ESP,0xc
LEA EAX,[EDI + 0xffef309f]
PUSH EAX
CALL 0x00244a20
LEA EAX,[EDI + 0xffef8588]
PUSH ESI
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffee926d]
PUSH 0x5c
PUSH EAX
CALL 0x0007d010
CALL 0x000aade0
LEA EAX,[EDI + 0xffef8000]
PUSH ECX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffef6ff8]
PUSH 0x537
PUSH EAX
CALL 0x0007d010
LEA EAX,[EDI + 0xffef8000]
PUSH ECX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffef6ff8]
PUSH 0x557
PUSH EAX
CALL 0x0007d010
LEA EAX,[EDI + 0xffef7fd0]
PUSH EBX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffeee371]
PUSH 0xd3a
PUSH EAX
CALL 0x0007d010
LEA EAX,[EDI + 0xffef7fe4]
PUSH ECX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffeee371]
PUSH 0xd1b
PUSH EAX
CALL 0x0007d010
(translation_unit "int FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)\n\n{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */\n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */\n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */\n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}\n\n" (function_definition "int FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)\n\n{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */\n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */\n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */\n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}" primitive_type (function_declarator "FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */\n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */\n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */\n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX_01;" type_identifier identifier ;) (declaration "undefined4 extraout_ECX_02;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "FUN_000644be();" (call_expression "FUN_000644be()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);" (assignment_expression "iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" * (cast_expression "(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" ( (binary_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" * (cast_expression "(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DWORD_002f474c + unaff_EDI + 3)" ( (binary_expression "(int)&DWORD_002f474c + unaff_EDI + 3" (binary_expression "(int)&DWORD_002f474c + unaff_EDI" (cast_expression "(int)&DWORD_002f474c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DWORD_002f474c" & identifier)) + identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }" { comment (expression_statement "FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);" (call_expression "FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf)" identifier (argument_list "(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf)" ( (binary_expression "unaff_EDI + 0x1dd5b4" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x1ec8cf" identifier + number_literal) ))) ;) })) (if_statement "if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }" if (parenthesized_expression "((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0'))" ( (binary_expression "(*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')" (parenthesized_expression "(*(char *)(iVar1 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x318d)" * (cast_expression "(char *)(iVar1 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x318d)" ( (binary_expression "iVar1 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(iVar1 + 0x3095) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x3095) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x3095)" * (cast_expression "(char *)(iVar1 + 0x3095)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3095)" ( (binary_expression "iVar1 + 0x3095" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }" { comment (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI)" identifier (argument_list "(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI)" ( (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" & identifier) + identifier) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) ))) ;) })) (expression_statement "iVar1 = *(int *)(*param_4 + 4);" (assignment_expression "iVar1 = *(int *)(*param_4 + 4)" identifier = (pointer_expression "*(int *)(*param_4 + 4)" * (cast_expression "(int *)(*param_4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_4 + 4)" ( (binary_expression "*param_4 + 4" (pointer_expression "*param_4" * identifier) + number_literal) ))))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" if (parenthesized_expression "(iVar1 == 9)" ( (binary_expression "iVar1 == 9" identifier == number_literal) )) (compound_statement "{\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }" { (expression_statement "iVar4 = unaff_EDI + 0x1ebfd6;" (assignment_expression "iVar4 = unaff_EDI + 0x1ebfd6" identifier = (binary_expression "unaff_EDI + 0x1ebfd6" identifier + number_literal)) ;) (expression_statement "uVar6 = 4;" (assignment_expression "uVar6 = 4" identifier = number_literal) ;) }) (else_clause "else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" else (compound_statement "{\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" { (expression_statement "uVar6 = extraout_ECX;" (assignment_expression "uVar6 = extraout_ECX" identifier = identifier) ;) (if_statement "if (iVar1 != 4) goto LAB_000baff7;" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (goto_statement "goto LAB_000baff7;" goto statement_identifier ;)) (expression_statement "iVar4 = unaff_EDI + 0x1ebfdb;" (assignment_expression "iVar4 = unaff_EDI + 0x1ebfdb" identifier = (binary_expression "unaff_EDI + 0x1ebfdb" identifier + number_literal)) ;) (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" identifier = number_literal) ;) }))) comment (expression_statement "FUN_00207c70(&local_34,0,0,iVar4,uVar6);" (call_expression "FUN_00207c70(&local_34,0,0,iVar4,uVar6)" identifier (argument_list "(&local_34,0,0,iVar4,uVar6)" ( (pointer_expression "&local_34" & identifier) , number_literal , number_literal , identifier , identifier ))) ;) (expression_statement "__s = *(char **)(param_5 + 0x20);" (assignment_expression "__s = *(char **)(param_5 + 0x20)" identifier = (pointer_expression "*(char **)(param_5 + 0x20)" * (cast_expression "(char **)(param_5 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_5 + 0x20)" ( (binary_expression "param_5 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (0x7fffffffU - local_30 < sVar2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }" if (parenthesized_expression "(0x7fffffffU - local_30 < sVar2)" ( (binary_expression "0x7fffffffU - local_30 < sVar2" (binary_expression "0x7fffffffU - local_30" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }" { comment (expression_statement "FUN_00244a20(unaff_EDI + 0x1e73e6);" (call_expression "FUN_00244a20(unaff_EDI + 0x1e73e6)" identifier (argument_list "(unaff_EDI + 0x1e73e6)" ( (binary_expression "unaff_EDI + 0x1e73e6" identifier + number_literal) ))) ;) })) (expression_statement "FUN_00208840(&local_34,__s,sVar2);" (call_expression "FUN_00208840(&local_34,__s,sVar2)" identifier (argument_list "(&local_34,__s,sVar2)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier ))) ;) (expression_statement "iVar4 = extraout_ECX_00;" (assignment_expression "iVar4 = extraout_ECX_00" identifier = identifier) ;) (expression_statement "local_40 = *(int *)(param_5 + 0xe4);" (assignment_expression "local_40 = *(int *)(param_5 + 0xe4)" identifier = (pointer_expression "*(int *)(param_5 + 0xe4)" * (cast_expression "(int *)(param_5 + 0xe4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xe4)" ( (binary_expression "param_5 + 0xe4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_5 + 0xe4) == 0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }" if (parenthesized_expression "(*(int *)(param_5 + 0xe4) == 0)" ( (binary_expression "*(int *)(param_5 + 0xe4) == 0" (pointer_expression "*(int *)(param_5 + 0xe4)" * (cast_expression "(int *)(param_5 + 0xe4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xe4)" ( (binary_expression "param_5 + 0xe4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }" { comment (expression_statement "uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);" (assignment_expression "uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0)" identifier = (call_expression "FUN_00187d90(param_1 + 8,local_34,1,0)" identifier (argument_list "(param_1 + 8,local_34,1,0)" ( (binary_expression "param_1 + 8" identifier + number_literal) , identifier , number_literal , number_literal )))) ;) (expression_statement "iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);" (assignment_expression "iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" identifier = (call_expression "FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" identifier (argument_list "(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*param_4 + 8)" * (cast_expression "(undefined4 *)(*param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_4 + 8)" ( (binary_expression "*param_4 + 8" (pointer_expression "*param_4" * identifier) + number_literal) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }" if (parenthesized_expression "(((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0))" ( (binary_expression "((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)" (parenthesized_expression "((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0))" ( (binary_expression "(*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)" (parenthesized_expression "(*(int *)(iVar4 + 0x3c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x3c) != 0" (pointer_expression "*(int *)(iVar4 + 0x3c)" * (cast_expression "(int *)(iVar4 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x40) != 0" (pointer_expression "*(int *)(iVar4 + 0x40)" * (cast_expression "(int *)(iVar4 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "((*(byte *)(iVar4 + 0x90) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar4 + 0x90) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x90) & 8)" ( (binary_expression "*(byte *)(iVar4 + 0x90) & 8" (pointer_expression "*(byte *)(iVar4 + 0x90)" * (cast_expression "(byte *)(iVar4 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x90)" ( (binary_expression "iVar4 + 0x90" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }" { comment (expression_statement "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);" (call_expression "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01)" identifier (argument_list "(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01)" ( (binary_expression "unaff_EDI + 0x1e26b8" identifier + number_literal) , number_literal , (binary_expression "&UNK_001ec32b + unaff_EDI" (pointer_expression "&UNK_001ec32b" & identifier) + identifier) , identifier ))) ;) })) (expression_statement "*(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;" (assignment_expression "*(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4" (pointer_expression "*(byte *)(iVar4 + 0x90)" * (cast_expression "(byte *)(iVar4 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x90)" ( (binary_expression "iVar4 + 0x90" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 0x90) | 4" (pointer_expression "*(byte *)(iVar4 + 0x90)" * (cast_expression "(byte *)(iVar4 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x90)" ( (binary_expression "iVar4 + 0x90" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }" if (parenthesized_expression "((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0))" ( (binary_expression "(((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)" (parenthesized_expression "(((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0))" ( (binary_expression "((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)" (parenthesized_expression "((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0))))" ( (binary_expression "(*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))" (parenthesized_expression "(*(int *)(iVar4 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x44) != 0" (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))" ( (parenthesized_expression "(param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0))" ( (binary_expression "param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)" (binary_expression "param_5 != *(int *)(iVar4 + 0x44)" identifier != (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) ))))) || (parenthesized_expression "((*(byte *)(iVar4 + 0x91) & 1) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 0x91) & 1) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x91) & 1)" ( (binary_expression "*(byte *)(iVar4 + 0x91) & 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" * (cast_expression "(byte *)(iVar4 + 0x91)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x91)" ( (binary_expression "iVar4 + 0x91" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x48) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x48) != 0" (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x4c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x4c) != 0" (pointer_expression "*(int *)(iVar4 + 0x4c)" * (cast_expression "(int *)(iVar4 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x4c)" ( (binary_expression "iVar4 + 0x4c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }" { comment (expression_statement "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);" (call_expression "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0)" identifier (argument_list "(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0)" ( (binary_expression "unaff_EDI + 0x1e26b8" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x1ec317" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "*(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;" (assignment_expression "*(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" * (cast_expression "(byte *)(iVar4 + 0x91)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x91)" ( (binary_expression "iVar4 + 0x91" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 0x91) | 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" * (cast_expression "(byte *)(iVar4 + 0x91)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x91)" ( (binary_expression "iVar4 + 0x91" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x44) = param_5;" (assignment_expression "*(int *)(iVar4 + 0x44) = param_5" (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_5 + 0xe4) = iVar4;" (assignment_expression "*(int *)(param_5 + 0xe4) = iVar4" (pointer_expression "*(int *)(param_5 + 0xe4)" * (cast_expression "(int *)(param_5 + 0xe4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xe4)" ( (binary_expression "param_5 + 0xe4" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_40 = iVar4;" (assignment_expression "local_40 = iVar4" identifier = identifier) ;) })) (if_statement "if (iVar1 == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" if (parenthesized_expression "(iVar1 == 9)" ( (binary_expression "iVar1 == 9" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" { comment (expression_statement "FUN_001040d0(local_40,8,0);" (call_expression "FUN_001040d0(local_40,8,0)" identifier (argument_list "(local_40,8,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "piVar3 = (int *)FUN_001fd480(0x30);" (assignment_expression "piVar3 = (int *)FUN_001fd480(0x30)" identifier = (cast_expression "(int *)FUN_001fd480(0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fd480(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) comment (expression_statement "uVar5 = FUN_00103540(0x20);" (assignment_expression "uVar5 = FUN_00103540(0x20)" identifier = (call_expression "FUN_00103540(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar3[9] = (int)uVar5;" (assignment_expression "piVar3[9] = (int)uVar5" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar3 = unaff_EDI + 0x2ef057;" (assignment_expression "*piVar3 = unaff_EDI + 0x2ef057" (pointer_expression "*piVar3" * identifier) = (binary_expression "unaff_EDI + 0x2ef057" identifier + number_literal)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20)" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3[0xb] = param_6;" (assignment_expression "piVar3[0xb] = param_6" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" else (compound_statement "{\n    if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" { (if_statement "if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }" { comment (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4)" identifier (argument_list "(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4)" ( (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" & identifier) + identifier) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) , identifier ))) ;) })) (expression_statement "FUN_001040d0(local_40,0xc,0);" (call_expression "FUN_001040d0(local_40,0xc,0)" identifier (argument_list "(local_40,0xc,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "piVar3 = (int *)FUN_001fd480(0x30);" (assignment_expression "piVar3 = (int *)FUN_001fd480(0x30)" identifier = (cast_expression "(int *)FUN_001fd480(0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fd480(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) comment (expression_statement "uVar5 = FUN_00103540(0x20);" (assignment_expression "uVar5 = FUN_00103540(0x20)" identifier = (call_expression "FUN_00103540(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar3[9] = (int)uVar5;" (assignment_expression "piVar3[9] = (int)uVar5" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar3 = unaff_EDI + 0x2ef0c3;" (assignment_expression "*piVar3 = unaff_EDI + 0x2ef0c3" (pointer_expression "*piVar3" * identifier) = (binary_expression "unaff_EDI + 0x2ef0c3" identifier + number_literal)) ;) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20)" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3[0xb] = param_6;" (assignment_expression "piVar3[0xb] = param_6" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) }))) comment (expression_statement "FUN_00108240(local_40,piVar3);" (call_expression "FUN_00108240(local_40,piVar3)" identifier (argument_list "(local_40,piVar3)" ( identifier , identifier ))) ;) (if_statement "if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }" if (parenthesized_expression "(*(int *)(param_6 + 0x10) == 0)" ( (binary_expression "*(int *)(param_6 + 0x10) == 0" (pointer_expression "*(int *)(param_6 + 0x10)" * (cast_expression "(int *)(param_6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 0x10)" ( (binary_expression "param_6 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }" { (expression_statement "*(int **)(param_6 + 0x10) = piVar3;" (assignment_expression "*(int **)(param_6 + 0x10) = piVar3" (pointer_expression "*(int **)(param_6 + 0x10)" * (cast_expression "(int **)(param_6 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 0x10)" ( (binary_expression "param_6 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      FUN_001ff030(local_34);\n    }" { (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return local_40;" return identifier ;) })) comment (expression_statement "FUN_000aade0();" (call_expression "FUN_000aade0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = extraout_ECX_02;" (assignment_expression "uVar6 = extraout_ECX_02" identifier = identifier) ;) (labeled_statement "LAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);" statement_identifier : comment (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6)" identifier (argument_list "(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6)" ( (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" & identifier) + identifier) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) , identifier ))) ;)) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original name: layout_reloc<32, false>\n   DWARF original prototype: Output_section * layout_reloc<32,_false>(Layout * this,\n   Sized_relobj_file<32,_false> * param_3, uint param_4, Shdr<32,_false> * shdr, Output_section *\n   data_section, Relocatable_relocs * rr) */\n\nOutput_section * __thiscall\ngold::Layout::layout_reloc<32,_false>\n          (Layout *this,Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  Elf_Word type;\n  size_t sVar3;\n  Output_section_data *posd;\n  char *pcVar4;\n  int unaff_EDI;\n  uint64_t uVar5;\n  uint uVar6;\n  Relocatable_relocs *in_stack_ffffffb4;\n  Output_data *posd_00;\n  Output_section *local_40;\n  string name;\n  \n  __x86_get_pc_thunk_di();\n  iVar2 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf));\n  }\n  if ((*(char *)(iVar2 + 0x318d) == '\0') && (*(char *)(iVar2 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  type = shdr->p_->sh_type;\n  name._M_string_length = 0;\n  posd_00 = (Output_data *)&name.field_2;\n  name.field_2._M_local_buf[0] = '\0';\n  name._M_dataplus._M_p = (pointer)posd_00;\n  if (type == 9) {\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfd6);\n    uVar6 = 4;\n  }\n  else {\n    if (type != 4) goto LAB_000baff7;\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);\n    uVar6 = 5;\n  }\n                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */\n  std::string::_M_replace((string *)&name,0,0,pcVar4,uVar6);\n  pcVar4 = data_section->name_;\n  sVar3 = strlen(pcVar4);\n  if (0x7fffffff - name._M_string_length < sVar3) {\n                    /* WARNING: Subroutine does not return */\n    std::__throw_length_error((char *)(unaff_EDI + 0x1e73e6));\n  }\n  std::string::_M_append((string *)&name,pcVar4,sVar3);\n  local_40 = data_section->reloc_section_;\n  if (local_40 == (Output_section *)0x0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0);\n    local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false);\n    if (((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);\n    }\n    local_40->field_0x90 = local_40->field_0x90 | 4;\n    if ((((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));\n    }\n    local_40->field_0x91 = local_40->field_0x91 | 1;\n    local_40->info_section_ = data_section;\n    data_section->reloc_section_ = local_40;\n  }\n  if (type == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    Output_section::set_entsize(local_40,8);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057);\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }\n  else {\n    if (type != 4) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }\n    Output_section::set_entsize(local_40,0xc);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }\n                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */\n  Output_section::add_output_section_data(local_40,posd);\n  if (rr->posd_ == (Output_data *)0x0) {\n    rr->posd_ = &posd->super_Output_data;\n    if ((Output_data *)name._M_dataplus._M_p != posd_00) {\n      operator_delete(name._M_dataplus._M_p);\n    }\n    return local_40;\n  }\n                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */\n  Relocatable_relocs::set_output_data(in_stack_ffffffb4,posd_00);\nLAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI);\n}\n\n" comment comment (ERROR "Output_section * __thiscall\ngold::Layout::layout_reloc<32,_false>\n          (Layout *this,Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr)" (binary_expression "Output_section * __thiscall\ngold::Layout::layout_reloc<32,_false>\n          (Layout *this,Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr)" (binary_expression "Output_section * __thiscall\ngold::Layout::layout_reloc<32" (binary_expression "Output_section * __thiscall" identifier * identifier) (ERROR "gold::Layout::layout_reloc" identifier : : identifier : : identifier) < number_literal) (ERROR ",_false" , identifier) > (parenthesized_expression "(Layout *this,Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr)" ( (comma_expression "Layout *this,Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr" (binary_expression "Layout *this" identifier * identifier) , (comma_expression "Sized_relobj_file<32,_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (comma_expression "_false> *param_1,uint param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr" (binary_expression "_false> *param_1" identifier > (pointer_expression "*param_1" * identifier)) , (ERROR "uint" identifier) (comma_expression "param_2,Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr" identifier , (comma_expression "Shdr<32,_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr" (binary_expression "Shdr<32" identifier < number_literal) , (comma_expression "_false> *shdr,\n          Output_section *data_section,Relocatable_relocs *rr" (binary_expression "_false> *shdr" identifier > (pointer_expression "*shdr" * identifier)) , (comma_expression "Output_section *data_section,Relocatable_relocs *rr" (binary_expression "Output_section *data_section" identifier * identifier) , (binary_expression "Relocatable_relocs *rr" identifier * identifier)))))))) )))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  Elf_Word type;\n  size_t sVar3;\n  Output_section_data *posd;\n  char *pcVar4;\n  int unaff_EDI;\n  uint64_t uVar5;\n  uint uVar6;\n  Relocatable_relocs *in_stack_ffffffb4;\n  Output_data *posd_00;\n  Output_section *local_40;\n  string name;\n  \n  __x86_get_pc_thunk_di();\n  iVar2 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf));\n  }\n  if ((*(char *)(iVar2 + 0x318d) == '\0') && (*(char *)(iVar2 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  type = shdr->p_->sh_type;\n  name._M_string_length = 0;\n  posd_00 = (Output_data *)&name.field_2;\n  name.field_2._M_local_buf[0] = '\0';\n  name._M_dataplus._M_p = (pointer)posd_00;\n  if (type == 9) {\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfd6);\n    uVar6 = 4;\n  }\n  else {\n    if (type != 4) goto LAB_000baff7;\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);\n    uVar6 = 5;\n  }\n                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */\n  std::string::_M_replace((string *)&name,0,0,pcVar4,uVar6);\n  pcVar4 = data_section->name_;\n  sVar3 = strlen(pcVar4);\n  if (0x7fffffff - name._M_string_length < sVar3) {\n                    /* WARNING: Subroutine does not return */\n    std::__throw_length_error((char *)(unaff_EDI + 0x1e73e6));\n  }\n  std::string::_M_append((string *)&name,pcVar4,sVar3);\n  local_40 = data_section->reloc_section_;\n  if (local_40 == (Output_section *)0x0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0);\n    local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false);\n    if (((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);\n    }\n    local_40->field_0x90 = local_40->field_0x90 | 4;\n    if ((((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));\n    }\n    local_40->field_0x91 = local_40->field_0x91 | 1;\n    local_40->info_section_ = data_section;\n    data_section->reloc_section_ = local_40;\n  }\n  if (type == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    Output_section::set_entsize(local_40,8);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057);\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }\n  else {\n    if (type != 4) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }\n    Output_section::set_entsize(local_40,0xc);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }\n                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */\n  Output_section::add_output_section_data(local_40,posd);\n  if (rr->posd_ == (Output_data *)0x0) {\n    rr->posd_ = &posd->super_Output_data;\n    if ((Output_data *)name._M_dataplus._M_p != posd_00) {\n      operator_delete(name._M_dataplus._M_p);\n    }\n    return local_40;\n  }\n                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */\n  Relocatable_relocs::set_output_data(in_stack_ffffffb4,posd_00);\nLAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI);\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Elf_Word type;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "Output_section_data *posd;" type_identifier (pointer_declarator "*posd" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "uint64_t uVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "Relocatable_relocs *in_stack_ffffffb4;" type_identifier (pointer_declarator "*in_stack_ffffffb4" * identifier) ;) (declaration "Output_data *posd_00;" type_identifier (pointer_declarator "*posd_00" * identifier) ;) (declaration "Output_section *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "string name;" type_identifier identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);" (assignment_expression "iVar2 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" * (cast_expression "(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" ( (binary_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" * (cast_expression "(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DWORD_002f474c + unaff_EDI + 3)" ( (binary_expression "(int)&DWORD_002f474c + unaff_EDI + 3" (binary_expression "(int)&DWORD_002f474c + unaff_EDI" (cast_expression "(int)&DWORD_002f474c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DWORD_002f474c" & identifier)) + identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf));\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf));\n  }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf));" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf))" identifier (argument_list "((char *)(unaff_EDI + 0x1dd5b4),0x5c,(char *)(unaff_EDI + 0x1ec8cf))" ( (cast_expression "(char *)(unaff_EDI + 0x1dd5b4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1dd5b4)" ( (binary_expression "unaff_EDI + 0x1dd5b4" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1ec8cf)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1ec8cf)" ( (binary_expression "unaff_EDI + 0x1ec8cf" identifier + number_literal) ))) ))) ;) })) (if_statement "if ((*(char *)(iVar2 + 0x318d) == '\0') && (*(char *)(iVar2 + 0x3095) == '\0')) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI);\n  }" if (parenthesized_expression "((*(char *)(iVar2 + 0x318d) == '\0') && (*(char *)(iVar2 + 0x3095) == '\0'))" ( (binary_expression "(*(char *)(iVar2 + 0x318d) == '\0') && (*(char *)(iVar2 + 0x3095) == '\0')" (parenthesized_expression "(*(char *)(iVar2 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x318d)" * (cast_expression "(char *)(iVar2 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x318d)" ( (binary_expression "iVar2 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x3095) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x3095) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x3095)" * (cast_expression "(char *)(iVar2 + 0x3095)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3095)" ( (binary_expression "iVar2 + 0x3095" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI);\n  }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI);" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x1eb33f),0x52d,&UNK_001ec347 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x1eb33f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1eb33f)" ( (binary_expression "unaff_EDI + 0x1eb33f" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) ))) ;) })) (expression_statement "type = shdr->p_->sh_type;" (assignment_expression "type = shdr->p_->sh_type" identifier = (field_expression "shdr->p_->sh_type" (field_expression "shdr->p_" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "name._M_string_length = 0;" (assignment_expression "name._M_string_length = 0" (field_expression "name._M_string_length" identifier . field_identifier) = number_literal) ;) (expression_statement "posd_00 = (Output_data *)&name.field_2;" (assignment_expression "posd_00 = (Output_data *)&name.field_2" identifier = (cast_expression "(Output_data *)&name.field_2" ( (type_descriptor "Output_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&name.field_2" & (field_expression "name.field_2" identifier . field_identifier)))) ;) (expression_statement "name.field_2._M_local_buf[0] = '\0';" (assignment_expression "name.field_2._M_local_buf[0] = '\0'" (subscript_expression "name.field_2._M_local_buf[0]" (field_expression "name.field_2._M_local_buf" (field_expression "name.field_2" identifier . field_identifier) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "name._M_dataplus._M_p = (pointer)posd_00;" (assignment_expression "name._M_dataplus._M_p = (pointer)posd_00" (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)posd_00" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (if_statement "if (type == 9) {\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfd6);\n    uVar6 = 4;\n  }\n  else {\n    if (type != 4) goto LAB_000baff7;\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);\n    uVar6 = 5;\n  }" if (parenthesized_expression "(type == 9)" ( (binary_expression "type == 9" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfd6);\n    uVar6 = 4;\n  }" { (expression_statement "pcVar4 = (char *)(unaff_EDI + 0x1ebfd6);" (assignment_expression "pcVar4 = (char *)(unaff_EDI + 0x1ebfd6)" identifier = (cast_expression "(char *)(unaff_EDI + 0x1ebfd6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1ebfd6)" ( (binary_expression "unaff_EDI + 0x1ebfd6" identifier + number_literal) )))) ;) (expression_statement "uVar6 = 4;" (assignment_expression "uVar6 = 4" identifier = number_literal) ;) }) (else_clause "else {\n    if (type != 4) goto LAB_000baff7;\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);\n    uVar6 = 5;\n  }" else (compound_statement "{\n    if (type != 4) goto LAB_000baff7;\n    pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);\n    uVar6 = 5;\n  }" { (if_statement "if (type != 4) goto LAB_000baff7;" if (parenthesized_expression "(type != 4)" ( (binary_expression "type != 4" identifier != number_literal) )) (goto_statement "goto LAB_000baff7;" goto statement_identifier ;)) (expression_statement "pcVar4 = (char *)(unaff_EDI + 0x1ebfdb);" (assignment_expression "pcVar4 = (char *)(unaff_EDI + 0x1ebfdb)" identifier = (cast_expression "(char *)(unaff_EDI + 0x1ebfdb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1ebfdb)" ( (binary_expression "unaff_EDI + 0x1ebfdb" identifier + number_literal) )))) ;) (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" identifier = number_literal) ;) }))) comment (labeled_statement "std::string::_M_replace((string *)&name,0,0,pcVar4,uVar6);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace((string *)&name,0,0,pcVar4,uVar6);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace((string *)&name,0,0,pcVar4,uVar6);" (call_expression "_M_replace((string *)&name,0,0,pcVar4,uVar6)" identifier (argument_list "((string *)&name,0,0,pcVar4,uVar6)" ( (cast_expression "(string *)&name" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&name" & identifier)) , number_literal , number_literal , identifier , identifier ))) ;))) (expression_statement "pcVar4 = data_section->name_;" (assignment_expression "pcVar4 = data_section->name_" identifier = (field_expression "data_section->name_" identifier -> field_identifier)) ;) (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (if_statement "if (0x7fffffff - name._M_string_length < sVar3) {\n                    /* WARNING: Subroutine does not return */\n    std::__throw_length_error((char *)(unaff_EDI + 0x1e73e6));\n  }" if (parenthesized_expression "(0x7fffffff - name._M_string_length < sVar3)" ( (binary_expression "0x7fffffff - name._M_string_length < sVar3" (binary_expression "0x7fffffff - name._M_string_length" number_literal - (field_expression "name._M_string_length" identifier . field_identifier)) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    std::__throw_length_error((char *)(unaff_EDI + 0x1e73e6));\n  }" { comment (labeled_statement "std::__throw_length_error((char *)(unaff_EDI + 0x1e73e6));" statement_identifier : (ERROR ":" :) (expression_statement "__throw_length_error((char *)(unaff_EDI + 0x1e73e6));" (call_expression "__throw_length_error((char *)(unaff_EDI + 0x1e73e6))" identifier (argument_list "((char *)(unaff_EDI + 0x1e73e6))" ( (cast_expression "(char *)(unaff_EDI + 0x1e73e6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1e73e6)" ( (binary_expression "unaff_EDI + 0x1e73e6" identifier + number_literal) ))) ))) ;)) })) (labeled_statement "std::string::_M_append((string *)&name,pcVar4,sVar3);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_append((string *)&name,pcVar4,sVar3);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append((string *)&name,pcVar4,sVar3);" (call_expression "_M_append((string *)&name,pcVar4,sVar3)" identifier (argument_list "((string *)&name,pcVar4,sVar3)" ( (cast_expression "(string *)&name" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&name" & identifier)) , identifier , identifier ))) ;))) (expression_statement "local_40 = data_section->reloc_section_;" (assignment_expression "local_40 = data_section->reloc_section_" identifier = (field_expression "data_section->reloc_section_" identifier -> field_identifier)) ;) (if_statement "if (local_40 == (Output_section *)0x0) {\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0);\n    local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false);\n    if (((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);\n    }\n    local_40->field_0x90 = local_40->field_0x90 | 4;\n    if ((((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));\n    }\n    local_40->field_0x91 = local_40->field_0x91 | 1;\n    local_40->info_section_ = data_section;\n    data_section->reloc_section_ = local_40;\n  }" if (parenthesized_expression "(local_40 == (Output_section *)0x0)" ( (binary_expression "local_40 == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */\n    pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0);\n    local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false);\n    if (((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);\n    }\n    local_40->field_0x90 = local_40->field_0x90 | 4;\n    if ((((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));\n    }\n    local_40->field_0x91 = local_40->field_0x91 | 1;\n    local_40->info_section_ = data_section;\n    data_section->reloc_section_ = local_40;\n  }" { comment (expression_statement "pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0);" (assignment_expression "pcVar4 = Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0)" identifier = (binary_expression "Stringpool_template<char>::add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "add(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0)" identifier (argument_list "(&this->namepool_,name._M_dataplus._M_p,true,(Key *)0x0)" ( (pointer_expression "&this->namepool_" & (field_expression "this->namepool_" identifier -> field_identifier)) , (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) , true , (cast_expression "(Key *)0x0" ( (type_descriptor "Key *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))))) ;) (expression_statement "local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false);" (assignment_expression "local_40 = make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false)" identifier = (call_expression "make_output_section(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false)" identifier (argument_list "(this,pcVar4,type,(ulonglong)shdr->p_->sh_flags,ORDER_INVALID,\n                                   false)" ( identifier , identifier , identifier , (cast_expression "(ulonglong)shdr->p_->sh_flags" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "shdr->p_->sh_flags" (field_expression "shdr->p_" identifier -> field_identifier) -> field_identifier)) , identifier , false )))) ;) (if_statement "if (((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);\n    }" if (parenthesized_expression "(((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0))" ( (binary_expression "((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)) ||\n       ((local_40->field_0x90 & 8) != 0)" (parenthesized_expression "((local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0))" ( (binary_expression "(local_40->link_section_ != (Output_data *)0x0) || (local_40->link_ != 0)" (parenthesized_expression "(local_40->link_section_ != (Output_data *)0x0)" ( (binary_expression "local_40->link_section_ != (Output_data *)0x0" (field_expression "local_40->link_section_" identifier -> field_identifier) != (cast_expression "(Output_data *)0x0" ( (type_descriptor "Output_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(local_40->link_ != 0)" ( (binary_expression "local_40->link_ != 0" (field_expression "local_40->link_" identifier -> field_identifier) != number_literal) ))) )) || (parenthesized_expression "((local_40->field_0x90 & 8) != 0)" ( (binary_expression "(local_40->field_0x90 & 8) != 0" (parenthesized_expression "(local_40->field_0x90 & 8)" ( (binary_expression "local_40->field_0x90 & 8" (field_expression "local_40->field_0x90" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);\n    }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI);" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x1e26b8),0xd1b,&UNK_001ec32b + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x1e26b8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1e26b8)" ( (binary_expression "unaff_EDI + 0x1e26b8" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_001ec32b + unaff_EDI" (pointer_expression "&UNK_001ec32b" & identifier) + identifier) ))) ;) })) (expression_statement "local_40->field_0x90 = local_40->field_0x90 | 4;" (assignment_expression "local_40->field_0x90 = local_40->field_0x90 | 4" (field_expression "local_40->field_0x90" identifier -> field_identifier) = (binary_expression "local_40->field_0x90 | 4" (field_expression "local_40->field_0x90" identifier -> field_identifier) | number_literal)) ;) (if_statement "if ((((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));\n    }" if (parenthesized_expression "((((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0))" ( (binary_expression "(((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)) || (local_40->info_ != 0)" (parenthesized_expression "(((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0))" ( (binary_expression "((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))) ||\n        (local_40->info_symndx_ != (Symbol *)0x0)" (parenthesized_expression "((local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0))))" ( (binary_expression "(local_40->info_section_ != (Output_section *)0x0) &&\n         ((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))" (parenthesized_expression "(local_40->info_section_ != (Output_section *)0x0)" ( (binary_expression "local_40->info_section_ != (Output_section *)0x0" (field_expression "local_40->info_section_" identifier -> field_identifier) != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)))" ( (parenthesized_expression "(data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0))" ( (binary_expression "data_section != local_40->info_section_ || ((local_40->field_0x91 & 1) == 0)" (binary_expression "data_section != local_40->info_section_" identifier != (field_expression "local_40->info_section_" identifier -> field_identifier)) || (parenthesized_expression "((local_40->field_0x91 & 1) == 0)" ( (binary_expression "(local_40->field_0x91 & 1) == 0" (parenthesized_expression "(local_40->field_0x91 & 1)" ( (binary_expression "local_40->field_0x91 & 1" (field_expression "local_40->field_0x91" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) ))) )) || (parenthesized_expression "(local_40->info_symndx_ != (Symbol *)0x0)" ( (binary_expression "local_40->info_symndx_ != (Symbol *)0x0" (field_expression "local_40->info_symndx_" identifier -> field_identifier) != (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(local_40->info_ != 0)" ( (binary_expression "local_40->info_ != 0" (field_expression "local_40->info_" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));\n    }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317));" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317))" identifier (argument_list "((char *)(unaff_EDI + 0x1e26b8),0xd3a,(char *)(unaff_EDI + 0x1ec317))" ( (cast_expression "(char *)(unaff_EDI + 0x1e26b8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1e26b8)" ( (binary_expression "unaff_EDI + 0x1e26b8" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1ec317)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1ec317)" ( (binary_expression "unaff_EDI + 0x1ec317" identifier + number_literal) ))) ))) ;) })) (expression_statement "local_40->field_0x91 = local_40->field_0x91 | 1;" (assignment_expression "local_40->field_0x91 = local_40->field_0x91 | 1" (field_expression "local_40->field_0x91" identifier -> field_identifier) = (binary_expression "local_40->field_0x91 | 1" (field_expression "local_40->field_0x91" identifier -> field_identifier) | number_literal)) ;) (expression_statement "local_40->info_section_ = data_section;" (assignment_expression "local_40->info_section_ = data_section" (field_expression "local_40->info_section_" identifier -> field_identifier) = identifier) ;) (expression_statement "data_section->reloc_section_ = local_40;" (assignment_expression "data_section->reloc_section_ = local_40" (field_expression "data_section->reloc_section_" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (type == 9) {\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    Output_section::set_entsize(local_40,8);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057);\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }\n  else {\n    if (type != 4) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }\n    Output_section::set_entsize(local_40,0xc);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }" if (parenthesized_expression "(type == 9)" ( (binary_expression "type == 9" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */\n    Output_section::set_entsize(local_40,8);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057);\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }" { comment (labeled_statement "Output_section::set_entsize(local_40,8);" statement_identifier : (ERROR ":" :) (expression_statement "set_entsize(local_40,8);" (call_expression "set_entsize(local_40,8)" identifier (argument_list "(local_40,8)" ( identifier , number_literal ))) ;)) (expression_statement "posd = (Output_section_data *)operator_new(0x30);" (assignment_expression "posd = (Output_section_data *)operator_new(0x30)" identifier = (cast_expression "(Output_section_data *)operator_new(0x30)" ( (type_descriptor "Output_section_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) comment (ERROR "uVar5 = Output_data::" (assignment_expression "uVar5 = Output_data" identifier = identifier) : :) (expression_statement "default_alignment_for_size(0x20);" (call_expression "default_alignment_for_size(0x20)" identifier (argument_list "(0x20)" ( number_literal ))) ;) (expression_statement "*(int *)&posd->addralign_ = (int)uVar5;" (assignment_expression "*(int *)&posd->addralign_ = (int)uVar5" (pointer_expression "*(int *)&posd->addralign_" * (cast_expression "(int *)&posd->addralign_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&posd->addralign_" & (field_expression "posd->addralign_" identifier -> field_identifier)))) = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "(posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057);" (assignment_expression "(posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef057)" (field_expression "(posd->super_Output_data)._vptr_Output_data" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)(unaff_EDI + 0x2ef057)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x2ef057)" ( (binary_expression "unaff_EDI + 0x2ef057" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).address_ = 0;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).address_ = 0" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).address_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).address_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).address_" & (field_expression "(posd->super_Output_data).address_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).address_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).address_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).address_ + 4" (cast_expression "(int)&(posd->super_Output_data).address_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).address_" & (field_expression "(posd->super_Output_data).address_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).data_size_ = 0;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).data_size_ = 0" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).data_size_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).data_size_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).data_size_" & (field_expression "(posd->super_Output_data).data_size_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).data_size_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).data_size_ + 4" (cast_expression "(int)&(posd->super_Output_data).data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).data_size_" & (field_expression "(posd->super_Output_data).data_size_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).offset_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).offset_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).offset_" & (field_expression "(posd->super_Output_data).offset_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).offset_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).offset_ + 4" (cast_expression "(int)&(posd->super_Output_data).offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).offset_" & (field_expression "(posd->super_Output_data).offset_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = &(posd->super_Output_data).field_0x1c;" (assignment_expression "puVar1 = &(posd->super_Output_data).field_0x1c" identifier = (pointer_expression "&(posd->super_Output_data).field_0x1c" & (field_expression "(posd->super_Output_data).field_0x1c" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 & 0xe0;" (assignment_expression "*puVar1 = *puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "posd->output_section_ = (Output_section *)0x0;" (assignment_expression "posd->output_section_ = (Output_section *)0x0" (field_expression "posd->output_section_" identifier -> field_identifier) = (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);" (assignment_expression "*(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20)" (pointer_expression "*(int *)((int)&posd->addralign_ + 4)" * (cast_expression "(int *)((int)&posd->addralign_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&posd->addralign_ + 4)" ( (binary_expression "(int)&posd->addralign_ + 4" (cast_expression "(int)&posd->addralign_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&posd->addralign_" & (field_expression "posd->addralign_" identifier -> field_identifier))) + number_literal) )))) = (cast_expression "(int)(uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x20)" ( (binary_expression "uVar5 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;" (assignment_expression "posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr" (field_expression "posd[1].super_Output_data._vptr_Output_data" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)rr" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) }) (else_clause "else {\n    if (type != 4) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }\n    Output_section::set_entsize(local_40,0xc);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }" else (compound_statement "{\n    if (type != 4) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }\n    Output_section::set_entsize(local_40,0xc);\n    posd = (Output_section_data *)operator_new(0x30);\n                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */\n    uVar5 = Output_data::default_alignment_for_size(0x20);\n    *(int *)&posd->addralign_ = (int)uVar5;\n    (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);\n    puVar1 = &(posd->super_Output_data).field_0x1c;\n    *puVar1 = *puVar1 & 0xe0;\n    *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n    *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n    *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n    *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n    posd->output_section_ = (Output_section *)0x0;\n    *(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);\n    posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;\n  }" { (if_statement "if (type != 4) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }" if (parenthesized_expression "(type != 4)" ( (binary_expression "type != 4" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);\n    }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI);" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x1eb33f),0x557,&UNK_001ec347 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x1eb33f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1eb33f)" ( (binary_expression "unaff_EDI + 0x1eb33f" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) ))) ;) })) (labeled_statement "Output_section::set_entsize(local_40,0xc);" statement_identifier : (ERROR ":" :) (expression_statement "set_entsize(local_40,0xc);" (call_expression "set_entsize(local_40,0xc)" identifier (argument_list "(local_40,0xc)" ( identifier , number_literal ))) ;)) (expression_statement "posd = (Output_section_data *)operator_new(0x30);" (assignment_expression "posd = (Output_section_data *)operator_new(0x30)" identifier = (cast_expression "(Output_section_data *)operator_new(0x30)" ( (type_descriptor "Output_section_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) comment (ERROR "uVar5 = Output_data::" (assignment_expression "uVar5 = Output_data" identifier = identifier) : :) (expression_statement "default_alignment_for_size(0x20);" (call_expression "default_alignment_for_size(0x20)" identifier (argument_list "(0x20)" ( number_literal ))) ;) (expression_statement "*(int *)&posd->addralign_ = (int)uVar5;" (assignment_expression "*(int *)&posd->addralign_ = (int)uVar5" (pointer_expression "*(int *)&posd->addralign_" * (cast_expression "(int *)&posd->addralign_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&posd->addralign_" & (field_expression "posd->addralign_" identifier -> field_identifier)))) = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "(posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3);" (assignment_expression "(posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x2ef0c3)" (field_expression "(posd->super_Output_data)._vptr_Output_data" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)(unaff_EDI + 0x2ef0c3)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x2ef0c3)" ( (binary_expression "unaff_EDI + 0x2ef0c3" identifier + number_literal) )))) ;) (expression_statement "puVar1 = &(posd->super_Output_data).field_0x1c;" (assignment_expression "puVar1 = &(posd->super_Output_data).field_0x1c" identifier = (pointer_expression "&(posd->super_Output_data).field_0x1c" & (field_expression "(posd->super_Output_data).field_0x1c" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 & 0xe0;" (assignment_expression "*puVar1 = *puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).address_ = 0;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).address_ = 0" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).address_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).address_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).address_" & (field_expression "(posd->super_Output_data).address_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).address_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).address_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).address_ + 4" (cast_expression "(int)&(posd->super_Output_data).address_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).address_" & (field_expression "(posd->super_Output_data).address_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).data_size_ = 0;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).data_size_ = 0" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).data_size_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).data_size_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).data_size_" & (field_expression "(posd->super_Output_data).data_size_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).data_size_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).data_size_ + 4" (cast_expression "(int)&(posd->super_Output_data).data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).data_size_" & (field_expression "(posd->super_Output_data).data_size_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).offset_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).offset_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).offset_" & (field_expression "(posd->super_Output_data).offset_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).offset_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).offset_ + 4" (cast_expression "(int)&(posd->super_Output_data).offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).offset_" & (field_expression "(posd->super_Output_data).offset_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "posd->output_section_ = (Output_section *)0x0;" (assignment_expression "posd->output_section_ = (Output_section *)0x0" (field_expression "posd->output_section_" identifier -> field_identifier) = (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20);" (assignment_expression "*(int *)((int)&posd->addralign_ + 4) = (int)(uVar5 >> 0x20)" (pointer_expression "*(int *)((int)&posd->addralign_ + 4)" * (cast_expression "(int *)((int)&posd->addralign_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&posd->addralign_ + 4)" ( (binary_expression "(int)&posd->addralign_ + 4" (cast_expression "(int)&posd->addralign_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&posd->addralign_" & (field_expression "posd->addralign_" identifier -> field_identifier))) + number_literal) )))) = (cast_expression "(int)(uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x20)" ( (binary_expression "uVar5 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr;" (assignment_expression "posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)rr" (field_expression "posd[1].super_Output_data._vptr_Output_data" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)rr" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) }))) comment (labeled_statement "Output_section::add_output_section_data(local_40,posd);" statement_identifier : (ERROR ":" :) (expression_statement "add_output_section_data(local_40,posd);" (call_expression "add_output_section_data(local_40,posd)" identifier (argument_list "(local_40,posd)" ( identifier , identifier ))) ;)) (if_statement "if (rr->posd_ == (Output_data *)0x0) {\n    rr->posd_ = &posd->super_Output_data;\n    if ((Output_data *)name._M_dataplus._M_p != posd_00) {\n      operator_delete(name._M_dataplus._M_p);\n    }\n    return local_40;\n  }" if (parenthesized_expression "(rr->posd_ == (Output_data *)0x0)" ( (binary_expression "rr->posd_ == (Output_data *)0x0" (field_expression "rr->posd_" identifier -> field_identifier) == (cast_expression "(Output_data *)0x0" ( (type_descriptor "Output_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    rr->posd_ = &posd->super_Output_data;\n    if ((Output_data *)name._M_dataplus._M_p != posd_00) {\n      operator_delete(name._M_dataplus._M_p);\n    }\n    return local_40;\n  }" { (expression_statement "rr->posd_ = &posd->super_Output_data;" (assignment_expression "rr->posd_ = &posd->super_Output_data" (field_expression "rr->posd_" identifier -> field_identifier) = (pointer_expression "&posd->super_Output_data" & (field_expression "posd->super_Output_data" identifier -> field_identifier))) ;) (if_statement "if ((Output_data *)name._M_dataplus._M_p != posd_00) {\n      operator_delete(name._M_dataplus._M_p);\n    }" if (parenthesized_expression "((Output_data *)name._M_dataplus._M_p != posd_00)" ( (binary_expression "(Output_data *)name._M_dataplus._M_p != posd_00" (cast_expression "(Output_data *)name._M_dataplus._M_p" ( (type_descriptor "Output_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier)) != identifier) )) (compound_statement "{\n      operator_delete(name._M_dataplus._M_p);\n    }" { (expression_statement "operator_delete(name._M_dataplus._M_p);" (call_expression "operator_delete(name._M_dataplus._M_p)" identifier (argument_list "(name._M_dataplus._M_p)" ( (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return local_40;" return identifier ;) })) comment (labeled_statement "Relocatable_relocs::set_output_data(in_stack_ffffffb4,posd_00);" statement_identifier : (ERROR ":" :) (expression_statement "set_output_data(in_stack_ffffffb4,posd_00);" (call_expression "set_output_data(in_stack_ffffffb4,posd_00)" identifier (argument_list "(in_stack_ffffffb4,posd_00)" ( identifier , identifier ))) ;)) (labeled_statement "LAB_000baff7:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI);" statement_identifier : comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI);" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x1eb33f),0x537,&UNK_001ec347 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x1eb33f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1eb33f)" ( (binary_expression "unaff_EDI + 0x1eb33f" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) ))) ;)) }))
(translation_unit "int FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)\n\n{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    \n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    \n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    \n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}\n\n" (function_definition "int FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)\n\n{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    \n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    \n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    \n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}" primitive_type (function_declarator "FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    \n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    \n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    \n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX_01;" type_identifier identifier ;) (declaration "undefined4 extraout_ECX_02;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "FUN_000644be();" (call_expression "FUN_000644be()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);" (assignment_expression "iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" * (cast_expression "(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" ( (binary_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" * (cast_expression "(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DWORD_002f474c + unaff_EDI + 3)" ( (binary_expression "(int)&DWORD_002f474c + unaff_EDI + 3" (binary_expression "(int)&DWORD_002f474c + unaff_EDI" (cast_expression "(int)&DWORD_002f474c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DWORD_002f474c" & identifier)) + identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }" { (expression_statement "FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);" (call_expression "FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf)" identifier (argument_list "(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf)" ( (binary_expression "unaff_EDI + 0x1dd5b4" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x1ec8cf" identifier + number_literal) ))) ;) })) (if_statement "if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }" if (parenthesized_expression "((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0'))" ( (binary_expression "(*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')" (parenthesized_expression "(*(char *)(iVar1 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x318d)" * (cast_expression "(char *)(iVar1 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x318d)" ( (binary_expression "iVar1 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(iVar1 + 0x3095) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x3095) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x3095)" * (cast_expression "(char *)(iVar1 + 0x3095)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3095)" ( (binary_expression "iVar1 + 0x3095" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }" { (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI)" identifier (argument_list "(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI)" ( (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" & identifier) + identifier) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) ))) ;) })) (expression_statement "iVar1 = *(int *)(*param_4 + 4);" (assignment_expression "iVar1 = *(int *)(*param_4 + 4)" identifier = (pointer_expression "*(int *)(*param_4 + 4)" * (cast_expression "(int *)(*param_4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_4 + 4)" ( (binary_expression "*param_4 + 4" (pointer_expression "*param_4" * identifier) + number_literal) ))))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" if (parenthesized_expression "(iVar1 == 9)" ( (binary_expression "iVar1 == 9" identifier == number_literal) )) (compound_statement "{\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }" { (expression_statement "iVar4 = unaff_EDI + 0x1ebfd6;" (assignment_expression "iVar4 = unaff_EDI + 0x1ebfd6" identifier = (binary_expression "unaff_EDI + 0x1ebfd6" identifier + number_literal)) ;) (expression_statement "uVar6 = 4;" (assignment_expression "uVar6 = 4" identifier = number_literal) ;) }) (else_clause "else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" else (compound_statement "{\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" { (expression_statement "uVar6 = extraout_ECX;" (assignment_expression "uVar6 = extraout_ECX" identifier = identifier) ;) (if_statement "if (iVar1 != 4) goto LAB_000baff7;" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (goto_statement "goto LAB_000baff7;" goto statement_identifier ;)) (expression_statement "iVar4 = unaff_EDI + 0x1ebfdb;" (assignment_expression "iVar4 = unaff_EDI + 0x1ebfdb" identifier = (binary_expression "unaff_EDI + 0x1ebfdb" identifier + number_literal)) ;) (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" identifier = number_literal) ;) }))) (expression_statement "FUN_00207c70(&local_34,0,0,iVar4,uVar6);" (call_expression "FUN_00207c70(&local_34,0,0,iVar4,uVar6)" identifier (argument_list "(&local_34,0,0,iVar4,uVar6)" ( (pointer_expression "&local_34" & identifier) , number_literal , number_literal , identifier , identifier ))) ;) (expression_statement "__s = *(char **)(param_5 + 0x20);" (assignment_expression "__s = *(char **)(param_5 + 0x20)" identifier = (pointer_expression "*(char **)(param_5 + 0x20)" * (cast_expression "(char **)(param_5 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_5 + 0x20)" ( (binary_expression "param_5 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }" if (parenthesized_expression "(0x7fffffffU - local_30 < sVar2)" ( (binary_expression "0x7fffffffU - local_30 < sVar2" (binary_expression "0x7fffffffU - local_30" number_literal - identifier) < identifier) )) (compound_statement "{\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }" { (expression_statement "FUN_00244a20(unaff_EDI + 0x1e73e6);" (call_expression "FUN_00244a20(unaff_EDI + 0x1e73e6)" identifier (argument_list "(unaff_EDI + 0x1e73e6)" ( (binary_expression "unaff_EDI + 0x1e73e6" identifier + number_literal) ))) ;) })) (expression_statement "FUN_00208840(&local_34,__s,sVar2);" (call_expression "FUN_00208840(&local_34,__s,sVar2)" identifier (argument_list "(&local_34,__s,sVar2)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier ))) ;) (expression_statement "iVar4 = extraout_ECX_00;" (assignment_expression "iVar4 = extraout_ECX_00" identifier = identifier) ;) (expression_statement "local_40 = *(int *)(param_5 + 0xe4);" (assignment_expression "local_40 = *(int *)(param_5 + 0xe4)" identifier = (pointer_expression "*(int *)(param_5 + 0xe4)" * (cast_expression "(int *)(param_5 + 0xe4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xe4)" ( (binary_expression "param_5 + 0xe4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }" if (parenthesized_expression "(*(int *)(param_5 + 0xe4) == 0)" ( (binary_expression "*(int *)(param_5 + 0xe4) == 0" (pointer_expression "*(int *)(param_5 + 0xe4)" * (cast_expression "(int *)(param_5 + 0xe4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xe4)" ( (binary_expression "param_5 + 0xe4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }" { (expression_statement "uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);" (assignment_expression "uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0)" identifier = (call_expression "FUN_00187d90(param_1 + 8,local_34,1,0)" identifier (argument_list "(param_1 + 8,local_34,1,0)" ( (binary_expression "param_1 + 8" identifier + number_literal) , identifier , number_literal , number_literal )))) ;) (expression_statement "iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);" (assignment_expression "iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" identifier = (call_expression "FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" identifier (argument_list "(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*param_4 + 8)" * (cast_expression "(undefined4 *)(*param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_4 + 8)" ( (binary_expression "*param_4 + 8" (pointer_expression "*param_4" * identifier) + number_literal) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }" if (parenthesized_expression "(((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0))" ( (binary_expression "((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)" (parenthesized_expression "((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0))" ( (binary_expression "(*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)" (parenthesized_expression "(*(int *)(iVar4 + 0x3c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x3c) != 0" (pointer_expression "*(int *)(iVar4 + 0x3c)" * (cast_expression "(int *)(iVar4 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x40) != 0" (pointer_expression "*(int *)(iVar4 + 0x40)" * (cast_expression "(int *)(iVar4 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "((*(byte *)(iVar4 + 0x90) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar4 + 0x90) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x90) & 8)" ( (binary_expression "*(byte *)(iVar4 + 0x90) & 8" (pointer_expression "*(byte *)(iVar4 + 0x90)" * (cast_expression "(byte *)(iVar4 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x90)" ( (binary_expression "iVar4 + 0x90" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }" { (expression_statement "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);" (call_expression "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01)" identifier (argument_list "(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01)" ( (binary_expression "unaff_EDI + 0x1e26b8" identifier + number_literal) , number_literal , (binary_expression "&UNK_001ec32b + unaff_EDI" (pointer_expression "&UNK_001ec32b" & identifier) + identifier) , identifier ))) ;) })) (expression_statement "*(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;" (assignment_expression "*(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4" (pointer_expression "*(byte *)(iVar4 + 0x90)" * (cast_expression "(byte *)(iVar4 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x90)" ( (binary_expression "iVar4 + 0x90" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 0x90) | 4" (pointer_expression "*(byte *)(iVar4 + 0x90)" * (cast_expression "(byte *)(iVar4 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x90)" ( (binary_expression "iVar4 + 0x90" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }" if (parenthesized_expression "((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0))" ( (binary_expression "(((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)" (parenthesized_expression "(((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0))" ( (binary_expression "((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)" (parenthesized_expression "((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0))))" ( (binary_expression "(*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))" (parenthesized_expression "(*(int *)(iVar4 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x44) != 0" (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))" ( (parenthesized_expression "(param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0))" ( (binary_expression "param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)" (binary_expression "param_5 != *(int *)(iVar4 + 0x44)" identifier != (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) ))))) || (parenthesized_expression "((*(byte *)(iVar4 + 0x91) & 1) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 0x91) & 1) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x91) & 1)" ( (binary_expression "*(byte *)(iVar4 + 0x91) & 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" * (cast_expression "(byte *)(iVar4 + 0x91)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x91)" ( (binary_expression "iVar4 + 0x91" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x48) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x48) != 0" (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x4c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x4c) != 0" (pointer_expression "*(int *)(iVar4 + 0x4c)" * (cast_expression "(int *)(iVar4 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x4c)" ( (binary_expression "iVar4 + 0x4c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }" { (expression_statement "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);" (call_expression "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0)" identifier (argument_list "(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0)" ( (binary_expression "unaff_EDI + 0x1e26b8" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x1ec317" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "*(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;" (assignment_expression "*(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" * (cast_expression "(byte *)(iVar4 + 0x91)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x91)" ( (binary_expression "iVar4 + 0x91" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 0x91) | 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" * (cast_expression "(byte *)(iVar4 + 0x91)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x91)" ( (binary_expression "iVar4 + 0x91" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x44) = param_5;" (assignment_expression "*(int *)(iVar4 + 0x44) = param_5" (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_5 + 0xe4) = iVar4;" (assignment_expression "*(int *)(param_5 + 0xe4) = iVar4" (pointer_expression "*(int *)(param_5 + 0xe4)" * (cast_expression "(int *)(param_5 + 0xe4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xe4)" ( (binary_expression "param_5 + 0xe4" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_40 = iVar4;" (assignment_expression "local_40 = iVar4" identifier = identifier) ;) })) (if_statement "if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" if (parenthesized_expression "(iVar1 == 9)" ( (binary_expression "iVar1 == 9" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" { (expression_statement "FUN_001040d0(local_40,8,0);" (call_expression "FUN_001040d0(local_40,8,0)" identifier (argument_list "(local_40,8,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "piVar3 = (int *)FUN_001fd480(0x30);" (assignment_expression "piVar3 = (int *)FUN_001fd480(0x30)" identifier = (cast_expression "(int *)FUN_001fd480(0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fd480(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "uVar5 = FUN_00103540(0x20);" (assignment_expression "uVar5 = FUN_00103540(0x20)" identifier = (call_expression "FUN_00103540(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar3[9] = (int)uVar5;" (assignment_expression "piVar3[9] = (int)uVar5" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar3 = unaff_EDI + 0x2ef057;" (assignment_expression "*piVar3 = unaff_EDI + 0x2ef057" (pointer_expression "*piVar3" * identifier) = (binary_expression "unaff_EDI + 0x2ef057" identifier + number_literal)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20)" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3[0xb] = param_6;" (assignment_expression "piVar3[0xb] = param_6" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" else (compound_statement "{\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" { (if_statement "if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }" { (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4)" identifier (argument_list "(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4)" ( (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" & identifier) + identifier) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) , identifier ))) ;) })) (expression_statement "FUN_001040d0(local_40,0xc,0);" (call_expression "FUN_001040d0(local_40,0xc,0)" identifier (argument_list "(local_40,0xc,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "piVar3 = (int *)FUN_001fd480(0x30);" (assignment_expression "piVar3 = (int *)FUN_001fd480(0x30)" identifier = (cast_expression "(int *)FUN_001fd480(0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fd480(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "uVar5 = FUN_00103540(0x20);" (assignment_expression "uVar5 = FUN_00103540(0x20)" identifier = (call_expression "FUN_00103540(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar3[9] = (int)uVar5;" (assignment_expression "piVar3[9] = (int)uVar5" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar3 = unaff_EDI + 0x2ef0c3;" (assignment_expression "*piVar3 = unaff_EDI + 0x2ef0c3" (pointer_expression "*piVar3" * identifier) = (binary_expression "unaff_EDI + 0x2ef0c3" identifier + number_literal)) ;) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20)" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3[0xb] = param_6;" (assignment_expression "piVar3[0xb] = param_6" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "FUN_00108240(local_40,piVar3);" (call_expression "FUN_00108240(local_40,piVar3)" identifier (argument_list "(local_40,piVar3)" ( identifier , identifier ))) ;) (if_statement "if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }" if (parenthesized_expression "(*(int *)(param_6 + 0x10) == 0)" ( (binary_expression "*(int *)(param_6 + 0x10) == 0" (pointer_expression "*(int *)(param_6 + 0x10)" * (cast_expression "(int *)(param_6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 0x10)" ( (binary_expression "param_6 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }" { (expression_statement "*(int **)(param_6 + 0x10) = piVar3;" (assignment_expression "*(int **)(param_6 + 0x10) = piVar3" (pointer_expression "*(int **)(param_6 + 0x10)" * (cast_expression "(int **)(param_6 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 0x10)" ( (binary_expression "param_6 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      FUN_001ff030(local_34);\n    }" { (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return local_40;" return identifier ;) })) (expression_statement "FUN_000aade0();" (call_expression "FUN_000aade0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = extraout_ECX_02;" (assignment_expression "uVar6 = extraout_ECX_02" identifier = identifier) ;) (labeled_statement "LAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);" statement_identifier : (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6)" identifier (argument_list "(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6)" ( (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" & identifier) + identifier) , number_literal , (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" & identifier) + identifier) , identifier ))) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;)) })))
(function_definition "int FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)\n\n{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    \n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    \n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    \n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}" (primitive_type "int") (function_declarator "FUN_000bacb0(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)" (identifier "FUN_000bacb0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                int param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  size_t sVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  int extraout_ECX_00;\n  undefined4 extraout_ECX_01;\n  undefined4 extraout_ECX_02;\n  int unaff_EDI;\n  undefined8 uVar5;\n  undefined4 uVar6;\n  int local_40;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000644be();\n  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);\n  if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }\n  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }\n  iVar1 = *(int *)(*param_4 + 4);\n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n  if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }\n                    \n  FUN_00207c70(&local_34,0,0,iVar4,uVar6);\n  __s = *(char **)(param_5 + 0x20);\n  sVar2 = strlen(__s);\n  if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }\n  FUN_00208840(&local_34,__s,sVar2);\n  iVar4 = extraout_ECX_00;\n  local_40 = *(int *)(param_5 + 0xe4);\n  if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }\n  if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n                    \n  FUN_00108240(local_40,piVar3);\n  if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }\n                    \n  FUN_000aade0();\n  uVar6 = extraout_ECX_02;\nLAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (declaration "int extraout_ECX_00;" (primitive_type "int") (identifier "extraout_ECX_00") (; ";")) (declaration "undefined4 extraout_ECX_01;" (type_identifier "undefined4") (identifier "extraout_ECX_01") (; ";")) (declaration "undefined4 extraout_ECX_02;" (type_identifier "undefined4") (identifier "extraout_ECX_02") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [28];" (type_identifier "undefined1") (array_declarator "local_2c [28]" (identifier "local_2c") ([ "[") (number_literal "28") (] "]")) (; ";")) (expression_statement "FUN_000644be();" (call_expression "FUN_000644be()" (identifier "FUN_000644be") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);" (assignment_expression "iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" (* "*") (cast_expression "(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8)" (( "(") (binary_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" (* "*") (cast_expression "(int *)((int)&DWORD_002f474c + unaff_EDI + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DWORD_002f474c + unaff_EDI + 3)" (( "(") (binary_expression "(int)&DWORD_002f474c + unaff_EDI + 3" (binary_expression "(int)&DWORD_002f474c + unaff_EDI" (cast_expression "(int)&DWORD_002f474c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DWORD_002f474c" (& "&") (identifier "DWORD_002f474c"))) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "3")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);\n  }" ({ "{") (expression_statement "FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);" (call_expression "FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf)" (identifier "FUN_0007d010") (argument_list "(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf)" (( "(") (binary_expression "unaff_EDI + 0x1dd5b4" (identifier "unaff_EDI") (+ "+") (number_literal "0x1dd5b4")) (, ",") (number_literal "0x5c") (, ",") (binary_expression "unaff_EDI + 0x1ec8cf" (identifier "unaff_EDI") (+ "+") (number_literal "0x1ec8cf")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0'))" (( "(") (binary_expression "(*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')" (parenthesized_expression "(*(char *)(iVar1 + 0x318d) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x318d)" (* "*") (cast_expression "(char *)(iVar1 + 0x318d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x318d)" (( "(") (binary_expression "iVar1 + 0x318d" (identifier "iVar1") (+ "+") (number_literal "0x318d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar1 + 0x3095) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x3095) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x3095)" (* "*") (cast_expression "(char *)(iVar1 + 0x3095)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3095)" (( "(") (binary_expression "iVar1 + 0x3095" (identifier "iVar1") (+ "+") (number_literal "0x3095")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);\n  }" ({ "{") (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI)" (identifier "FUN_0007d010") (argument_list "(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI)" (( "(") (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" (& "&") (identifier "UNK_001eb33f")) (+ "+") (identifier "unaff_EDI")) (, ",") (number_literal "0x52d") (, ",") (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" (& "&") (identifier "UNK_001ec347")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(*param_4 + 4);" (assignment_expression "iVar1 = *(int *)(*param_4 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*param_4 + 4)" (* "*") (cast_expression "(int *)(*param_4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_4 + 4)" (( "(") (binary_expression "*param_4 + 4" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (iVar1 == 9) {\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }\n  else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" (if "if") (parenthesized_expression "(iVar1 == 9)" (( "(") (binary_expression "iVar1 == 9" (identifier "iVar1") (== "==") (number_literal "9")) () ")")) (compound_statement "{\n    iVar4 = unaff_EDI + 0x1ebfd6;\n    uVar6 = 4;\n  }" ({ "{") (expression_statement "iVar4 = unaff_EDI + 0x1ebfd6;" (assignment_expression "iVar4 = unaff_EDI + 0x1ebfd6" (identifier "iVar4") (= "=") (binary_expression "unaff_EDI + 0x1ebfd6" (identifier "unaff_EDI") (+ "+") (number_literal "0x1ebfd6"))) (; ";")) (expression_statement "uVar6 = 4;" (assignment_expression "uVar6 = 4" (identifier "uVar6") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" (else "else") (compound_statement "{\n    uVar6 = extraout_ECX;\n    if (iVar1 != 4) goto LAB_000baff7;\n    iVar4 = unaff_EDI + 0x1ebfdb;\n    uVar6 = 5;\n  }" ({ "{") (expression_statement "uVar6 = extraout_ECX;" (assignment_expression "uVar6 = extraout_ECX" (identifier "uVar6") (= "=") (identifier "extraout_ECX")) (; ";")) (if_statement "if (iVar1 != 4) goto LAB_000baff7;" (if "if") (parenthesized_expression "(iVar1 != 4)" (( "(") (binary_expression "iVar1 != 4" (identifier "iVar1") (!= "!=") (number_literal "4")) () ")")) (goto_statement "goto LAB_000baff7;" (goto "goto") (statement_identifier "LAB_000baff7") (; ";"))) (expression_statement "iVar4 = unaff_EDI + 0x1ebfdb;" (assignment_expression "iVar4 = unaff_EDI + 0x1ebfdb" (identifier "iVar4") (= "=") (binary_expression "unaff_EDI + 0x1ebfdb" (identifier "unaff_EDI") (+ "+") (number_literal "0x1ebfdb"))) (; ";")) (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" (identifier "uVar6") (= "=") (number_literal "5")) (; ";")) (} "}")))) (expression_statement "FUN_00207c70(&local_34,0,0,iVar4,uVar6);" (call_expression "FUN_00207c70(&local_34,0,0,iVar4,uVar6)" (identifier "FUN_00207c70") (argument_list "(&local_34,0,0,iVar4,uVar6)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "iVar4") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "__s = *(char **)(param_5 + 0x20);" (assignment_expression "__s = *(char **)(param_5 + 0x20)" (identifier "__s") (= "=") (pointer_expression "*(char **)(param_5 + 0x20)" (* "*") (cast_expression "(char **)(param_5 + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_5 + 0x20)" (( "(") (binary_expression "param_5 + 0x20" (identifier "param_5") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" (identifier "sVar2") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (if_statement "if (0x7fffffffU - local_30 < sVar2) {\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }" (if "if") (parenthesized_expression "(0x7fffffffU - local_30 < sVar2)" (( "(") (binary_expression "0x7fffffffU - local_30 < sVar2" (binary_expression "0x7fffffffU - local_30" (number_literal "0x7fffffffU") (- "-") (identifier "local_30")) (< "<") (identifier "sVar2")) () ")")) (compound_statement "{\n                    \n    FUN_00244a20(unaff_EDI + 0x1e73e6);\n  }" ({ "{") (expression_statement "FUN_00244a20(unaff_EDI + 0x1e73e6);" (call_expression "FUN_00244a20(unaff_EDI + 0x1e73e6)" (identifier "FUN_00244a20") (argument_list "(unaff_EDI + 0x1e73e6)" (( "(") (binary_expression "unaff_EDI + 0x1e73e6" (identifier "unaff_EDI") (+ "+") (number_literal "0x1e73e6")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00208840(&local_34,__s,sVar2);" (call_expression "FUN_00208840(&local_34,__s,sVar2)" (identifier "FUN_00208840") (argument_list "(&local_34,__s,sVar2)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "__s") (, ",") (identifier "sVar2") () ")"))) (; ";")) (expression_statement "iVar4 = extraout_ECX_00;" (assignment_expression "iVar4 = extraout_ECX_00" (identifier "iVar4") (= "=") (identifier "extraout_ECX_00")) (; ";")) (expression_statement "local_40 = *(int *)(param_5 + 0xe4);" (assignment_expression "local_40 = *(int *)(param_5 + 0xe4)" (identifier "local_40") (= "=") (pointer_expression "*(int *)(param_5 + 0xe4)" (* "*") (cast_expression "(int *)(param_5 + 0xe4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xe4)" (( "(") (binary_expression "param_5 + 0xe4" (identifier "param_5") (+ "+") (number_literal "0xe4")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_5 + 0xe4) == 0) {\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_5 + 0xe4) == 0)" (( "(") (binary_expression "*(int *)(param_5 + 0xe4) == 0" (pointer_expression "*(int *)(param_5 + 0xe4)" (* "*") (cast_expression "(int *)(param_5 + 0xe4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xe4)" (( "(") (binary_expression "param_5 + 0xe4" (identifier "param_5") (+ "+") (number_literal "0xe4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);\n    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);\n    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }\n    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;\n    if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }\n    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;\n    *(int *)(iVar4 + 0x44) = param_5;\n    *(int *)(param_5 + 0xe4) = iVar4;\n    local_40 = iVar4;\n  }" ({ "{") (expression_statement "uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);" (assignment_expression "uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0)" (identifier "uVar6") (= "=") (call_expression "FUN_00187d90(param_1 + 8,local_34,1,0)" (identifier "FUN_00187d90") (argument_list "(param_1 + 8,local_34,1,0)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (identifier "local_34") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);" (assignment_expression "iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" (identifier "iVar4") (= "=") (call_expression "FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" (identifier "FUN_000b0600") (argument_list "(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar6") (, ",") (identifier "iVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_4 + 8)" (* "*") (cast_expression "(undefined4 *)(*param_4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_4 + 8)" (( "(") (binary_expression "*param_4 + 8" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }" (if "if") (parenthesized_expression "(((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0))" (( "(") (binary_expression "((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||\n       ((*(byte *)(iVar4 + 0x90) & 8) != 0)" (parenthesized_expression "((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0))" (( "(") (binary_expression "(*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)" (parenthesized_expression "(*(int *)(iVar4 + 0x3c) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x3c) != 0" (pointer_expression "*(int *)(iVar4 + 0x3c)" (* "*") (cast_expression "(int *)(iVar4 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar4 + 0x40) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x40) != 0" (pointer_expression "*(int *)(iVar4 + 0x40)" (* "*") (cast_expression "(int *)(iVar4 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x40)" (( "(") (binary_expression "iVar4 + 0x40" (identifier "iVar4") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(iVar4 + 0x90) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(iVar4 + 0x90) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x90) & 8)" (( "(") (binary_expression "*(byte *)(iVar4 + 0x90) & 8" (pointer_expression "*(byte *)(iVar4 + 0x90)" (* "*") (cast_expression "(byte *)(iVar4 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x90)" (( "(") (binary_expression "iVar4 + 0x90" (identifier "iVar4") (+ "+") (number_literal "0x90")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);\n    }" ({ "{") (expression_statement "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);" (call_expression "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01)" (identifier "FUN_0007d010") (argument_list "(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01)" (( "(") (binary_expression "unaff_EDI + 0x1e26b8" (identifier "unaff_EDI") (+ "+") (number_literal "0x1e26b8")) (, ",") (number_literal "0xd1b") (, ",") (binary_expression "&UNK_001ec32b + unaff_EDI" (pointer_expression "&UNK_001ec32b" (& "&") (identifier "UNK_001ec32b")) (+ "+") (identifier "unaff_EDI")) (, ",") (identifier "extraout_ECX_01") () ")"))) (; ";")) (} "}"))) (expression_statement "*(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;" (assignment_expression "*(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4" (pointer_expression "*(byte *)(iVar4 + 0x90)" (* "*") (cast_expression "(byte *)(iVar4 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x90)" (( "(") (binary_expression "iVar4 + 0x90" (identifier "iVar4") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar4 + 0x90) | 4" (pointer_expression "*(byte *)(iVar4 + 0x90)" (* "*") (cast_expression "(byte *)(iVar4 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x90)" (( "(") (binary_expression "iVar4 + 0x90" (identifier "iVar4") (+ "+") (number_literal "0x90")) () ")")))) (| "|") (number_literal "4"))) (; ";")) (if_statement "if ((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }" (if "if") (parenthesized_expression "((((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0))" (( "(") (binary_expression "(((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)" (parenthesized_expression "(((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0))" (( "(") (binary_expression "((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||\n        (*(int *)(iVar4 + 0x48) != 0)" (parenthesized_expression "((*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0))))" (( "(") (binary_expression "(*(int *)(iVar4 + 0x44) != 0) &&\n         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))" (parenthesized_expression "(*(int *)(iVar4 + 0x44) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x44) != 0" (pointer_expression "*(int *)(iVar4 + 0x44)" (* "*") (cast_expression "(int *)(iVar4 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x44)" (( "(") (binary_expression "iVar4 + 0x44" (identifier "iVar4") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))" (( "(") (parenthesized_expression "(param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0))" (( "(") (binary_expression "param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)" (binary_expression "param_5 != *(int *)(iVar4 + 0x44)" (identifier "param_5") (!= "!=") (pointer_expression "*(int *)(iVar4 + 0x44)" (* "*") (cast_expression "(int *)(iVar4 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x44)" (( "(") (binary_expression "iVar4 + 0x44" (identifier "iVar4") (+ "+") (number_literal "0x44")) () ")"))))) (|| "||") (parenthesized_expression "((*(byte *)(iVar4 + 0x91) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(iVar4 + 0x91) & 1) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x91) & 1)" (( "(") (binary_expression "*(byte *)(iVar4 + 0x91) & 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" (* "*") (cast_expression "(byte *)(iVar4 + 0x91)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x91)" (( "(") (binary_expression "iVar4 + 0x91" (identifier "iVar4") (+ "+") (number_literal "0x91")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar4 + 0x48) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x48) != 0" (pointer_expression "*(int *)(iVar4 + 0x48)" (* "*") (cast_expression "(int *)(iVar4 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x48)" (( "(") (binary_expression "iVar4 + 0x48" (identifier "iVar4") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar4 + 0x4c) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x4c) != 0" (pointer_expression "*(int *)(iVar4 + 0x4c)" (* "*") (cast_expression "(int *)(iVar4 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x4c)" (( "(") (binary_expression "iVar4 + 0x4c" (identifier "iVar4") (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);\n    }" ({ "{") (expression_statement "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);" (call_expression "FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0)" (identifier "FUN_0007d010") (argument_list "(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0)" (( "(") (binary_expression "unaff_EDI + 0x1e26b8" (identifier "unaff_EDI") (+ "+") (number_literal "0x1e26b8")) (, ",") (number_literal "0xd3a") (, ",") (binary_expression "unaff_EDI + 0x1ec317" (identifier "unaff_EDI") (+ "+") (number_literal "0x1ec317")) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "*(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;" (assignment_expression "*(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" (* "*") (cast_expression "(byte *)(iVar4 + 0x91)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x91)" (( "(") (binary_expression "iVar4 + 0x91" (identifier "iVar4") (+ "+") (number_literal "0x91")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar4 + 0x91) | 1" (pointer_expression "*(byte *)(iVar4 + 0x91)" (* "*") (cast_expression "(byte *)(iVar4 + 0x91)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x91)" (( "(") (binary_expression "iVar4 + 0x91" (identifier "iVar4") (+ "+") (number_literal "0x91")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x44) = param_5;" (assignment_expression "*(int *)(iVar4 + 0x44) = param_5" (pointer_expression "*(int *)(iVar4 + 0x44)" (* "*") (cast_expression "(int *)(iVar4 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x44)" (( "(") (binary_expression "iVar4 + 0x44" (identifier "iVar4") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(int *)(param_5 + 0xe4) = iVar4;" (assignment_expression "*(int *)(param_5 + 0xe4) = iVar4" (pointer_expression "*(int *)(param_5 + 0xe4)" (* "*") (cast_expression "(int *)(param_5 + 0xe4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xe4)" (( "(") (binary_expression "param_5 + 0xe4" (identifier "param_5") (+ "+") (number_literal "0xe4")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "local_40 = iVar4;" (assignment_expression "local_40 = iVar4" (identifier "local_40") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (if_statement "if (iVar1 == 9) {\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }\n  else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" (if "if") (parenthesized_expression "(iVar1 == 9)" (( "(") (binary_expression "iVar1 == 9" (identifier "iVar1") (== "==") (number_literal "9")) () ")")) (compound_statement "{\n                    \n    FUN_001040d0(local_40,8,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef057;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" ({ "{") (expression_statement "FUN_001040d0(local_40,8,0);" (call_expression "FUN_001040d0(local_40,8,0)" (identifier "FUN_001040d0") (argument_list "(local_40,8,0)" (( "(") (identifier "local_40") (, ",") (number_literal "8") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "piVar3 = (int *)FUN_001fd480(0x30);" (assignment_expression "piVar3 = (int *)FUN_001fd480(0x30)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_001fd480(0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001fd480(0x30)" (identifier "FUN_001fd480") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "uVar5 = FUN_00103540(0x20);" (assignment_expression "uVar5 = FUN_00103540(0x20)" (identifier "uVar5") (= "=") (call_expression "FUN_00103540(0x20)" (identifier "FUN_00103540") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "piVar3[9] = (int)uVar5;" (assignment_expression "piVar3[9] = (int)uVar5" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) (; ";")) (expression_statement "*piVar3 = unaff_EDI + 0x2ef057;" (assignment_expression "*piVar3 = unaff_EDI + 0x2ef057" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (binary_expression "unaff_EDI + 0x2ef057" (identifier "unaff_EDI") (+ "+") (number_literal "0x2ef057"))) (; ";")) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" (identifier "piVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" (* "*") (cast_expression "(byte *)(piVar3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 7)" (( "(") (binary_expression "piVar3 + 7" (identifier "piVar3") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" (* "*") (cast_expression "(byte *)(piVar3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 7)" (( "(") (binary_expression "piVar3 + 7" (identifier "piVar3") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "0xe0"))) (; ";")) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" (identifier "piVar3") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20)" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar3[0xb] = param_6;" (assignment_expression "piVar3[0xb] = param_6" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "param_6")) (; ";")) (} "}")) (else_clause "else {\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" (else "else") (compound_statement "{\n    if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }\n    FUN_001040d0(local_40,0xc,0);\n    piVar3 = (int *)FUN_001fd480(0x30);\n                    \n    uVar5 = FUN_00103540(0x20);\n    piVar3[9] = (int)uVar5;\n    *piVar3 = unaff_EDI + 0x2ef0c3;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);\n    piVar3[0xb] = param_6;\n  }" ({ "{") (if_statement "if (iVar1 != 4) {\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }" (if "if") (parenthesized_expression "(iVar1 != 4)" (( "(") (binary_expression "iVar1 != 4" (identifier "iVar1") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n                    \n      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);\n    }" ({ "{") (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4)" (identifier "FUN_0007d010") (argument_list "(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4)" (( "(") (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" (& "&") (identifier "UNK_001eb33f")) (+ "+") (identifier "unaff_EDI")) (, ",") (number_literal "0x557") (, ",") (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" (& "&") (identifier "UNK_001ec347")) (+ "+") (identifier "unaff_EDI")) (, ",") (identifier "iVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001040d0(local_40,0xc,0);" (call_expression "FUN_001040d0(local_40,0xc,0)" (identifier "FUN_001040d0") (argument_list "(local_40,0xc,0)" (( "(") (identifier "local_40") (, ",") (number_literal "0xc") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "piVar3 = (int *)FUN_001fd480(0x30);" (assignment_expression "piVar3 = (int *)FUN_001fd480(0x30)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_001fd480(0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001fd480(0x30)" (identifier "FUN_001fd480") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "uVar5 = FUN_00103540(0x20);" (assignment_expression "uVar5 = FUN_00103540(0x20)" (identifier "uVar5") (= "=") (call_expression "FUN_00103540(0x20)" (identifier "FUN_00103540") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "piVar3[9] = (int)uVar5;" (assignment_expression "piVar3[9] = (int)uVar5" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) (; ";")) (expression_statement "*piVar3 = unaff_EDI + 0x2ef0c3;" (assignment_expression "*piVar3 = unaff_EDI + 0x2ef0c3" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (binary_expression "unaff_EDI + 0x2ef0c3" (identifier "unaff_EDI") (+ "+") (number_literal "0x2ef0c3"))) (; ";")) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" (* "*") (cast_expression "(byte *)(piVar3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 7)" (( "(") (binary_expression "piVar3 + 7" (identifier "piVar3") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" (* "*") (cast_expression "(byte *)(piVar3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 7)" (( "(") (binary_expression "piVar3 + 7" (identifier "piVar3") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "0xe0"))) (; ";")) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" (identifier "piVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" (identifier "piVar3") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar5 >> 0x20)" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar3[0xb] = param_6;" (assignment_expression "piVar3[0xb] = param_6" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "param_6")) (; ";")) (} "}")))) (expression_statement "FUN_00108240(local_40,piVar3);" (call_expression "FUN_00108240(local_40,piVar3)" (identifier "FUN_00108240") (argument_list "(local_40,piVar3)" (( "(") (identifier "local_40") (, ",") (identifier "piVar3") () ")"))) (; ";")) (if_statement "if (*(int *)(param_6 + 0x10) == 0) {\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_6 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(param_6 + 0x10) == 0" (pointer_expression "*(int *)(param_6 + 0x10)" (* "*") (cast_expression "(int *)(param_6 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 0x10)" (( "(") (binary_expression "param_6 + 0x10" (identifier "param_6") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(int **)(param_6 + 0x10) = piVar3;\n    if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }\n    return local_40;\n  }" ({ "{") (expression_statement "*(int **)(param_6 + 0x10) = piVar3;" (assignment_expression "*(int **)(param_6 + 0x10) = piVar3" (pointer_expression "*(int **)(param_6 + 0x10)" (* "*") (cast_expression "(int **)(param_6 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_6 + 0x10)" (( "(") (binary_expression "param_6 + 0x10" (identifier "param_6") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (if_statement "if (local_34 != local_2c) {\n      FUN_001ff030(local_34);\n    }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n      FUN_001ff030(local_34);\n    }" ({ "{") (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" (identifier "FUN_001ff030") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (return_statement "return local_40;" (return "return") (identifier "local_40") (; ";")) (} "}"))) (expression_statement "FUN_000aade0();" (call_expression "FUN_000aade0()" (identifier "FUN_000aade0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar6 = extraout_ECX_02;" (assignment_expression "uVar6 = extraout_ECX_02" (identifier "uVar6") (= "=") (identifier "extraout_ECX_02")) (; ";")) (labeled_statement "LAB_000baff7:\n                    \n  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);" (statement_identifier "LAB_000baff7") (: ":") (expression_statement "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);" (call_expression "FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6)" (identifier "FUN_0007d010") (argument_list "(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6)" (( "(") (binary_expression "&UNK_001eb33f + unaff_EDI" (pointer_expression "&UNK_001eb33f" (& "&") (identifier "UNK_001eb33f")) (+ "+") (identifier "unaff_EDI")) (, ",") (number_literal "0x537") (, ",") (binary_expression "&UNK_001ec347 + unaff_EDI" (pointer_expression "&UNK_001ec347" (& "&") (identifier "UNK_001ec347")) (+ "+") (identifier "unaff_EDI")) (, ",") (identifier "uVar6") () ")"))) (; ";"))) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: layout_reloc<32, false>
   DWARF original prototype: Output_section * layout_reloc<32,_false>(Layout * this,
   Sized_relobj_file<32,_false> * param_3, uint param_4, Shdr<32,_false> * shdr, Output_section *
   data_section, Relocatable_relocs * rr) */

type_7 * __thiscall
gold::Layout::layout_reloc<32,_false>
          (Layout *this,Sized_relobj_file<32,_false> *param_1,type_4 param_2,Shdr<32,_false> *shdr,
          type_7 *var_16,type_5 *rr)

{
  type_1 *puVar1;
  int var_3;
  type_2 var_5;
  size_t var_8;
  type_3 *posd;
  char *pcVar4;
  int var_2;
  uint64_t var_20;
  type_4 uVar6;
  type_5 *in_stack_ffffffb4;
  type_6 *var_22;
  type_7 *var_11;
  type_8 name;
  
  var_1();
  var_3 = *(int *)(*(int *)((int)&DWORD_002f474c + var_2 + 3) + 8);
  if (var_3 == 0) {
                    /* WARNING: Subroutine does not return */
    var_4((char *)(var_2 + 0x1dd5b4),0x5c,(char *)(var_2 + 0x1ec8cf));
  }
  if ((*(char *)(var_3 + 0x318d) == '\0') && (*(char *)(var_3 + 0x3095) == '\0')) {
                    /* WARNING: Subroutine does not return */
    var_4((char *)(var_2 + 0x1eb33f),0x52d,&UNK_001ec347 + var_2);
  }
  var_5 = shdr->p_->sh_type;
  name._M_string_length = 0;
  var_22 = (type_6 *)&name.field_2;
  name.field_2._M_local_buf[0] = '\0';
  name._M_dataplus._M_p = (type_9)var_22;
  if (var_5 == 9) {
    pcVar4 = (char *)(var_2 + 0x1ebfd6);
    uVar6 = 4;
  }
  else {
    if (var_5 != 4) goto LAB_000baff7;
    pcVar4 = (char *)(var_2 + 0x1ebfdb);
    uVar6 = 5;
  }
                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */
  std::string::var_6((type_8 *)&name,0,0,pcVar4,uVar6);
  pcVar4 = var_16->name_;
  var_8 = var_7(pcVar4);
  if (0x7fffffff - name._M_string_length < var_8) {
                    /* WARNING: Subroutine does not return */
    std::var_9((char *)(var_2 + 0x1e73e6));
  }
  std::string::var_10((type_8 *)&name,pcVar4,var_8);
  var_11 = var_16->reloc_section_;
  if (var_11 == (type_7 *)0x0) {
                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */
    pcVar4 = var_12<var_13>::var_14(&this->namepool_,name._M_dataplus._M_p,true,(type_10 *)0x0);
    var_11 = var_15(this,pcVar4,var_5,(type_11)shdr->p_->sh_flags,ORDER_INVALID,
                                   false);
    if (((var_11->link_section_ != (type_6 *)0x0) || (var_11->link_ != 0)) ||
       ((var_11->field_0x90 & 8) != 0)) {
                    /* WARNING: Subroutine does not return */
      var_4((char *)(var_2 + 0x1e26b8),0xd1b,&UNK_001ec32b + var_2);
    }
    var_11->field_0x90 = var_11->field_0x90 | 4;
    if ((((var_11->info_section_ != (type_7 *)0x0) &&
         ((var_16 != var_11->info_section_ || ((var_11->field_0x91 & 1) == 0)))) ||
        (var_11->info_symndx_ != (type_12 *)0x0)) || (var_11->info_ != 0)) {
                    /* WARNING: Subroutine does not return */
      var_4((char *)(var_2 + 0x1e26b8),0xd3a,(char *)(var_2 + 0x1ec317));
    }
    var_11->field_0x91 = var_11->field_0x91 | 1;
    var_11->info_section_ = var_16;
    var_16->reloc_section_ = var_11;
  }
  if (var_5 == 9) {
                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */
    Output_section::var_17(var_11,8);
    posd = (type_3 *)var_18(0x30);
                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */
    var_20 = type_6::var_19(0x20);
    *(int *)&posd->addralign_ = (int)var_20;
    (posd->super_Output_data)._vptr_Output_data = (type_13 **)(var_2 + 0x2ef057);
    *(type_14 *)&(posd->super_Output_data).address_ = 0;
    *(type_14 *)((int)&(posd->super_Output_data).address_ + 4) = 0;
    *(type_14 *)&(posd->super_Output_data).data_size_ = 0;
    *(type_14 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;
    *(type_14 *)&(posd->super_Output_data).offset_ = 0xffffffff;
    *(type_14 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;
    puVar1 = &(posd->super_Output_data).field_0x1c;
    *puVar1 = *puVar1 & 0xe0;
    posd->output_section_ = (type_7 *)0x0;
    *(int *)((int)&posd->addralign_ + 4) = (int)(var_20 >> 0x20);
    posd[1].super_Output_data._vptr_Output_data = (type_13 **)rr;
  }
  else {
    if (var_5 != 4) {
                    /* WARNING: Subroutine does not return */
      var_4((char *)(var_2 + 0x1eb33f),0x557,&UNK_001ec347 + var_2);
    }
    Output_section::var_17(var_11,0xc);
    posd = (type_3 *)var_18(0x30);
                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */
    var_20 = type_6::var_19(0x20);
    *(int *)&posd->addralign_ = (int)var_20;
    (posd->super_Output_data)._vptr_Output_data = (type_13 **)(var_2 + 0x2ef0c3);
    puVar1 = &(posd->super_Output_data).field_0x1c;
    *puVar1 = *puVar1 & 0xe0;
    *(type_14 *)&(posd->super_Output_data).address_ = 0;
    *(type_14 *)((int)&(posd->super_Output_data).address_ + 4) = 0;
    *(type_14 *)&(posd->super_Output_data).data_size_ = 0;
    *(type_14 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;
    *(type_14 *)&(posd->super_Output_data).offset_ = 0xffffffff;
    *(type_14 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;
    posd->output_section_ = (type_7 *)0x0;
    *(int *)((int)&posd->addralign_ + 4) = (int)(var_20 >> 0x20);
    posd[1].super_Output_data._vptr_Output_data = (type_13 **)rr;
  }
                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */
  Output_section::var_21(var_11,posd);
  if (rr->posd_ == (type_6 *)0x0) {
    rr->posd_ = &posd->super_Output_data;
    if ((type_6 *)name._M_dataplus._M_p != var_22) {
      var_23(name._M_dataplus._M_p);
    }
    return var_11;
  }
                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */
  Relocatable_relocs::var_24(in_stack_ffffffb4,var_22);
LAB_000baff7:
                    /* WARNING: Subroutine does not return */
  var_4((char *)(var_2 + 0x1eb33f),0x537,&UNK_001ec347 + var_2);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier)) right: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (number_literal) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (identifier))))))))

int MASKED(int param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
                int param_6)

{
  int iVar1;
  char *__s;
  size_t sVar2;
  int *piVar3;
  int iVar4;
  undefined4 extraout_ECX;
  int extraout_ECX_00;
  undefined4 extraout_ECX_01;
  undefined4 extraout_ECX_02;
  int unaff_EDI;
  undefined8 uVar5;
  undefined4 uVar6;
  int local_40;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [28];
  
  FUN_000644be();
  iVar1 = *(int *)(*(int *)((int)&DWORD_002f474c + unaff_EDI + 3) + 8);
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0007d010(unaff_EDI + 0x1dd5b4,0x5c,unaff_EDI + 0x1ec8cf);
  }
  if ((*(char *)(iVar1 + 0x318d) == '\0') && (*(char *)(iVar1 + 0x3095) == '\0')) {
                    /* WARNING: Subroutine does not return */
    FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x52d,&UNK_001ec347 + unaff_EDI);
  }
  iVar1 = *(int *)(*param_4 + 4);
  local_30 = 0;
  local_2c[0] = 0;
  local_34 = local_2c;
  if (iVar1 == 9) {
    iVar4 = unaff_EDI + 0x1ebfd6;
    uVar6 = 4;
  }
  else {
    uVar6 = extraout_ECX;
    if (iVar1 != 4) goto LAB_000baff7;
    iVar4 = unaff_EDI + 0x1ebfdb;
    uVar6 = 5;
  }
                    /* try { // try from 000bad2d to 000badaf has its CatchHandler @ 000bb063 */
  FUN_00207c70(&local_34,0,0,iVar4,uVar6);
  __s = *(char **)(param_5 + 0x20);
  sVar2 = strlen(__s);
  if (0x7fffffffU - local_30 < sVar2) {
                    /* WARNING: Subroutine does not return */
    FUN_00244a20(unaff_EDI + 0x1e73e6);
  }
  FUN_00208840(&local_34,__s,sVar2);
  iVar4 = extraout_ECX_00;
  local_40 = *(int *)(param_5 + 0xe4);
  if (*(int *)(param_5 + 0xe4) == 0) {
                    /* try { // try from 000baf1e to 000bafd9 has its CatchHandler @ 000bb063 */
    uVar6 = FUN_00187d90(param_1 + 8,local_34,1,0);
    iVar4 = FUN_000b0600(param_1,uVar6,iVar1,*(undefined4 *)(*param_4 + 8),0,0,0);
    if (((*(int *)(iVar4 + 0x3c) != 0) || (*(int *)(iVar4 + 0x40) != 0)) ||
       ((*(byte *)(iVar4 + 0x90) & 8) != 0)) {
                    /* WARNING: Subroutine does not return */
      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd1b,&UNK_001ec32b + unaff_EDI,extraout_ECX_01);
    }
    *(byte *)(iVar4 + 0x90) = *(byte *)(iVar4 + 0x90) | 4;
    if ((((*(int *)(iVar4 + 0x44) != 0) &&
         ((param_5 != *(int *)(iVar4 + 0x44) || ((*(byte *)(iVar4 + 0x91) & 1) == 0)))) ||
        (*(int *)(iVar4 + 0x48) != 0)) || (*(int *)(iVar4 + 0x4c) != 0)) {
                    /* WARNING: Subroutine does not return */
      FUN_0007d010(unaff_EDI + 0x1e26b8,0xd3a,unaff_EDI + 0x1ec317,0);
    }
    *(byte *)(iVar4 + 0x91) = *(byte *)(iVar4 + 0x91) | 1;
    *(int *)(iVar4 + 0x44) = param_5;
    *(int *)(param_5 + 0xe4) = iVar4;
    local_40 = iVar4;
  }
  if (iVar1 == 9) {
                    /* try { // try from 000bae9c to 000baeac has its CatchHandler @ 000bb063 */
    FUN_001040d0(local_40,8,0);
    piVar3 = (int *)FUN_001fd480(0x30);
                    /* try { // try from 000baeb6 to 000baeba has its CatchHandler @ 000bb067 */
    uVar5 = FUN_00103540(0x20);
    piVar3[9] = (int)uVar5;
    *piVar3 = unaff_EDI + 0x2ef057;
    piVar3[1] = 0;
    piVar3[2] = 0;
    piVar3[3] = 0;
    piVar3[4] = 0;
    piVar3[5] = -1;
    piVar3[6] = -1;
    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;
    piVar3[8] = 0;
    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);
    piVar3[0xb] = param_6;
  }
  else {
    if (iVar1 != 4) {
                    /* WARNING: Subroutine does not return */
      FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x557,&UNK_001ec347 + unaff_EDI,iVar4);
    }
    FUN_001040d0(local_40,0xc,0);
    piVar3 = (int *)FUN_001fd480(0x30);
                    /* try { // try from 000badb9 to 000badbd has its CatchHandler @ 000bb06c */
    uVar5 = FUN_00103540(0x20);
    piVar3[9] = (int)uVar5;
    *piVar3 = unaff_EDI + 0x2ef0c3;
    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;
    piVar3[1] = 0;
    piVar3[2] = 0;
    piVar3[3] = 0;
    piVar3[4] = 0;
    piVar3[5] = -1;
    piVar3[6] = -1;
    piVar3[8] = 0;
    piVar3[10] = (int)((ulonglong)uVar5 >> 0x20);
    piVar3[0xb] = param_6;
  }
                    /* try { // try from 000bae13 to 000bae17 has its CatchHandler @ 000bb063 */
  FUN_00108240(local_40,piVar3);
  if (*(int *)(param_6 + 0x10) == 0) {
    *(int **)(param_6 + 0x10) = piVar3;
    if (local_34 != local_2c) {
      FUN_001ff030(local_34);
    }
    return local_40;
  }
                    /* try { // try from 000baff2 to 000bb062 has its CatchHandler @ 000bb063 */
  FUN_000aade0();
  uVar6 = extraout_ECX_02;
LAB_000baff7:
                    /* WARNING: Subroutine does not return */
  FUN_0007d010(&UNK_001eb33f + unaff_EDI,0x537,&UNK_001ec347 + unaff_EDI,uVar6);
}

