
/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "STB": Some values do not have unique names */
/* DWARF original prototype: Sized_symbol<32> * do_define_in_output_segment<32>(Symbol_table * this,
   char * name, char * version, Defined defined, Output_segment * os, Elf_Addr value, Elf_WXword
   symsize, STT type, STB binding, STV visibility, uchar nonvis, Segment_offset_base offset_base,
   bool only_if_ref) */

Sized_symbol<32> * __thiscall
gold::Symbol_table::do_define_in_output_segment<32>
          (Symbol_table *this,char *name,char *version,Defined defined,Output_segment *os,
          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,
          Segment_offset_base offset_base,bool only_if_ref)

{
  undefined1 *puVar1;
  ushort uVar2;
  int iVar3;
  Got_offset_list *pGVar4;
  Got_offset_list *pGVar5;
  Got_offset_list *pGVar6;
  Got_offset_list *pGVar7;
  Got_offset_list *pGVar8;
  Got_offset_list *this_00;
  STV SVar9;
  int iVar10;
  bool bVar11;
  Sized_symbol<32> *fromsym;
  int unaff_EDI;
  undefined3 in_stack_0000002d;
  undefined3 in_stack_00000035;
  Sized_symbol<32> *__in_chrg;
  bool resolve_oldsym;
  bool is_global;
  Sized_symbol<32> *oldsym;
  
  __x86_get_pc_thunk_di();
  iVar10 = _nonvis;
  SVar9 = visibility;
  iVar3 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);
  if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9));
  }
  if (*(char *)(*(int *)(iVar3 + 4) + 4) != '\0') {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1));
  }
  fromsym = define_special_symbol<32,_false>
                      (this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,
                       binding == STB_LOCAL);
  if (fromsym != (Sized_symbol<32> *)0x0) {
    (fromsym->super_Symbol).symtab_index_ = 0;
    (fromsym->super_Symbol).version_ = version;
    (fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3;
    (fromsym->super_Symbol).name_ = name;
    (fromsym->super_Symbol).dynsym_index_ = 0;
    (fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4;
    (fromsym->super_Symbol).plt_offset_ = 0xffffffff;
    (fromsym->super_Symbol).u1_.output_segment = os;
    (fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff;
    (fromsym->super_Symbol).u2_.offset_base = offset_base;
    uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a;
    (fromsym->super_Symbol).got_offsets_.got_offset_ = 0;
    (fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0;
    *(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082;
    (fromsym->super_Symbol).field_0x2c =
         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2;
    fromsym->value_ = value;
    fromsym->symsize_ = symsize;
    if (oldsym == (Sized_symbol<32> *)0x0) {
      if ((binding == STB_LOCAL) ||
         ((bVar11 = Version_script_info::get_symbol_version
                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&
          (is_global == false)))) {
        force_local(this,&fromsym->super_Symbol);
        return fromsym;
      }
      if (version != (char *)0x0) {
        puVar1 = &(fromsym->super_Symbol).field_0x2a;
        *puVar1 = *puVar1 | 8;
      }
    }
    else {
      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);
      if (bVar11) {
        override_with_special<32>(this,oldsym,fromsym);
      }
      if (resolve_oldsym == false) {
        if ((binding == STB_LOCAL) ||
           ((__in_chrg = (Sized_symbol<32> *)name,
            bVar11 = Version_script_info::get_symbol_version
                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&
            (is_global == false)))) {
          __in_chrg = oldsym;
          force_local(this,&oldsym->super_Symbol);
        }
        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;
        if (pGVar4 != (Got_offset_list *)0x0) {
          pGVar5 = pGVar4->got_next_;
          if (pGVar5 != (Got_offset_list *)0x0) {
            pGVar6 = pGVar5->got_next_;
            if (pGVar6 != (Got_offset_list *)0x0) {
              pGVar7 = pGVar6->got_next_;
              if (pGVar7 != (Got_offset_list *)0x0) {
                pGVar8 = pGVar7->got_next_;
                if (pGVar8 != (Got_offset_list *)0x0) {
                  this_00 = pGVar8->got_next_;
                  if (this_00 != (Got_offset_list *)0x0) {
                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);
                    operator_delete(this_00,0xc);
                  }
                  operator_delete(pGVar8,0xc);
                }
                operator_delete(pGVar7,0xc);
              }
              operator_delete(pGVar6,0xc);
            }
            operator_delete(pGVar5,0xc);
          }
          operator_delete(pGVar4,0xc);
        }
        operator_delete(fromsym,0x38);
        return oldsym;
      }
    }
  }
  return fromsym;
}



undefined4 *
FUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,
            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10
            ,int param_11,undefined4 param_12,uint param_13)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  char cVar5;
  undefined4 *puVar6;
  int iVar7;
  int iVar8;
  char *pcVar9;
  int unaff_EDI;
  undefined4 *puVar10;
  int iVar11;
  char local_22;
  char local_21;
  undefined4 *local_20 [4];
  
  FUN_0004fb7e();
  iVar1 = param_11;
  uVar4 = param_10;
  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);
  if (iVar8 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);
  }
  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);
  }
  pcVar9 = (char *)(uint)(param_9 == 0);
  puVar6 = (undefined4 *)
           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9
                       );
  if (puVar6 == (undefined4 *)0x0) {
    return (undefined4 *)0x0;
  }
  puVar6[4] = 0;
  puVar6[1] = param_3;
  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;
  *puVar6 = param_2;
  puVar6[5] = 0;
  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;
  puVar6[6] = 0xffffffff;
  puVar6[2] = param_5;
  puVar6[7] = 0xffffffff;
  puVar6[3] = param_12;
  puVar6[8] = 0;
  puVar6[9] = 0;
  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;
  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;
  puVar6[0xc] = param_6;
  puVar6[0xd] = param_7;
  if (local_20[0] == (undefined4 *)0x0) {
    if ((param_9 != 0) &&
       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'
        || (local_21 != '\0')))) {
      if (param_3 == 0) {
        return puVar6;
      }
      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;
      return puVar6;
    }
    FUN_001236a0(param_1,puVar6);
    return puVar6;
  }
  puVar10 = param_4;
  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);
  if (cVar5 != '\0') {
    puVar10 = puVar6;
    FUN_00164c80(param_1,local_20[0],puVar6);
  }
  if (local_22 != '\0') {
    return puVar6;
  }
  if (param_9 != 0) {
    pcVar9 = &local_21;
    puVar10 = (undefined4 *)0x0;
    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);
    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;
  }
  FUN_001236a0(param_1,local_20[0]);
LAB_0012c90f:
  iVar8 = puVar6[9];
  if (iVar8 != 0) {
    iVar1 = *(int *)(iVar8 + 8);
    if (iVar1 != 0) {
      iVar7 = *(int *)(iVar1 + 8);
      if (iVar7 != 0) {
        iVar2 = *(int *)(iVar7 + 8);
        if (iVar2 != 0) {
          iVar11 = *(int *)(iVar2 + 8);
          if (iVar11 != 0) {
            iVar3 = *(int *)(iVar11 + 8);
            if (iVar3 != 0) {
              FUN_001264b0(iVar3);
              FUN_00180780(iVar3,0xc);
            }
            FUN_00180780(iVar11,0xc);
          }
          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);
        }
        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);
      }
      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);
    }
    FUN_00180780(iVar8,0xc);
  }
  FUN_00180780(puVar6,0x38);
  return local_20[0];
}


PUSH EBP
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0x1d5859
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV EDX,dword ptr [ESP + 0x60]
MOV EBP,dword ptr [ESP + 0x64]
LEA ECX,[EDI + 0x378]
MOV EBX,dword ptr [ESP + 0x68]
TEST EDX,EDX
MOV EAX,dword ptr [ESP + 0x70]
MOV ECX,dword ptr [ECX]
SETZ DL
MOV ECX,dword ptr [ECX + 0xc]
TEST ECX,ECX
JZ 0x0012caea
MOV ECX,dword ptr [ECX + 0x4]
CMP byte ptr [ECX + 0x4],0x0
JNZ 0x0012cb02
MOVZX EDX,DL
MOVZX EAX,AL
PUSH EDX
LEA EDX,[ESP + 0x1e]
PUSH EDX
LEA EDX,[ESP + 0x24]
PUSH EDX
PUSH EBP
PUSH EAX
LEA EAX,[ESP + 0x5c]
PUSH EAX
LEA EAX,[ESP + 0x5c]
PUSH EAX
PUSH dword ptr [ESP + 0x5c]
CALL 0x0012bf40
ADD ESP,0x20
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0012c8e5
MOV EAX,dword ptr [ESP + 0x48]
MOVZX ECX,byte ptr [ESP + 0x60]
SHL EBX,0x2
AND EBP,0x3
OR EBX,EBP
MOV EDX,dword ptr [ESP + 0x44]
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x4],EAX
MOVZX EAX,byte ptr [ESP + 0x5c]
SHL ECX,0x4
MOV byte ptr [ESI + 0x29],BL
AND EAX,0xf
MOV dword ptr [ESI],EDX
OR EAX,ECX
MOV dword ptr [ESI + 0x14],0x0
MOV byte ptr [ESI + 0x28],AL
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [ESI + 0x18],0xffffffff
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x6c]
MOV dword ptr [ESI + 0x1c],0xffffffff
MOV dword ptr [ESI + 0xc],EAX
MOVZX EAX,word ptr [ESI + 0x2a]
MOV dword ptr [ESI + 0x20],0x0
AND AX,0x200
MOV dword ptr [ESI + 0x24],0x0
OR AX,0x4082
CMP dword ptr [ESP + 0x4c],0x5
MOV word ptr [ESI + 0x2a],AX
MOVZX EAX,byte ptr [ESI + 0x2c]
SETZ CL
SHL ECX,0x2
AND EAX,0xffffffe0
OR EAX,ECX
MOV byte ptr [ESI + 0x2c],AL
MOV EAX,dword ptr [ESP + 0x54]
MOV dword ptr [ESI + 0x30],EAX
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESI + 0x34],EAX
MOV EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JZ 0x0012ca48
SUB ESP,0x4
MOV EBX,EDI
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x64]
PUSH EAX
CALL 0x00163bf0
ADD ESP,0x10
TEST AL,AL
JNZ 0x0012ca20
CMP byte ptr [ESP + 0x1a],0x0
JZ 0x0012c8f0
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x60]
TEST ECX,ECX
JNZ 0x0012ca90
SUB ESP,0x8
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x4c]
CALL 0x001236a0
ADD ESP,0x10
MOV ECX,dword ptr [ESI + 0x24]
TEST ECX,ECX
JZ 0x0012ca02
MOV EBP,dword ptr [ECX + 0x8]
TEST EBP,EBP
JZ 0x0012c9f2
MOV EAX,dword ptr [EBP + 0x8]
TEST EAX,EAX
JZ 0x0012c9dc
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JZ 0x0012c9c6
MOV EBX,dword ptr [EDX + 0x8]
MOV dword ptr [ESP],EBX
TEST EBX,EBX
JZ 0x0012c9a7
MOV EBX,dword ptr [EBX + 0x8]
TEST EBX,EBX
JZ 0x0012c97c
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x10],ECX
PUSH EBX
CALL 0x001264b0
POP EAX
POP EDX
PUSH 0xc
PUSH EBX
MOV EBX,EDI
CALL 0x00180780
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x8
MOV EBX,EDI
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0xc],ECX
PUSH 0xc
PUSH dword ptr [ESP + 0xc]
CALL 0x00180780
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x4],EAX
SUB ESP,0x8
MOV EBX,EDI
MOV dword ptr [ESP + 0x8],ECX
PUSH 0xc
PUSH EDX
CALL 0x00180780
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP]
MOV dword ptr [ESP],ECX
SUB ESP,0x8
MOV EBX,EDI
PUSH 0xc
PUSH EAX
CALL 0x00180780
ADD ESP,0x10
MOV ECX,dword ptr [ESP]
MOV dword ptr [ESP],ECX
SUB ESP,0x8
MOV EBX,EDI
PUSH 0xc
PUSH EBP
CALL 0x00180780
ADD ESP,0x10
MOV ECX,dword ptr [ESP]
SUB ESP,0x8
MOV EBX,EDI
PUSH 0xc
PUSH ECX
CALL 0x00180780
ADD ESP,0x10
SUB ESP,0x8
MOV EBX,EDI
PUSH 0x38
PUSH ESI
CALL 0x00180780
MOV ESI,dword ptr [ESP + 0x2c]
ADD ESP,0x10
ADD ESP,0x2c
POP EBX
MOV EAX,ESI
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH ESI
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x4c]
CALL 0x00164c80
ADD ESP,0x10
CMP byte ptr [ESP + 0x1a],0x0
JNZ 0x0012c8e5
JMP 0x0012c8f0
MOV EBP,dword ptr [ESP + 0x60]
TEST EBP,EBP
JZ 0x0012cad0
LEA EAX,[ESP + 0x1b]
MOV EBX,EDI
PUSH EAX
PUSH 0x0
PUSH EDX
MOV EAX,dword ptr [ESP + 0x4c]
PUSH dword ptr [EAX + 0x154]
CALL 0x001197d0
ADD ESP,0x10
TEST AL,AL
JZ 0x0012ca7b
CMP byte ptr [ESP + 0x1b],0x0
JZ 0x0012cad0
MOV EBX,dword ptr [ESP + 0x48]
TEST EBX,EBX
JZ 0x0012c8e5
OR byte ptr [ESI + 0x2a],0x8
JMP 0x0012c8e5
LEA EAX,[ESP + 0x1b]
MOV EBX,EDI
PUSH EAX
PUSH 0x0
PUSH dword ptr [ESP + 0x4c]
MOV EAX,dword ptr [ESP + 0x4c]
PUSH dword ptr [EAX + 0x154]
CALL 0x001197d0
ADD ESP,0x10
TEST AL,AL
JZ 0x0012c90f
CMP byte ptr [ESP + 0x1b],0x0
JNZ 0x0012c90f
JMP 0x0012c8fc
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x4c]
CALL 0x001236a0
ADD ESP,0x10
MOV EAX,ESI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EDI + 0xfff2f270]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xfff1e970]
PUSH 0x69
PUSH EAX
CALL 0x0005f0b0
PUSH EAX
LEA EAX,[EDI + 0xfff2f078]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xfff2e811]
PUSH 0x866
PUSH EAX
CALL 0x0005f0b0
(translation_unit "undefined4 *\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}\n\n" (function_definition "undefined4 *\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}" type_identifier (pointer_declarator "*\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" * (function_declarator "FUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "undefined4 param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "undefined4 param_12" type_identifier identifier) , (parameter_declaration "uint param_13" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char local_22;" primitive_type identifier ;) (declaration "char local_21;" primitive_type identifier ;) (declaration "undefined4 *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = param_11;" (assignment_expression "iVar1 = param_11" identifier = identifier) ;) (expression_statement "uVar4 = param_10;" (assignment_expression "uVar4 = param_10" identifier = identifier) ;) (expression_statement "iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);" (assignment_expression "iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" identifier = (pointer_expression "*(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" * (cast_expression "(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" ( (binary_expression "*(int *)(unaff_EDI + 0x1d5bd1) + 0xc" (pointer_expression "*(int *)(unaff_EDI + 0x1d5bd1)" * (cast_expression "(int *)(unaff_EDI + 0x1d5bd1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1d5bd1)" ( (binary_expression "unaff_EDI + 0x1d5bd1" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }" { comment (expression_statement "FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);" (call_expression "FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13)" identifier (argument_list "(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13)" ( (binary_expression "unaff_EDI + 0xf41c9" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x104ac9" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }" if (parenthesized_expression "(*(char *)(*(int *)(iVar8 + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(iVar8 + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar8 + 4) + 4)" * (cast_expression "(char *)(*(int *)(iVar8 + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 4) + 4)" ( (binary_expression "*(int *)(iVar8 + 4) + 4" (pointer_expression "*(int *)(iVar8 + 4)" * (cast_expression "(int *)(iVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 4)" ( (binary_expression "iVar8 + 4" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }" { comment (expression_statement "FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);" (call_expression "FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13)" identifier (argument_list "(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13)" ( (binary_expression "unaff_EDI + 0x10406a" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x1048d1" identifier + number_literal) , identifier ))) ;) })) (expression_statement "pcVar9 = (char *)(uint)(param_9 == 0);" (assignment_expression "pcVar9 = (char *)(uint)(param_9 == 0)" identifier = (cast_expression "(char *)(uint)(param_9 == 0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(param_9 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_9 == 0)" ( (binary_expression "param_9 == 0" identifier == number_literal) ))))) ;) (expression_statement "puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );" (assignment_expression "puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" identifier = (cast_expression "(undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" identifier (argument_list "(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" ( identifier , (pointer_expression "&param_2" & identifier) , (pointer_expression "&param_3" & identifier) , (binary_expression "param_13 & 0xff" identifier & number_literal) , identifier , identifier , (pointer_expression "&local_22" & identifier) , identifier ))))) ;) (if_statement "if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }" if (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" ( (binary_expression "puVar6 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (undefined4 *)0x0;\n  }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[1] = param_3;" (assignment_expression "puVar6[1] = param_3" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;" (assignment_expression "*(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3" (pointer_expression "*(byte *)((int)puVar6 + 0x29)" * (cast_expression "(byte *)((int)puVar6 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x29)" ( (binary_expression "(int)puVar6 + 0x29" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(byte)(iVar1 << 2) | (byte)uVar4 & 3" (call_expression "(byte)(iVar1 << 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar1 << 2)" ( (binary_expression "iVar1 << 2" identifier << number_literal) ))) | (binary_expression "(byte)uVar4 & 3" (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal))) ;) (expression_statement "*puVar6 = param_2;" (assignment_expression "*puVar6 = param_2" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;" (assignment_expression "*(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4" (pointer_expression "*(byte *)(puVar6 + 10)" * (cast_expression "(byte *)(puVar6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 10)" ( (binary_expression "puVar6 + 10" identifier + number_literal) )))) = (binary_expression "(byte)param_8 & 0xf | (char)param_9 << 4" (binary_expression "(byte)param_8 & 0xf" (cast_expression "(byte)param_8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) | (binary_expression "(char)param_9 << 4" (cast_expression "(char)param_9" ( (type_descriptor "char" primitive_type) ) identifier) << number_literal))) ;) (expression_statement "puVar6[6] = 0xffffffff;" (assignment_expression "puVar6[6] = 0xffffffff" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[2] = param_5;" (assignment_expression "puVar6[2] = param_5" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[7] = 0xffffffff;" (assignment_expression "puVar6[7] = 0xffffffff" (subscript_expression "puVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[3] = param_12;" (assignment_expression "puVar6[3] = param_12" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[9] = 0;" (assignment_expression "puVar6[9] = 0" (subscript_expression "puVar6[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;" (assignment_expression "*(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082" (pointer_expression "*(ushort *)((int)puVar6 + 0x2a)" * (cast_expression "(ushort *)((int)puVar6 + 0x2a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082" (binary_expression "*(ushort *)((int)puVar6 + 0x2a) & 0x200" (pointer_expression "*(ushort *)((int)puVar6 + 0x2a)" * (cast_expression "(ushort *)((int)puVar6 + 0x2a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "*(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;" (assignment_expression "*(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2" (pointer_expression "*(byte *)(puVar6 + 0xb)" * (cast_expression "(byte *)(puVar6 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb)" ( (binary_expression "puVar6 + 0xb" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2" (binary_expression "*(byte *)(puVar6 + 0xb) & 0xe0" (pointer_expression "*(byte *)(puVar6 + 0xb)" * (cast_expression "(byte *)(puVar6 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb)" ( (binary_expression "puVar6 + 0xb" identifier + number_literal) )))) & number_literal) | (binary_expression "(param_4 == (undefined4 *)0x5) << 2" (parenthesized_expression "(param_4 == (undefined4 *)0x5)" ( (binary_expression "param_4 == (undefined4 *)0x5" identifier == (cast_expression "(undefined4 *)0x5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) << number_literal))) ;) (expression_statement "puVar6[0xc] = param_6;" (assignment_expression "puVar6[0xc] = param_6" (subscript_expression "puVar6[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[0xd] = param_7;" (assignment_expression "puVar6[0xd] = param_7" (subscript_expression "puVar6[0xd]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }" if (parenthesized_expression "(local_20[0] == (undefined4 *)0x0)" ( (binary_expression "local_20[0] == (undefined4 *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }" { (if_statement "if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }" if (parenthesized_expression "((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0'))))" ( (binary_expression "(param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))" (parenthesized_expression "(param_9 != 0)" ( (binary_expression "param_9 != 0" identifier != number_literal) )) && (parenthesized_expression "((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))" ( (parenthesized_expression "(cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0'))" ( (comma_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')" (assignment_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" identifier = (call_expression "FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x154)" * (cast_expression "(undefined4 *)(param_1 + 0x154)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x154)" ( (binary_expression "param_1 + 0x154" identifier + number_literal) )))) , identifier , number_literal , (pointer_expression "&local_21" & identifier) )))) , (binary_expression "cVar5 == '\0'\n        || (local_21 != '\0')" (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }" { (if_statement "if (param_3 == 0) {\n        return puVar6;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar6;\n      }" { (return_statement "return puVar6;" return identifier ;) })) (expression_statement "*(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;" (assignment_expression "*(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8" (pointer_expression "*(byte *)((int)puVar6 + 0x2a)" * (cast_expression "(byte *)((int)puVar6 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)puVar6 + 0x2a) | 8" (pointer_expression "*(byte *)((int)puVar6 + 0x2a)" * (cast_expression "(byte *)((int)puVar6 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) | number_literal)) ;) (return_statement "return puVar6;" return identifier ;) })) (expression_statement "FUN_001236a0(param_1,puVar6);" (call_expression "FUN_001236a0(param_1,puVar6)" identifier (argument_list "(param_1,puVar6)" ( identifier , identifier ))) ;) (return_statement "return puVar6;" return identifier ;) })) (expression_statement "puVar10 = param_4;" (assignment_expression "puVar10 = param_4" identifier = identifier) ;) (expression_statement "cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);" (assignment_expression "cVar5 = FUN_00163bf0(local_20[0],param_8,param_4)" identifier = (call_expression "FUN_00163bf0(local_20[0],param_8,param_4)" identifier (argument_list "(local_20[0],param_8,param_4)" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }" { (expression_statement "puVar10 = puVar6;" (assignment_expression "puVar10 = puVar6" identifier = identifier) ;) (expression_statement "FUN_00164c80(param_1,local_20[0],puVar6);" (call_expression "FUN_00164c80(param_1,local_20[0],puVar6)" identifier (argument_list "(param_1,local_20[0],puVar6)" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier ))) ;) })) (if_statement "if (local_22 != '\0') {\n    return puVar6;\n  }" if (parenthesized_expression "(local_22 != '\0')" ( (binary_expression "local_22 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return puVar6;\n  }" { (return_statement "return puVar6;" return identifier ;) })) (if_statement "if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }" if (parenthesized_expression "(param_9 != 0)" ( (binary_expression "param_9 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }" { (expression_statement "pcVar9 = &local_21;" (assignment_expression "pcVar9 = &local_21" identifier = (pointer_expression "&local_21" & identifier)) ;) (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);" (assignment_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" identifier = (call_expression "FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x154)" * (cast_expression "(undefined4 *)(param_1 + 0x154)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x154)" ( (binary_expression "param_1 + 0x154" identifier + number_literal) )))) , identifier , number_literal , identifier )))) ;) (if_statement "if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;" if (parenthesized_expression "((cVar5 == '\0') || (local_21 != '\0'))" ( (binary_expression "(cVar5 == '\0') || (local_21 != '\0')" (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0012c90f;" goto statement_identifier ;)) })) (expression_statement "FUN_001236a0(param_1,local_20[0]);" (call_expression "FUN_001236a0(param_1,local_20[0])" identifier (argument_list "(param_1,local_20[0])" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) (labeled_statement "LAB_0012c90f:\n  iVar8 = puVar6[9];" statement_identifier : (expression_statement "iVar8 = puVar6[9];" (assignment_expression "iVar8 = puVar6[9]" identifier = (subscript_expression "puVar6[9]" identifier [ number_literal ])) ;)) (if_statement "if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }" { (expression_statement "iVar1 = *(int *)(iVar8 + 8);" (assignment_expression "iVar1 = *(int *)(iVar8 + 8)" identifier = (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }" { (expression_statement "iVar7 = *(int *)(iVar1 + 8);" (assignment_expression "iVar7 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }" { (expression_statement "iVar2 = *(int *)(iVar7 + 8);" (assignment_expression "iVar2 = *(int *)(iVar7 + 8)" identifier = (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }" { (expression_statement "iVar11 = *(int *)(iVar2 + 8);" (assignment_expression "iVar11 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }" { (expression_statement "iVar3 = *(int *)(iVar11 + 8);" (assignment_expression "iVar3 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }" { (expression_statement "FUN_001264b0(iVar3);" (call_expression "FUN_001264b0(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "FUN_00180780(iVar3,0xc);" (call_expression "FUN_00180780(iVar3,0xc)" identifier (argument_list "(iVar3,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "FUN_00180780(iVar11,0xc);" (call_expression "FUN_00180780(iVar11,0xc)" identifier (argument_list "(iVar11,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);" (call_expression "FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7)" identifier (argument_list "(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7)" ( identifier , number_literal , identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);" (call_expression "FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8)" identifier (argument_list "(iVar7,0xc,puVar10,pcVar9,iVar8)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);" (call_expression "FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8)" identifier (argument_list "(iVar1,0xc,puVar10,pcVar9,iVar8)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00180780(iVar8,0xc);" (call_expression "FUN_00180780(iVar8,0xc)" identifier (argument_list "(iVar8,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "FUN_00180780(puVar6,0x38);" (call_expression "FUN_00180780(puVar6,0x38)" identifier (argument_list "(puVar6,0x38)" ( identifier , number_literal ))) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })))
(translation_unit "/* WARNING: Enum "STT": Some values do not have unique names */\n/* WARNING: Enum "STB": Some values do not have unique names */\n/* DWARF original prototype: Sized_symbol<32> * do_define_in_output_segment<32>(Symbol_table * this,\n   char * name, char * version, Defined defined, Output_segment * os, Elf_Addr value, Elf_WXword\n   symsize, STT type, STB binding, STV visibility, uchar nonvis, Segment_offset_base offset_base,\n   bool only_if_ref) */\n\nSized_symbol<32> * __thiscall\ngold::Symbol_table::do_define_in_output_segment<32>\n          (Symbol_table *this,char *name,char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref)\n\n{\n  undefined1 *puVar1;\n  ushort uVar2;\n  int iVar3;\n  Got_offset_list *pGVar4;\n  Got_offset_list *pGVar5;\n  Got_offset_list *pGVar6;\n  Got_offset_list *pGVar7;\n  Got_offset_list *pGVar8;\n  Got_offset_list *this_00;\n  STV SVar9;\n  int iVar10;\n  bool bVar11;\n  Sized_symbol<32> *fromsym;\n  int unaff_EDI;\n  undefined3 in_stack_0000002d;\n  undefined3 in_stack_00000035;\n  Sized_symbol<32> *__in_chrg;\n  bool resolve_oldsym;\n  bool is_global;\n  Sized_symbol<32> *oldsym;\n  \n  __x86_get_pc_thunk_di();\n  iVar10 = _nonvis;\n  SVar9 = visibility;\n  iVar3 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9));\n  }\n  if (*(char *)(*(int *)(iVar3 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1));\n  }\n  fromsym = define_special_symbol<32,_false>\n                      (this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL);\n  if (fromsym != (Sized_symbol<32> *)0x0) {\n    (fromsym->super_Symbol).symtab_index_ = 0;\n    (fromsym->super_Symbol).version_ = version;\n    (fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3;\n    (fromsym->super_Symbol).name_ = name;\n    (fromsym->super_Symbol).dynsym_index_ = 0;\n    (fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4;\n    (fromsym->super_Symbol).plt_offset_ = 0xffffffff;\n    (fromsym->super_Symbol).u1_.output_segment = os;\n    (fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff;\n    (fromsym->super_Symbol).u2_.offset_base = offset_base;\n    uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a;\n    (fromsym->super_Symbol).got_offsets_.got_offset_ = 0;\n    (fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0;\n    *(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082;\n    (fromsym->super_Symbol).field_0x2c =\n         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2;\n    fromsym->value_ = value;\n    fromsym->symsize_ = symsize;\n    if (oldsym == (Sized_symbol<32> *)0x0) {\n      if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }\n      if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }\n    }\n    else {\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }\n  }\n  return fromsym;\n}\n\n" comment comment comment (ERROR "Sized_symbol<32> * __thiscall\ngold::Symbol_table::do_define_in_output_segment<32>\n          (Symbol_table *this,char *name,char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref)" (binary_expression "Sized_symbol<32> * __thiscall\ngold::Symbol_table::do_define_in_output_segment<32>\n          (Symbol_table *this,char *name,char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref)" (binary_expression "Sized_symbol<32> * __thiscall\ngold::Symbol_table::do_define_in_output_segment<32" (binary_expression "Sized_symbol<32> * __thiscall\ngold::Symbol_table::do_define_in_output_segment" (binary_expression "Sized_symbol<32" identifier < number_literal) > (ERROR "* __thiscall\ngold::Symbol_table::" (pointer_expression "* __thiscall" * identifier) identifier : : identifier : :) identifier) < number_literal) > (parenthesized_expression "(Symbol_table *this,char *name,char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref)" ( (comma_expression "Symbol_table *this,char *name,char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref" (binary_expression "Symbol_table *this" identifier * identifier) , (comma_expression "char *name,char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref" (binary_expression "char *name" identifier * identifier) , (comma_expression "char *version,Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref" (binary_expression "char *version" identifier * identifier) , (ERROR "Defined defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB" identifier (comma_expression "defined,Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB" identifier , (comma_expression "Output_segment *os,\n          Elf_Addr value,Elf_WXword symsize,STT type,STB" (binary_expression "Output_segment *os" identifier * identifier) , (comma_expression "Elf_Addr value,Elf_WXword symsize,STT type,STB" identifier (ERROR "value" identifier) , (comma_expression "Elf_WXword symsize,STT type,STB" identifier (ERROR "symsize" identifier) , (ERROR "STT" identifier) (comma_expression "type,STB" identifier , identifier)))))) (comma_expression "binding,STV visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref" identifier , (ERROR "STV" identifier) (comma_expression "visibility,uchar nonvis,\n          Segment_offset_base offset_base,bool only_if_ref" identifier , (ERROR "uchar" identifier) (comma_expression "nonvis,\n          Segment_offset_base offset_base,bool only_if_ref" identifier , (comma_expression "Segment_offset_base offset_base,bool only_if_ref" identifier (ERROR "offset_base" identifier) , (ERROR "bool" identifier) identifier))))))) )))) (compound_statement "{\n  undefined1 *puVar1;\n  ushort uVar2;\n  int iVar3;\n  Got_offset_list *pGVar4;\n  Got_offset_list *pGVar5;\n  Got_offset_list *pGVar6;\n  Got_offset_list *pGVar7;\n  Got_offset_list *pGVar8;\n  Got_offset_list *this_00;\n  STV SVar9;\n  int iVar10;\n  bool bVar11;\n  Sized_symbol<32> *fromsym;\n  int unaff_EDI;\n  undefined3 in_stack_0000002d;\n  undefined3 in_stack_00000035;\n  Sized_symbol<32> *__in_chrg;\n  bool resolve_oldsym;\n  bool is_global;\n  Sized_symbol<32> *oldsym;\n  \n  __x86_get_pc_thunk_di();\n  iVar10 = _nonvis;\n  SVar9 = visibility;\n  iVar3 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9));\n  }\n  if (*(char *)(*(int *)(iVar3 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1));\n  }\n  fromsym = define_special_symbol<32,_false>\n                      (this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL);\n  if (fromsym != (Sized_symbol<32> *)0x0) {\n    (fromsym->super_Symbol).symtab_index_ = 0;\n    (fromsym->super_Symbol).version_ = version;\n    (fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3;\n    (fromsym->super_Symbol).name_ = name;\n    (fromsym->super_Symbol).dynsym_index_ = 0;\n    (fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4;\n    (fromsym->super_Symbol).plt_offset_ = 0xffffffff;\n    (fromsym->super_Symbol).u1_.output_segment = os;\n    (fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff;\n    (fromsym->super_Symbol).u2_.offset_base = offset_base;\n    uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a;\n    (fromsym->super_Symbol).got_offsets_.got_offset_ = 0;\n    (fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0;\n    *(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082;\n    (fromsym->super_Symbol).field_0x2c =\n         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2;\n    fromsym->value_ = value;\n    fromsym->symsize_ = symsize;\n    if (oldsym == (Sized_symbol<32> *)0x0) {\n      if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }\n      if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }\n    }\n    else {\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }\n  }\n  return fromsym;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Got_offset_list *pGVar4;" type_identifier (pointer_declarator "*pGVar4" * identifier) ;) (declaration "Got_offset_list *pGVar5;" type_identifier (pointer_declarator "*pGVar5" * identifier) ;) (declaration "Got_offset_list *pGVar6;" type_identifier (pointer_declarator "*pGVar6" * identifier) ;) (declaration "Got_offset_list *pGVar7;" type_identifier (pointer_declarator "*pGVar7" * identifier) ;) (declaration "Got_offset_list *pGVar8;" type_identifier (pointer_declarator "*pGVar8" * identifier) ;) (declaration "Got_offset_list *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "STV SVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (expression_statement "Sized_symbol<32> *fromsym;" (binary_expression "Sized_symbol<32> *fromsym" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*fromsym" * identifier)) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined3 in_stack_0000002d;" type_identifier identifier ;) (declaration "undefined3 in_stack_00000035;" type_identifier identifier ;) (expression_statement "Sized_symbol<32> *__in_chrg;" (binary_expression "Sized_symbol<32> *__in_chrg" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*__in_chrg" * identifier)) ;) (declaration "bool resolve_oldsym;" primitive_type identifier ;) (declaration "bool is_global;" primitive_type identifier ;) (expression_statement "Sized_symbol<32> *oldsym;" (binary_expression "Sized_symbol<32> *oldsym" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*oldsym" * identifier)) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar10 = _nonvis;" (assignment_expression "iVar10 = _nonvis" identifier = identifier) ;) (expression_statement "SVar9 = visibility;" (assignment_expression "SVar9 = visibility" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);" (assignment_expression "iVar3 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" identifier = (pointer_expression "*(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" * (cast_expression "(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" ( (binary_expression "*(int *)(unaff_EDI + 0x1d5bd1) + 0xc" (pointer_expression "*(int *)(unaff_EDI + 0x1d5bd1)" * (cast_expression "(int *)(unaff_EDI + 0x1d5bd1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1d5bd1)" ( (binary_expression "unaff_EDI + 0x1d5bd1" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9));\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9));\n  }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9));" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9))" identifier (argument_list "((char *)(unaff_EDI + 0xf41c9),0x69,(char *)(unaff_EDI + 0x104ac9))" ( (cast_expression "(char *)(unaff_EDI + 0xf41c9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xf41c9)" ( (binary_expression "unaff_EDI + 0xf41c9" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x104ac9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x104ac9)" ( (binary_expression "unaff_EDI + 0x104ac9" identifier + number_literal) ))) ))) ;) })) (if_statement "if (*(char *)(*(int *)(iVar3 + 4) + 4) != '\0') {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1));\n  }" if (parenthesized_expression "(*(char *)(*(int *)(iVar3 + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(iVar3 + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar3 + 4) + 4)" * (cast_expression "(char *)(*(int *)(iVar3 + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 4) + 4)" ( (binary_expression "*(int *)(iVar3 + 4) + 4" (pointer_expression "*(int *)(iVar3 + 4)" * (cast_expression "(int *)(iVar3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1));\n  }" { comment (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1));" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1))" identifier (argument_list "((char *)(unaff_EDI + 0x10406a),0x866,(char *)(unaff_EDI + 0x1048d1))" ( (cast_expression "(char *)(unaff_EDI + 0x10406a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x10406a)" ( (binary_expression "unaff_EDI + 0x10406a" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1048d1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1048d1)" ( (binary_expression "unaff_EDI + 0x1048d1" identifier + number_literal) ))) ))) ;) })) (expression_statement "fromsym = define_special_symbol<32,_false>\n                      (this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL);" (comma_expression "fromsym = define_special_symbol<32,_false>\n                      (this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL)" (assignment_expression "fromsym = define_special_symbol<32" identifier = (binary_expression "define_special_symbol<32" identifier < number_literal)) , (binary_expression "_false>\n                      (this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL)" identifier > (parenthesized_expression "(this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL)" ( (comma_expression "this,&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL" identifier , (comma_expression "&name,&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL" (pointer_expression "&name" & identifier) , (comma_expression "&version,SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL" (pointer_expression "&version" & identifier) , (comma_expression "SUB41(_only_if_ref,0),visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL" (call_expression "SUB41(_only_if_ref,0)" identifier (argument_list "(_only_if_ref,0)" ( identifier , number_literal ))) , (comma_expression "visibility,&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL" identifier , (comma_expression "&oldsym,&resolve_oldsym,\n                       binding == STB_LOCAL" (pointer_expression "&oldsym" & identifier) , (comma_expression "&resolve_oldsym,\n                       binding == STB_LOCAL" (pointer_expression "&resolve_oldsym" & identifier) , (binary_expression "binding == STB_LOCAL" identifier == identifier)))))))) )))) ;) (if_statement "if (fromsym != (Sized_symbol<32> *)0x0) {\n    (fromsym->super_Symbol).symtab_index_ = 0;\n    (fromsym->super_Symbol).version_ = version;\n    (fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3;\n    (fromsym->super_Symbol).name_ = name;\n    (fromsym->super_Symbol).dynsym_index_ = 0;\n    (fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4;\n    (fromsym->super_Symbol).plt_offset_ = 0xffffffff;\n    (fromsym->super_Symbol).u1_.output_segment = os;\n    (fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff;\n    (fromsym->super_Symbol).u2_.offset_base = offset_base;\n    uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a;\n    (fromsym->super_Symbol).got_offsets_.got_offset_ = 0;\n    (fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0;\n    *(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082;\n    (fromsym->super_Symbol).field_0x2c =\n         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2;\n    fromsym->value_ = value;\n    fromsym->symsize_ = symsize;\n    if (oldsym == (Sized_symbol<32> *)0x0) {\n      if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }\n      if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }\n    }\n    else {\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }\n  }" if (parenthesized_expression "(fromsym != (Sized_symbol<32> *)0x0)" ( (binary_expression "fromsym != (Sized_symbol<32> *)0x0)" identifier != (parenthesized_expression "(Sized_symbol<32> *)0x0)" ( (binary_expression "Sized_symbol<32> *)0x0" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n    (fromsym->super_Symbol).symtab_index_ = 0;\n    (fromsym->super_Symbol).version_ = version;\n    (fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3;\n    (fromsym->super_Symbol).name_ = name;\n    (fromsym->super_Symbol).dynsym_index_ = 0;\n    (fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4;\n    (fromsym->super_Symbol).plt_offset_ = 0xffffffff;\n    (fromsym->super_Symbol).u1_.output_segment = os;\n    (fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff;\n    (fromsym->super_Symbol).u2_.offset_base = offset_base;\n    uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a;\n    (fromsym->super_Symbol).got_offsets_.got_offset_ = 0;\n    (fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0;\n    *(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082;\n    (fromsym->super_Symbol).field_0x2c =\n         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2;\n    fromsym->value_ = value;\n    fromsym->symsize_ = symsize;\n    if (oldsym == (Sized_symbol<32> *)0x0) {\n      if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }\n      if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }\n    }\n    else {\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }\n  }" { (expression_statement "(fromsym->super_Symbol).symtab_index_ = 0;" (assignment_expression "(fromsym->super_Symbol).symtab_index_ = 0" (field_expression "(fromsym->super_Symbol).symtab_index_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(fromsym->super_Symbol).version_ = version;" (assignment_expression "(fromsym->super_Symbol).version_ = version" (field_expression "(fromsym->super_Symbol).version_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3;" (assignment_expression "(fromsym->super_Symbol).field_0x29 = (byte)(iVar10 << 2) | (byte)SVar9 & 3" (field_expression "(fromsym->super_Symbol).field_0x29" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(byte)(iVar10 << 2) | (byte)SVar9 & 3" (call_expression "(byte)(iVar10 << 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar10 << 2)" ( (binary_expression "iVar10 << 2" identifier << number_literal) ))) | (binary_expression "(byte)SVar9 & 3" (cast_expression "(byte)SVar9" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal))) ;) (expression_statement "(fromsym->super_Symbol).name_ = name;" (assignment_expression "(fromsym->super_Symbol).name_ = name" (field_expression "(fromsym->super_Symbol).name_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(fromsym->super_Symbol).dynsym_index_ = 0;" (assignment_expression "(fromsym->super_Symbol).dynsym_index_ = 0" (field_expression "(fromsym->super_Symbol).dynsym_index_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4;" (assignment_expression "(fromsym->super_Symbol).field_0x28 = (undefined1)type & STT_HIPROC | (undefined1)binding << 4" (field_expression "(fromsym->super_Symbol).field_0x28" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(undefined1)type & STT_HIPROC | (undefined1)binding << 4" (binary_expression "(undefined1)type & STT_HIPROC" (cast_expression "(undefined1)type" ( (type_descriptor "undefined1" type_identifier) ) identifier) & identifier) | (binary_expression "(undefined1)binding << 4" (cast_expression "(undefined1)binding" ( (type_descriptor "undefined1" type_identifier) ) identifier) << number_literal))) ;) (expression_statement "(fromsym->super_Symbol).plt_offset_ = 0xffffffff;" (assignment_expression "(fromsym->super_Symbol).plt_offset_ = 0xffffffff" (field_expression "(fromsym->super_Symbol).plt_offset_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(fromsym->super_Symbol).u1_.output_segment = os;" (assignment_expression "(fromsym->super_Symbol).u1_.output_segment = os" (field_expression "(fromsym->super_Symbol).u1_.output_segment" (field_expression "(fromsym->super_Symbol).u1_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff;" (assignment_expression "(fromsym->super_Symbol).got_offsets_.got_type_ = 0xffffffff" (field_expression "(fromsym->super_Symbol).got_offsets_.got_type_" (field_expression "(fromsym->super_Symbol).got_offsets_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(fromsym->super_Symbol).u2_.offset_base = offset_base;" (assignment_expression "(fromsym->super_Symbol).u2_.offset_base = offset_base" (field_expression "(fromsym->super_Symbol).u2_.offset_base" (field_expression "(fromsym->super_Symbol).u2_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a;" (assignment_expression "uVar2 = *(ushort *)&(fromsym->super_Symbol).field_0x2a" identifier = (pointer_expression "*(ushort *)&(fromsym->super_Symbol).field_0x2a" * (cast_expression "(ushort *)&(fromsym->super_Symbol).field_0x2a" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(fromsym->super_Symbol).field_0x2a" & (field_expression "(fromsym->super_Symbol).field_0x2a" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier))))) ;) (expression_statement "(fromsym->super_Symbol).got_offsets_.got_offset_ = 0;" (assignment_expression "(fromsym->super_Symbol).got_offsets_.got_offset_ = 0" (field_expression "(fromsym->super_Symbol).got_offsets_.got_offset_" (field_expression "(fromsym->super_Symbol).got_offsets_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0;" (assignment_expression "(fromsym->super_Symbol).got_offsets_.got_next_ = (Got_offset_list *)0x0" (field_expression "(fromsym->super_Symbol).got_offsets_.got_next_" (field_expression "(fromsym->super_Symbol).got_offsets_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082;" (assignment_expression "*(ushort *)&(fromsym->super_Symbol).field_0x2a = uVar2 & 0x200 | 0x4082" (pointer_expression "*(ushort *)&(fromsym->super_Symbol).field_0x2a" * (cast_expression "(ushort *)&(fromsym->super_Symbol).field_0x2a" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(fromsym->super_Symbol).field_0x2a" & (field_expression "(fromsym->super_Symbol).field_0x2a" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier)))) = (binary_expression "uVar2 & 0x200 | 0x4082" (binary_expression "uVar2 & 0x200" identifier & number_literal) | number_literal)) ;) (expression_statement "(fromsym->super_Symbol).field_0x2c =\n         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2;" (assignment_expression "(fromsym->super_Symbol).field_0x2c =\n         (fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2" (field_expression "(fromsym->super_Symbol).field_0x2c" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(fromsym->super_Symbol).field_0x2c & 0xe0 | (defined == PREDEFINED) << 2" (binary_expression "(fromsym->super_Symbol).field_0x2c & 0xe0" (field_expression "(fromsym->super_Symbol).field_0x2c" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) & number_literal) | (binary_expression "(defined == PREDEFINED) << 2" (parenthesized_expression "(defined == PREDEFINED)" ( (binary_expression "defined == PREDEFINED" identifier == identifier) )) << number_literal))) ;) (expression_statement "fromsym->value_ = value;" (assignment_expression "fromsym->value_ = value" (field_expression "fromsym->value_" identifier -> field_identifier) = identifier) ;) (expression_statement "fromsym->symsize_ = symsize;" (assignment_expression "fromsym->symsize_ = symsize" (field_expression "fromsym->symsize_" identifier -> field_identifier) = identifier) ;) (if_statement "if (oldsym == (Sized_symbol<32> *)0x0) {\n      if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }\n      if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }\n    }\n    else {\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }" if (parenthesized_expression "(oldsym == (Sized_symbol<32> *)0x0)" ( (binary_expression "oldsym == (Sized_symbol<32> *)0x0)" identifier == (parenthesized_expression "(Sized_symbol<32> *)0x0)" ( (binary_expression "Sized_symbol<32> *)0x0" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n      if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }\n      if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }\n    }" { (if_statement "if ((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))) {\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }" if (parenthesized_expression "((binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false))))" ( (binary_expression "(binding == STB_LOCAL) ||\n         ((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))" (parenthesized_expression "(binding == STB_LOCAL)" ( (binary_expression "binding == STB_LOCAL" identifier == identifier) )) || (parenthesized_expression "((bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)))" ( (parenthesized_expression "(bVar11 = Version_script_info::get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false))" ( (ERROR "bVar11 = Version_script_info::" (assignment_expression "bVar11 = Version_script_info" identifier = identifier) : :) (comma_expression "get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n          (is_global == false)" (call_expression "get_symbol_version\n                              (this->version_script_,name,(string *)0x0,&is_global)" identifier (argument_list "(this->version_script_,name,(string *)0x0,&is_global)" ( (field_expression "this->version_script_" identifier -> field_identifier) , identifier , (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "&is_global" & identifier) ))) , (binary_expression "bVar11 &&\n          (is_global == false)" identifier && (parenthesized_expression "(is_global == false)" ( (binary_expression "is_global == false" identifier == false) )))) )) ))) )) (compound_statement "{\n        force_local(this,&fromsym->super_Symbol);\n        return fromsym;\n      }" { (expression_statement "force_local(this,&fromsym->super_Symbol);" (call_expression "force_local(this,&fromsym->super_Symbol)" identifier (argument_list "(this,&fromsym->super_Symbol)" ( identifier , (pointer_expression "&fromsym->super_Symbol" & (field_expression "fromsym->super_Symbol" identifier -> field_identifier)) ))) ;) (return_statement "return fromsym;" return identifier ;) })) (if_statement "if (version != (char *)0x0) {\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }" if (parenthesized_expression "(version != (char *)0x0)" ( (binary_expression "version != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar1 = &(fromsym->super_Symbol).field_0x2a;\n        *puVar1 = *puVar1 | 8;\n      }" { (expression_statement "puVar1 = &(fromsym->super_Symbol).field_0x2a;" (assignment_expression "puVar1 = &(fromsym->super_Symbol).field_0x2a" identifier = (pointer_expression "&(fromsym->super_Symbol).field_0x2a" & (field_expression "(fromsym->super_Symbol).field_0x2a" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 8;" (assignment_expression "*puVar1 = *puVar1 | 8" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 8" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) }) (else_clause "else {\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }" else (compound_statement "{\n      bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);\n      if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }\n      if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }\n    }" { (expression_statement "bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined);" (assignment_expression "bVar11 = should_override_with_special(&oldsym->super_Symbol,type,defined)" identifier = (call_expression "should_override_with_special(&oldsym->super_Symbol,type,defined)" identifier (argument_list "(&oldsym->super_Symbol,type,defined)" ( (pointer_expression "&oldsym->super_Symbol" & (field_expression "oldsym->super_Symbol" identifier -> field_identifier)) , identifier , identifier )))) ;) (if_statement "if (bVar11) {\n        override_with_special<32>(this,oldsym,fromsym);\n      }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n        override_with_special<32>(this,oldsym,fromsym);\n      }" { (expression_statement "override_with_special<32>(this,oldsym,fromsym);" (binary_expression "override_with_special<32>(this,oldsym,fromsym)" (binary_expression "override_with_special<32" identifier < number_literal) > (parenthesized_expression "(this,oldsym,fromsym)" ( (comma_expression "this,oldsym,fromsym" identifier , (comma_expression "oldsym,fromsym" identifier , identifier)) ))) ;) })) (if_statement "if (resolve_oldsym == false) {\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }" if (parenthesized_expression "(resolve_oldsym == false)" ( (binary_expression "resolve_oldsym == false" identifier == false) )) (compound_statement "{\n        if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }\n        pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;\n        if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }\n        operator_delete(fromsym,0x38);\n        return oldsym;\n      }" { (if_statement "if ((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))) {\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }" if (parenthesized_expression "((binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false))))" ( (binary_expression "(binding == STB_LOCAL) ||\n           ((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false))))" (parenthesized_expression "(binding == STB_LOCAL)" ( (binary_expression "binding == STB_LOCAL" identifier == identifier) )) || (parenthesized_expression "((__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false))))" ( (parenthesized_expression "(__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)))" ( (assignment_expression "__in_chrg = (Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false))" identifier = (parenthesized_expression "(Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false))" ( (ERROR "Sized_symbol<32> *)name,\n            bVar11 = Version_script_info::" (comma_expression "Sized_symbol<32> *)name,\n            bVar11 = Version_script_info" (binary_expression "Sized_symbol<32> *)name" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*)name" * (ERROR ")" )) identifier)) , (assignment_expression "bVar11 = Version_script_info" identifier = identifier)) : :) (comma_expression "get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global), bVar11 &&\n            (is_global == false)" (call_expression "get_symbol_version\n                               (this->version_script_,name,(string *)0x0,&is_global)" identifier (argument_list "(this->version_script_,name,(string *)0x0,&is_global)" ( (field_expression "this->version_script_" identifier -> field_identifier) , identifier , (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "&is_global" & identifier) ))) , (binary_expression "bVar11 &&\n            (is_global == false)" identifier && (parenthesized_expression "(is_global == false)" ( (binary_expression "is_global == false" identifier == false) )))) ))) )) ))) )) (compound_statement "{\n          __in_chrg = oldsym;\n          force_local(this,&oldsym->super_Symbol);\n        }" { (expression_statement "__in_chrg = oldsym;" (assignment_expression "__in_chrg = oldsym" identifier = identifier) ;) (expression_statement "force_local(this,&oldsym->super_Symbol);" (call_expression "force_local(this,&oldsym->super_Symbol)" identifier (argument_list "(this,&oldsym->super_Symbol)" ( identifier , (pointer_expression "&oldsym->super_Symbol" & (field_expression "oldsym->super_Symbol" identifier -> field_identifier)) ))) ;) })) (expression_statement "pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_;" (assignment_expression "pGVar4 = (fromsym->super_Symbol).got_offsets_.got_next_" identifier = (field_expression "(fromsym->super_Symbol).got_offsets_.got_next_" (field_expression "(fromsym->super_Symbol).got_offsets_" (parenthesized_expression "(fromsym->super_Symbol)" ( (field_expression "fromsym->super_Symbol" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (pGVar4 != (Got_offset_list *)0x0) {\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }" if (parenthesized_expression "(pGVar4 != (Got_offset_list *)0x0)" ( (binary_expression "pGVar4 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pGVar5 = pGVar4->got_next_;\n          if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }\n          operator_delete(pGVar4,0xc);\n        }" { (expression_statement "pGVar5 = pGVar4->got_next_;" (assignment_expression "pGVar5 = pGVar4->got_next_" identifier = (field_expression "pGVar4->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar5 != (Got_offset_list *)0x0) {\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }" if (parenthesized_expression "(pGVar5 != (Got_offset_list *)0x0)" ( (binary_expression "pGVar5 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pGVar6 = pGVar5->got_next_;\n            if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }\n            operator_delete(pGVar5,0xc);\n          }" { (expression_statement "pGVar6 = pGVar5->got_next_;" (assignment_expression "pGVar6 = pGVar5->got_next_" identifier = (field_expression "pGVar5->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar6 != (Got_offset_list *)0x0) {\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }" if (parenthesized_expression "(pGVar6 != (Got_offset_list *)0x0)" ( (binary_expression "pGVar6 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pGVar7 = pGVar6->got_next_;\n              if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }\n              operator_delete(pGVar6,0xc);\n            }" { (expression_statement "pGVar7 = pGVar6->got_next_;" (assignment_expression "pGVar7 = pGVar6->got_next_" identifier = (field_expression "pGVar6->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar7 != (Got_offset_list *)0x0) {\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }" if (parenthesized_expression "(pGVar7 != (Got_offset_list *)0x0)" ( (binary_expression "pGVar7 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pGVar8 = pGVar7->got_next_;\n                if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }\n                operator_delete(pGVar7,0xc);\n              }" { (expression_statement "pGVar8 = pGVar7->got_next_;" (assignment_expression "pGVar8 = pGVar7->got_next_" identifier = (field_expression "pGVar7->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar8 != (Got_offset_list *)0x0) {\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }" if (parenthesized_expression "(pGVar8 != (Got_offset_list *)0x0)" ( (binary_expression "pGVar8 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  this_00 = pGVar8->got_next_;\n                  if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }\n                  operator_delete(pGVar8,0xc);\n                }" { (expression_statement "this_00 = pGVar8->got_next_;" (assignment_expression "this_00 = pGVar8->got_next_" identifier = (field_expression "pGVar8->got_next_" identifier -> field_identifier)) ;) (if_statement "if (this_00 != (Got_offset_list *)0x0) {\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }" if (parenthesized_expression "(this_00 != (Got_offset_list *)0x0)" ( (binary_expression "this_00 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);\n                    operator_delete(this_00,0xc);\n                  }" { (labeled_statement "Got_offset_list::~Got_offset_list(this_00,(int)__in_chrg);" statement_identifier : (ERROR ":" :) (expression_statement "~Got_offset_list(this_00,(int)__in_chrg);" (unary_expression "~Got_offset_list(this_00,(int)__in_chrg)" ~ (call_expression "Got_offset_list(this_00,(int)__in_chrg)" identifier (argument_list "(this_00,(int)__in_chrg)" ( identifier , (cast_expression "(int)__in_chrg" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;)) (expression_statement "operator_delete(this_00,0xc);" (call_expression "operator_delete(this_00,0xc)" identifier (argument_list "(this_00,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "operator_delete(pGVar8,0xc);" (call_expression "operator_delete(pGVar8,0xc)" identifier (argument_list "(pGVar8,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "operator_delete(pGVar7,0xc);" (call_expression "operator_delete(pGVar7,0xc)" identifier (argument_list "(pGVar7,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "operator_delete(pGVar6,0xc);" (call_expression "operator_delete(pGVar6,0xc)" identifier (argument_list "(pGVar6,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "operator_delete(pGVar5,0xc);" (call_expression "operator_delete(pGVar5,0xc)" identifier (argument_list "(pGVar5,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "operator_delete(pGVar4,0xc);" (call_expression "operator_delete(pGVar4,0xc)" identifier (argument_list "(pGVar4,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "operator_delete(fromsym,0x38);" (call_expression "operator_delete(fromsym,0x38)" identifier (argument_list "(fromsym,0x38)" ( identifier , number_literal ))) ;) (return_statement "return oldsym;" return identifier ;) })) }))) })) (return_statement "return fromsym;" return identifier ;) }))
(translation_unit "undefined4 *\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}\n\n" (function_definition "undefined4 *\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}" type_identifier (pointer_declarator "*\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" * (function_declarator "FUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "undefined4 param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "undefined4 param_12" type_identifier identifier) , (parameter_declaration "uint param_13" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char local_22;" primitive_type identifier ;) (declaration "char local_21;" primitive_type identifier ;) (declaration "undefined4 *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = param_11;" (assignment_expression "iVar1 = param_11" identifier = identifier) ;) (expression_statement "uVar4 = param_10;" (assignment_expression "uVar4 = param_10" identifier = identifier) ;) (expression_statement "iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);" (assignment_expression "iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" identifier = (pointer_expression "*(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" * (cast_expression "(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" ( (binary_expression "*(int *)(unaff_EDI + 0x1d5bd1) + 0xc" (pointer_expression "*(int *)(unaff_EDI + 0x1d5bd1)" * (cast_expression "(int *)(unaff_EDI + 0x1d5bd1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1d5bd1)" ( (binary_expression "unaff_EDI + 0x1d5bd1" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }" { (expression_statement "FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);" (call_expression "FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13)" identifier (argument_list "(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13)" ( (binary_expression "unaff_EDI + 0xf41c9" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x104ac9" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }" if (parenthesized_expression "(*(char *)(*(int *)(iVar8 + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(iVar8 + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar8 + 4) + 4)" * (cast_expression "(char *)(*(int *)(iVar8 + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 4) + 4)" ( (binary_expression "*(int *)(iVar8 + 4) + 4" (pointer_expression "*(int *)(iVar8 + 4)" * (cast_expression "(int *)(iVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 4)" ( (binary_expression "iVar8 + 4" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }" { (expression_statement "FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);" (call_expression "FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13)" identifier (argument_list "(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13)" ( (binary_expression "unaff_EDI + 0x10406a" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x1048d1" identifier + number_literal) , identifier ))) ;) })) (expression_statement "pcVar9 = (char *)(uint)(param_9 == 0);" (assignment_expression "pcVar9 = (char *)(uint)(param_9 == 0)" identifier = (cast_expression "(char *)(uint)(param_9 == 0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(param_9 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_9 == 0)" ( (binary_expression "param_9 == 0" identifier == number_literal) ))))) ;) (expression_statement "puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );" (assignment_expression "puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" identifier = (cast_expression "(undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" identifier (argument_list "(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" ( identifier , (pointer_expression "&param_2" & identifier) , (pointer_expression "&param_3" & identifier) , (binary_expression "param_13 & 0xff" identifier & number_literal) , identifier , identifier , (pointer_expression "&local_22" & identifier) , identifier ))))) ;) (if_statement "if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }" if (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" ( (binary_expression "puVar6 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (undefined4 *)0x0;\n  }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[1] = param_3;" (assignment_expression "puVar6[1] = param_3" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;" (assignment_expression "*(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3" (pointer_expression "*(byte *)((int)puVar6 + 0x29)" * (cast_expression "(byte *)((int)puVar6 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x29)" ( (binary_expression "(int)puVar6 + 0x29" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(byte)(iVar1 << 2) | (byte)uVar4 & 3" (call_expression "(byte)(iVar1 << 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar1 << 2)" ( (binary_expression "iVar1 << 2" identifier << number_literal) ))) | (binary_expression "(byte)uVar4 & 3" (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal))) ;) (expression_statement "*puVar6 = param_2;" (assignment_expression "*puVar6 = param_2" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;" (assignment_expression "*(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4" (pointer_expression "*(byte *)(puVar6 + 10)" * (cast_expression "(byte *)(puVar6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 10)" ( (binary_expression "puVar6 + 10" identifier + number_literal) )))) = (binary_expression "(byte)param_8 & 0xf | (char)param_9 << 4" (binary_expression "(byte)param_8 & 0xf" (cast_expression "(byte)param_8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) | (binary_expression "(char)param_9 << 4" (cast_expression "(char)param_9" ( (type_descriptor "char" primitive_type) ) identifier) << number_literal))) ;) (expression_statement "puVar6[6] = 0xffffffff;" (assignment_expression "puVar6[6] = 0xffffffff" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[2] = param_5;" (assignment_expression "puVar6[2] = param_5" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[7] = 0xffffffff;" (assignment_expression "puVar6[7] = 0xffffffff" (subscript_expression "puVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[3] = param_12;" (assignment_expression "puVar6[3] = param_12" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[9] = 0;" (assignment_expression "puVar6[9] = 0" (subscript_expression "puVar6[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;" (assignment_expression "*(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082" (pointer_expression "*(ushort *)((int)puVar6 + 0x2a)" * (cast_expression "(ushort *)((int)puVar6 + 0x2a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082" (binary_expression "*(ushort *)((int)puVar6 + 0x2a) & 0x200" (pointer_expression "*(ushort *)((int)puVar6 + 0x2a)" * (cast_expression "(ushort *)((int)puVar6 + 0x2a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "*(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;" (assignment_expression "*(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2" (pointer_expression "*(byte *)(puVar6 + 0xb)" * (cast_expression "(byte *)(puVar6 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb)" ( (binary_expression "puVar6 + 0xb" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2" (binary_expression "*(byte *)(puVar6 + 0xb) & 0xe0" (pointer_expression "*(byte *)(puVar6 + 0xb)" * (cast_expression "(byte *)(puVar6 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb)" ( (binary_expression "puVar6 + 0xb" identifier + number_literal) )))) & number_literal) | (binary_expression "(param_4 == (undefined4 *)0x5) << 2" (parenthesized_expression "(param_4 == (undefined4 *)0x5)" ( (binary_expression "param_4 == (undefined4 *)0x5" identifier == (cast_expression "(undefined4 *)0x5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) << number_literal))) ;) (expression_statement "puVar6[0xc] = param_6;" (assignment_expression "puVar6[0xc] = param_6" (subscript_expression "puVar6[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[0xd] = param_7;" (assignment_expression "puVar6[0xd] = param_7" (subscript_expression "puVar6[0xd]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }" if (parenthesized_expression "(local_20[0] == (undefined4 *)0x0)" ( (binary_expression "local_20[0] == (undefined4 *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }" { (if_statement "if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }" if (parenthesized_expression "((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0'))))" ( (binary_expression "(param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))" (parenthesized_expression "(param_9 != 0)" ( (binary_expression "param_9 != 0" identifier != number_literal) )) && (parenthesized_expression "((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))" ( (parenthesized_expression "(cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0'))" ( (comma_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')" (assignment_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" identifier = (call_expression "FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x154)" * (cast_expression "(undefined4 *)(param_1 + 0x154)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x154)" ( (binary_expression "param_1 + 0x154" identifier + number_literal) )))) , identifier , number_literal , (pointer_expression "&local_21" & identifier) )))) , (binary_expression "cVar5 == '\0'\n        || (local_21 != '\0')" (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }" { (if_statement "if (param_3 == 0) {\n        return puVar6;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar6;\n      }" { (return_statement "return puVar6;" return identifier ;) })) (expression_statement "*(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;" (assignment_expression "*(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8" (pointer_expression "*(byte *)((int)puVar6 + 0x2a)" * (cast_expression "(byte *)((int)puVar6 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)puVar6 + 0x2a) | 8" (pointer_expression "*(byte *)((int)puVar6 + 0x2a)" * (cast_expression "(byte *)((int)puVar6 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x2a)" ( (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) | number_literal)) ;) (return_statement "return puVar6;" return identifier ;) })) (expression_statement "FUN_001236a0(param_1,puVar6);" (call_expression "FUN_001236a0(param_1,puVar6)" identifier (argument_list "(param_1,puVar6)" ( identifier , identifier ))) ;) (return_statement "return puVar6;" return identifier ;) })) (expression_statement "puVar10 = param_4;" (assignment_expression "puVar10 = param_4" identifier = identifier) ;) (expression_statement "cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);" (assignment_expression "cVar5 = FUN_00163bf0(local_20[0],param_8,param_4)" identifier = (call_expression "FUN_00163bf0(local_20[0],param_8,param_4)" identifier (argument_list "(local_20[0],param_8,param_4)" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }" { (expression_statement "puVar10 = puVar6;" (assignment_expression "puVar10 = puVar6" identifier = identifier) ;) (expression_statement "FUN_00164c80(param_1,local_20[0],puVar6);" (call_expression "FUN_00164c80(param_1,local_20[0],puVar6)" identifier (argument_list "(param_1,local_20[0],puVar6)" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier ))) ;) })) (if_statement "if (local_22 != '\0') {\n    return puVar6;\n  }" if (parenthesized_expression "(local_22 != '\0')" ( (binary_expression "local_22 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return puVar6;\n  }" { (return_statement "return puVar6;" return identifier ;) })) (if_statement "if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }" if (parenthesized_expression "(param_9 != 0)" ( (binary_expression "param_9 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }" { (expression_statement "pcVar9 = &local_21;" (assignment_expression "pcVar9 = &local_21" identifier = (pointer_expression "&local_21" & identifier)) ;) (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);" (assignment_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" identifier = (call_expression "FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x154)" * (cast_expression "(undefined4 *)(param_1 + 0x154)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x154)" ( (binary_expression "param_1 + 0x154" identifier + number_literal) )))) , identifier , number_literal , identifier )))) ;) (if_statement "if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;" if (parenthesized_expression "((cVar5 == '\0') || (local_21 != '\0'))" ( (binary_expression "(cVar5 == '\0') || (local_21 != '\0')" (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0012c90f;" goto statement_identifier ;)) })) (expression_statement "FUN_001236a0(param_1,local_20[0]);" (call_expression "FUN_001236a0(param_1,local_20[0])" identifier (argument_list "(param_1,local_20[0])" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) (labeled_statement "LAB_0012c90f:\n  iVar8 = puVar6[9];" statement_identifier : (expression_statement "iVar8 = puVar6[9];" (assignment_expression "iVar8 = puVar6[9]" identifier = (subscript_expression "puVar6[9]" identifier [ number_literal ])) ;)) (if_statement "if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }" { (expression_statement "iVar1 = *(int *)(iVar8 + 8);" (assignment_expression "iVar1 = *(int *)(iVar8 + 8)" identifier = (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }" { (expression_statement "iVar7 = *(int *)(iVar1 + 8);" (assignment_expression "iVar7 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }" { (expression_statement "iVar2 = *(int *)(iVar7 + 8);" (assignment_expression "iVar2 = *(int *)(iVar7 + 8)" identifier = (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }" { (expression_statement "iVar11 = *(int *)(iVar2 + 8);" (assignment_expression "iVar11 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }" { (expression_statement "iVar3 = *(int *)(iVar11 + 8);" (assignment_expression "iVar3 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }" { (expression_statement "FUN_001264b0(iVar3);" (call_expression "FUN_001264b0(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "FUN_00180780(iVar3,0xc);" (call_expression "FUN_00180780(iVar3,0xc)" identifier (argument_list "(iVar3,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "FUN_00180780(iVar11,0xc);" (call_expression "FUN_00180780(iVar11,0xc)" identifier (argument_list "(iVar11,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);" (call_expression "FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7)" identifier (argument_list "(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7)" ( identifier , number_literal , identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);" (call_expression "FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8)" identifier (argument_list "(iVar7,0xc,puVar10,pcVar9,iVar8)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);" (call_expression "FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8)" identifier (argument_list "(iVar1,0xc,puVar10,pcVar9,iVar8)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00180780(iVar8,0xc);" (call_expression "FUN_00180780(iVar8,0xc)" identifier (argument_list "(iVar8,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "FUN_00180780(puVar6,0x38);" (call_expression "FUN_00180780(puVar6,0x38)" identifier (argument_list "(puVar6,0x38)" ( identifier , number_literal ))) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (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 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 (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (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 IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (binary_expression IDENT & LIT) , IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT << LIT) ))) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (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 (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , (pointer_expression & IDENT) )))) , (binary_expression (binary_expression IDENT == (char_literal ' escape_sequence ')) || (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) | LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 IDENT != LIT) )) (compound_statement { (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 IDENT != LIT) )) (compound_statement { (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 IDENT != LIT) )) (compound_statement { (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 IDENT != LIT) )) (compound_statement { (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 IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return (subscript_expression IDENT [ LIT ]) ;) })))
(function_definition "undefined4 *\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" (* "*") (function_declarator "FUN_0012c7a0(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" (identifier "FUN_0012c7a0") (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10\n            ,int param_11,undefined4 param_12,uint param_13)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "int param_9" (primitive_type "int") (identifier "param_9")) (, ",") (parameter_declaration "undefined4 param_10" (type_identifier "undefined4") (identifier "param_10")) (, ",") (parameter_declaration "int param_11" (primitive_type "int") (identifier "param_11")) (, ",") (parameter_declaration "undefined4 param_12" (type_identifier "undefined4") (identifier "param_12")) (, ",") (parameter_declaration "uint param_13" (type_identifier "uint") (identifier "param_13")) () ")")))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int unaff_EDI;\n  undefined4 *puVar10;\n  int iVar11;\n  char local_22;\n  char local_21;\n  undefined4 *local_20 [4];\n  \n  FUN_0004fb7e();\n  iVar1 = param_11;\n  uVar4 = param_10;\n  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);\n  if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }\n  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }\n  pcVar9 = (char *)(uint)(param_9 == 0);\n  puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );\n  if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }\n  puVar6[4] = 0;\n  puVar6[1] = param_3;\n  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;\n  *puVar6 = param_2;\n  puVar6[5] = 0;\n  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;\n  puVar6[6] = 0xffffffff;\n  puVar6[2] = param_5;\n  puVar6[7] = 0xffffffff;\n  puVar6[3] = param_12;\n  puVar6[8] = 0;\n  puVar6[9] = 0;\n  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;\n  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;\n  puVar6[0xc] = param_6;\n  puVar6[0xd] = param_7;\n  if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }\n  puVar10 = param_4;\n  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);\n  if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }\n  if (local_22 != '\0') {\n    return puVar6;\n  }\n  if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }\n  FUN_001236a0(param_1,local_20[0]);\nLAB_0012c90f:\n  iVar8 = puVar6[9];\n  if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }\n  FUN_00180780(puVar6,0x38);\n  return local_20[0];\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "char local_22;" (primitive_type "char") (identifier "local_22") (; ";")) (declaration "char local_21;" (primitive_type "char") (identifier "local_21") (; ";")) (declaration "undefined4 *local_20 [4];" (type_identifier "undefined4") (pointer_declarator "*local_20 [4]" (* "*") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" (identifier "FUN_0004fb7e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = param_11;" (assignment_expression "iVar1 = param_11" (identifier "iVar1") (= "=") (identifier "param_11")) (; ";")) (expression_statement "uVar4 = param_10;" (assignment_expression "uVar4 = param_10" (identifier "uVar4") (= "=") (identifier "param_10")) (; ";")) (expression_statement "iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);" (assignment_expression "iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x1d5bd1) + 0xc" (pointer_expression "*(int *)(unaff_EDI + 0x1d5bd1)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x1d5bd1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1d5bd1)" (( "(") (binary_expression "unaff_EDI + 0x1d5bd1" (identifier "unaff_EDI") (+ "+") (number_literal "0x1d5bd1")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar8 == 0) {\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);\n  }" ({ "{") (expression_statement "FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);" (call_expression "FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13)" (identifier "FUN_0005f0b0") (argument_list "(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13)" (( "(") (binary_expression "unaff_EDI + 0xf41c9" (identifier "unaff_EDI") (+ "+") (number_literal "0xf41c9")) (, ",") (number_literal "0x69") (, ",") (binary_expression "unaff_EDI + 0x104ac9" (identifier "unaff_EDI") (+ "+") (number_literal "0x104ac9")) (, ",") (identifier "param_13") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(iVar8 + 4) + 4) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(iVar8 + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar8 + 4) + 4)" (* "*") (cast_expression "(char *)(*(int *)(iVar8 + 4) + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar8 + 4) + 4)" (( "(") (binary_expression "*(int *)(iVar8 + 4) + 4" (pointer_expression "*(int *)(iVar8 + 4)" (* "*") (cast_expression "(int *)(iVar8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 4)" (( "(") (binary_expression "iVar8 + 4" (identifier "iVar8") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);\n  }" ({ "{") (expression_statement "FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);" (call_expression "FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13)" (identifier "FUN_0005f0b0") (argument_list "(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13)" (( "(") (binary_expression "unaff_EDI + 0x10406a" (identifier "unaff_EDI") (+ "+") (number_literal "0x10406a")) (, ",") (number_literal "0x866") (, ",") (binary_expression "unaff_EDI + 0x1048d1" (identifier "unaff_EDI") (+ "+") (number_literal "0x1048d1")) (, ",") (identifier "param_13") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)(uint)(param_9 == 0);" (assignment_expression "pcVar9 = (char *)(uint)(param_9 == 0)" (identifier "pcVar9") (= "=") (cast_expression "(char *)(uint)(param_9 == 0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)(param_9 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_9 == 0)" (( "(") (binary_expression "param_9 == 0" (identifier "param_9") (== "==") (number_literal "0")) () ")"))))) (; ";")) (expression_statement "puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       );" (assignment_expression "puVar6 = (undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)\n           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" (identifier "FUN_0012bf40") (argument_list "(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9\n                       )" (( "(") (identifier "param_1") (, ",") (pointer_expression "&param_2" (& "&") (identifier "param_2")) (, ",") (pointer_expression "&param_3" (& "&") (identifier "param_3")) (, ",") (binary_expression "param_13 & 0xff" (identifier "param_13") (& "&") (number_literal "0xff")) (, ",") (identifier "param_10") (, ",") (identifier "local_20") (, ",") (pointer_expression "&local_22" (& "&") (identifier "local_22")) (, ",") (identifier "pcVar9") () ")"))))) (; ";")) (if_statement "if (puVar6 == (undefined4 *)0x0) {\n    return (undefined4 *)0x0;\n  }" (if "if") (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar6 == (undefined4 *)0x0" (identifier "puVar6") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return (undefined4 *)0x0;\n  }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[1] = param_3;" (assignment_expression "puVar6[1] = param_3" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;" (assignment_expression "*(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3" (pointer_expression "*(byte *)((int)puVar6 + 0x29)" (* "*") (cast_expression "(byte *)((int)puVar6 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0x29)" (( "(") (binary_expression "(int)puVar6 + 0x29" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x29")) () ")")))) (= "=") (binary_expression "(byte)(iVar1 << 2) | (byte)uVar4 & 3" (call_expression "(byte)(iVar1 << 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(iVar1 << 2)" (( "(") (binary_expression "iVar1 << 2" (identifier "iVar1") (<< "<<") (number_literal "2")) () ")"))) (| "|") (binary_expression "(byte)uVar4 & 3" (cast_expression "(byte)uVar4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar4")) (& "&") (number_literal "3")))) (; ";")) (expression_statement "*puVar6 = param_2;" (assignment_expression "*puVar6 = param_2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" (identifier "puVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;" (assignment_expression "*(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4" (pointer_expression "*(byte *)(puVar6 + 10)" (* "*") (cast_expression "(byte *)(puVar6 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 10)" (( "(") (binary_expression "puVar6 + 10" (identifier "puVar6") (+ "+") (number_literal "10")) () ")")))) (= "=") (binary_expression "(byte)param_8 & 0xf | (char)param_9 << 4" (binary_expression "(byte)param_8 & 0xf" (cast_expression "(byte)param_8" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_8")) (& "&") (number_literal "0xf")) (| "|") (binary_expression "(char)param_9 << 4" (cast_expression "(char)param_9" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_9")) (<< "<<") (number_literal "4")))) (; ";")) (expression_statement "puVar6[6] = 0xffffffff;" (assignment_expression "puVar6[6] = 0xffffffff" (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "puVar6[2] = param_5;" (assignment_expression "puVar6[2] = param_5" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar6[7] = 0xffffffff;" (assignment_expression "puVar6[7] = 0xffffffff" (subscript_expression "puVar6[7]" (identifier "puVar6") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "puVar6[3] = param_12;" (assignment_expression "puVar6[3] = param_12" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_12")) (; ";")) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" (identifier "puVar6") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[9] = 0;" (assignment_expression "puVar6[9] = 0" (subscript_expression "puVar6[9]" (identifier "puVar6") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;" (assignment_expression "*(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082" (pointer_expression "*(ushort *)((int)puVar6 + 0x2a)" (* "*") (cast_expression "(ushort *)((int)puVar6 + 0x2a)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0x2a)" (( "(") (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x2a")) () ")")))) (= "=") (binary_expression "*(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082" (binary_expression "*(ushort *)((int)puVar6 + 0x2a) & 0x200" (pointer_expression "*(ushort *)((int)puVar6 + 0x2a)" (* "*") (cast_expression "(ushort *)((int)puVar6 + 0x2a)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0x2a)" (( "(") (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "0x200")) (| "|") (number_literal "0x4082"))) (; ";")) (expression_statement "*(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;" (assignment_expression "*(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2" (pointer_expression "*(byte *)(puVar6 + 0xb)" (* "*") (cast_expression "(byte *)(puVar6 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb)" (( "(") (binary_expression "puVar6 + 0xb" (identifier "puVar6") (+ "+") (number_literal "0xb")) () ")")))) (= "=") (binary_expression "*(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2" (binary_expression "*(byte *)(puVar6 + 0xb) & 0xe0" (pointer_expression "*(byte *)(puVar6 + 0xb)" (* "*") (cast_expression "(byte *)(puVar6 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb)" (( "(") (binary_expression "puVar6 + 0xb" (identifier "puVar6") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "0xe0")) (| "|") (binary_expression "(param_4 == (undefined4 *)0x5) << 2" (parenthesized_expression "(param_4 == (undefined4 *)0x5)" (( "(") (binary_expression "param_4 == (undefined4 *)0x5" (identifier "param_4") (== "==") (cast_expression "(undefined4 *)0x5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x5"))) () ")")) (<< "<<") (number_literal "2")))) (; ";")) (expression_statement "puVar6[0xc] = param_6;" (assignment_expression "puVar6[0xc] = param_6" (subscript_expression "puVar6[0xc]" (identifier "puVar6") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar6[0xd] = param_7;" (assignment_expression "puVar6[0xd] = param_7" (subscript_expression "puVar6[0xd]" (identifier "puVar6") ([ "[") (number_literal "0xd") (] "]")) (= "=") (identifier "param_7")) (; ";")) (if_statement "if (local_20[0] == (undefined4 *)0x0) {\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }" (if "if") (parenthesized_expression "(local_20[0] == (undefined4 *)0x0)" (( "(") (binary_expression "local_20[0] == (undefined4 *)0x0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }\n    FUN_001236a0(param_1,puVar6);\n    return puVar6;\n  }" ({ "{") (if_statement "if ((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))) {\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }" (if "if") (parenthesized_expression "((param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0'))))" (( "(") (binary_expression "(param_9 != 0) &&\n       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))" (parenthesized_expression "(param_9 != 0)" (( "(") (binary_expression "param_9 != 0" (identifier "param_9") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')))" (( "(") (parenthesized_expression "(cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0'))" (( "(") (comma_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'\n        || (local_21 != '\0')" (assignment_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" (identifier "cVar5") (= "=") (call_expression "FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" (identifier "FUN_001197d0") (argument_list "(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x154)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x154)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x154)" (( "(") (binary_expression "param_1 + 0x154" (identifier "param_1") (+ "+") (number_literal "0x154")) () ")")))) (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_21" (& "&") (identifier "local_21")) () ")")))) (, ",") (binary_expression "cVar5 == '\0'\n        || (local_21 != '\0')" (binary_expression "cVar5 == '\0'" (identifier "cVar5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(local_21 != '\0')" (( "(") (binary_expression "local_21 != '\0'" (identifier "local_21") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n      if (param_3 == 0) {\n        return puVar6;\n      }\n      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;\n      return puVar6;\n    }" ({ "{") (if_statement "if (param_3 == 0) {\n        return puVar6;\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return puVar6;\n      }" ({ "{") (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (expression_statement "*(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;" (assignment_expression "*(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8" (pointer_expression "*(byte *)((int)puVar6 + 0x2a)" (* "*") (cast_expression "(byte *)((int)puVar6 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0x2a)" (( "(") (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x2a")) () ")")))) (= "=") (binary_expression "*(byte *)((int)puVar6 + 0x2a) | 8" (pointer_expression "*(byte *)((int)puVar6 + 0x2a)" (* "*") (cast_expression "(byte *)((int)puVar6 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0x2a)" (( "(") (binary_expression "(int)puVar6 + 0x2a" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x2a")) () ")")))) (| "|") (number_literal "8"))) (; ";")) (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (expression_statement "FUN_001236a0(param_1,puVar6);" (call_expression "FUN_001236a0(param_1,puVar6)" (identifier "FUN_001236a0") (argument_list "(param_1,puVar6)" (( "(") (identifier "param_1") (, ",") (identifier "puVar6") () ")"))) (; ";")) (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (expression_statement "puVar10 = param_4;" (assignment_expression "puVar10 = param_4" (identifier "puVar10") (= "=") (identifier "param_4")) (; ";")) (expression_statement "cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);" (assignment_expression "cVar5 = FUN_00163bf0(local_20[0],param_8,param_4)" (identifier "cVar5") (= "=") (call_expression "FUN_00163bf0(local_20[0],param_8,param_4)" (identifier "FUN_00163bf0") (argument_list "(local_20[0],param_8,param_4)" (( "(") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "param_8") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (cVar5 != '\0') {\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }" (if "if") (parenthesized_expression "(cVar5 != '\0')" (( "(") (binary_expression "cVar5 != '\0'" (identifier "cVar5") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    puVar10 = puVar6;\n    FUN_00164c80(param_1,local_20[0],puVar6);\n  }" ({ "{") (expression_statement "puVar10 = puVar6;" (assignment_expression "puVar10 = puVar6" (identifier "puVar10") (= "=") (identifier "puVar6")) (; ";")) (expression_statement "FUN_00164c80(param_1,local_20[0],puVar6);" (call_expression "FUN_00164c80(param_1,local_20[0],puVar6)" (identifier "FUN_00164c80") (argument_list "(param_1,local_20[0],puVar6)" (( "(") (identifier "param_1") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "puVar6") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_22 != '\0') {\n    return puVar6;\n  }" (if "if") (parenthesized_expression "(local_22 != '\0')" (( "(") (binary_expression "local_22 != '\0'" (identifier "local_22") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return puVar6;\n  }" ({ "{") (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (if_statement "if (param_9 != 0) {\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }" (if "if") (parenthesized_expression "(param_9 != 0)" (( "(") (binary_expression "param_9 != 0" (identifier "param_9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar9 = &local_21;\n    puVar10 = (undefined4 *)0x0;\n    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);\n    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;\n  }" ({ "{") (expression_statement "pcVar9 = &local_21;" (assignment_expression "pcVar9 = &local_21" (identifier "pcVar9") (= "=") (pointer_expression "&local_21" (& "&") (identifier "local_21"))) (; ";")) (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);" (assignment_expression "cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" (identifier "cVar5") (= "=") (call_expression "FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" (identifier "FUN_001197d0") (argument_list "(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x154)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x154)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x154)" (( "(") (binary_expression "param_1 + 0x154" (identifier "param_1") (+ "+") (number_literal "0x154")) () ")")))) (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (identifier "pcVar9") () ")")))) (; ";")) (if_statement "if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;" (if "if") (parenthesized_expression "((cVar5 == '\0') || (local_21 != '\0'))" (( "(") (binary_expression "(cVar5 == '\0') || (local_21 != '\0')" (parenthesized_expression "(cVar5 == '\0')" (( "(") (binary_expression "cVar5 == '\0'" (identifier "cVar5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(local_21 != '\0')" (( "(") (binary_expression "local_21 != '\0'" (identifier "local_21") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0012c90f;" (goto "goto") (statement_identifier "LAB_0012c90f") (; ";"))) (} "}"))) (expression_statement "FUN_001236a0(param_1,local_20[0]);" (call_expression "FUN_001236a0(param_1,local_20[0])" (identifier "FUN_001236a0") (argument_list "(param_1,local_20[0])" (( "(") (identifier "param_1") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (labeled_statement "LAB_0012c90f:\n  iVar8 = puVar6[9];" (statement_identifier "LAB_0012c90f") (: ":") (expression_statement "iVar8 = puVar6[9];" (assignment_expression "iVar8 = puVar6[9]" (identifier "iVar8") (= "=") (subscript_expression "puVar6[9]" (identifier "puVar6") ([ "[") (number_literal "9") (] "]"))) (; ";"))) (if_statement "if (iVar8 != 0) {\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(iVar8 + 8);\n    if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }\n    FUN_00180780(iVar8,0xc);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar8 + 8);" (assignment_expression "iVar1 = *(int *)(iVar8 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar8 + 8)" (* "*") (cast_expression "(int *)(iVar8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar7 = *(int *)(iVar1 + 8);\n      if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }\n      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);\n    }" ({ "{") (expression_statement "iVar7 = *(int *)(iVar1 + 8);" (assignment_expression "iVar7 = *(int *)(iVar1 + 8)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar7 != 0) {\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = *(int *)(iVar7 + 8);\n        if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }\n        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar7 + 8);" (assignment_expression "iVar2 = *(int *)(iVar7 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar11 = *(int *)(iVar2 + 8);\n          if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }\n          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);\n        }" ({ "{") (expression_statement "iVar11 = *(int *)(iVar2 + 8);" (assignment_expression "iVar11 = *(int *)(iVar2 + 8)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar11 != 0) {\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar3 = *(int *)(iVar11 + 8);\n            if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }\n            FUN_00180780(iVar11,0xc);\n          }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar11 + 8);" (assignment_expression "iVar3 = *(int *)(iVar11 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              FUN_001264b0(iVar3);\n              FUN_00180780(iVar3,0xc);\n            }" ({ "{") (expression_statement "FUN_001264b0(iVar3);" (call_expression "FUN_001264b0(iVar3)" (identifier "FUN_001264b0") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "FUN_00180780(iVar3,0xc);" (call_expression "FUN_00180780(iVar3,0xc)" (identifier "FUN_00180780") (argument_list "(iVar3,0xc)" (( "(") (identifier "iVar3") (, ",") (number_literal "0xc") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(iVar11,0xc);" (call_expression "FUN_00180780(iVar11,0xc)" (identifier "FUN_00180780") (argument_list "(iVar11,0xc)" (( "(") (identifier "iVar11") (, ",") (number_literal "0xc") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);" (call_expression "FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7)" (identifier "FUN_00180780") (argument_list "(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7)" (( "(") (identifier "iVar2") (, ",") (number_literal "0xc") (, ",") (identifier "puVar10") (, ",") (identifier "pcVar9") (, ",") (identifier "iVar8") (, ",") (identifier "iVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);" (call_expression "FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8)" (identifier "FUN_00180780") (argument_list "(iVar7,0xc,puVar10,pcVar9,iVar8)" (( "(") (identifier "iVar7") (, ",") (number_literal "0xc") (, ",") (identifier "puVar10") (, ",") (identifier "pcVar9") (, ",") (identifier "iVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);" (call_expression "FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8)" (identifier "FUN_00180780") (argument_list "(iVar1,0xc,puVar10,pcVar9,iVar8)" (( "(") (identifier "iVar1") (, ",") (number_literal "0xc") (, ",") (identifier "puVar10") (, ",") (identifier "pcVar9") (, ",") (identifier "iVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(iVar8,0xc);" (call_expression "FUN_00180780(iVar8,0xc)" (identifier "FUN_00180780") (argument_list "(iVar8,0xc)" (( "(") (identifier "iVar8") (, ",") (number_literal "0xc") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(puVar6,0x38);" (call_expression "FUN_00180780(puVar6,0x38)" (identifier "FUN_00180780") (argument_list "(puVar6,0x38)" (( "(") (identifier "puVar6") (, ",") (number_literal "0x38") () ")"))) (; ";")) (return_statement "return local_20[0];" (return "return") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (; ";")) (} "}")))

/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "STB": Some values do not have unique names */
/* DWARF original prototype: Sized_symbol<32> * do_define_in_output_segment<32>(Symbol_table * this,
   char * name, char * version, Defined defined, Output_segment * os, Elf_Addr value, Elf_WXword
   symsize, STT type, STB binding, STV visibility, uchar nonvis, Segment_offset_base offset_base,
   bool only_if_ref) */

var_1<32> * __thiscall
gold::Symbol_table::do_define_in_output_segment<32>
          (Symbol_table *this,char *name,char *var_22,Defined var_15,Output_segment *os,
          Elf_Addr value,Elf_WXword symsize,STT type,STB var_9,type_4 visibility,uchar nonvis,
          Segment_offset_base offset_base,bool only_if_ref)

{
  type_1 *puVar1;
  type_2 var_14;
  int var_4;
  type_3 *var_26;
  type_3 *var_27;
  type_3 *var_28;
  type_3 *var_29;
  type_3 *var_30;
  type_3 *var_31;
  type_4 SVar9;
  int var_12;
  bool var_19;
  var_1<32> *var_11;
  int var_3;
  type_5 in_stack_0000002d;
  type_5 in_stack_00000035;
  var_1<32> *__in_chrg;
  bool var_25;
  bool var_20;
  var_1<32> *var_17;
  
  var_2();
  var_12 = _nonvis;
  SVar9 = visibility;
  var_4 = *(int *)(*(int *)(var_3 + 0x1d5bd1) + 0xc);
  if (var_4 == 0) {
                    /* WARNING: Subroutine does not return */
    var_5((char *)(var_3 + 0xf41c9),0x69,(char *)(var_3 + 0x104ac9));
  }
  if (*(char *)(*(int *)(var_4 + 4) + 4) != '\0') {
                    /* WARNING: Subroutine does not return */
    var_5((char *)(var_3 + 0x10406a),0x866,(char *)(var_3 + 0x1048d1));
  }
  var_11 = var_6<32,var_7>
                      (this,&name,&var_22,var_8(_only_if_ref,0),visibility,&var_17,&var_25,
                       var_9 == var_10);
  if (var_11 != (var_1<32> *)0x0) {
    (var_11->super_Symbol).symtab_index_ = 0;
    (var_11->super_Symbol).version_ = var_22;
    (var_11->super_Symbol).field_0x29 = (type_6)(var_12 << 2) | (type_6)SVar9 & 3;
    (var_11->super_Symbol).name_ = name;
    (var_11->super_Symbol).dynsym_index_ = 0;
    (var_11->super_Symbol).field_0x28 = (type_1)type & var_13 | (type_1)var_9 << 4;
    (var_11->super_Symbol).plt_offset_ = 0xffffffff;
    (var_11->super_Symbol).u1_.output_segment = os;
    (var_11->super_Symbol).got_offsets_.got_type_ = 0xffffffff;
    (var_11->super_Symbol).u2_.offset_base = offset_base;
    var_14 = *(type_2 *)&(var_11->super_Symbol).field_0x2a;
    (var_11->super_Symbol).got_offsets_.got_offset_ = 0;
    (var_11->super_Symbol).got_offsets_.got_next_ = (type_3 *)0x0;
    *(type_2 *)&(var_11->super_Symbol).field_0x2a = var_14 & 0x200 | 0x4082;
    (var_11->super_Symbol).field_0x2c =
         (var_11->super_Symbol).field_0x2c & 0xe0 | (var_15 == var_16) << 2;
    var_11->value_ = value;
    var_11->symsize_ = symsize;
    if (var_17 == (var_1<32> *)0x0) {
      if ((var_9 == var_10) ||
         ((var_19 = Version_script_info::var_18
                              (this->version_script_,name,(type_7 *)0x0,&var_20), var_19 &&
          (var_20 == false)))) {
        var_21(this,&var_11->super_Symbol);
        return var_11;
      }
      if (var_22 != (char *)0x0) {
        puVar1 = &(var_11->super_Symbol).field_0x2a;
        *puVar1 = *puVar1 | 8;
      }
    }
    else {
      var_19 = var_23(&var_17->super_Symbol,type,var_15);
      if (var_19) {
        var_24<32>(this,var_17,var_11);
      }
      if (var_25 == false) {
        if ((var_9 == var_10) ||
           ((__in_chrg = (var_1<32> *)name,
            var_19 = Version_script_info::var_18
                               (this->version_script_,name,(type_7 *)0x0,&var_20), var_19 &&
            (var_20 == false)))) {
          __in_chrg = var_17;
          var_21(this,&var_17->super_Symbol);
        }
        var_26 = (var_11->super_Symbol).got_offsets_.got_next_;
        if (var_26 != (type_3 *)0x0) {
          var_27 = var_26->got_next_;
          if (var_27 != (type_3 *)0x0) {
            var_28 = var_27->got_next_;
            if (var_28 != (type_3 *)0x0) {
              var_29 = var_28->got_next_;
              if (var_29 != (type_3 *)0x0) {
                var_30 = var_29->got_next_;
                if (var_30 != (type_3 *)0x0) {
                  var_31 = var_30->got_next_;
                  if (var_31 != (type_3 *)0x0) {
                    Got_offset_list::~type_3(var_31,(int)__in_chrg);
                    var_32(var_31,0xc);
                  }
                  var_32(var_30,0xc);
                }
                var_32(var_29,0xc);
              }
              var_32(var_28,0xc);
            }
            var_32(var_27,0xc);
          }
          var_32(var_26,0xc);
        }
        var_32(var_11,0x38);
        return var_17;
      }
    }
  }
  return var_11;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))) (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)) (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: (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: (char_literal (escape_sequence)))) 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)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (pointer_expression argument: (identifier)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier))) (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: (identifier))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (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: (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: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier) (number_literal) (pointer_expression argument: (identifier))))) right: (binary_expression left: (binary_expression left: (identifier) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal)))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement (subscript_expression argument: (identifier) index: (number_literal))))))

undefined4 *
MASKED(int param_1,undefined4 param_2,int param_3,undefined4 *param_4,undefined4 param_5,
            undefined4 param_6,undefined4 param_7,undefined4 param_8,int param_9,undefined4 param_10
            ,int param_11,undefined4 param_12,uint param_13)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  char cVar5;
  undefined4 *puVar6;
  int iVar7;
  int iVar8;
  char *pcVar9;
  int unaff_EDI;
  undefined4 *puVar10;
  int iVar11;
  char local_22;
  char local_21;
  undefined4 *local_20 [4];
  
  FUN_0004fb7e();
  iVar1 = param_11;
  uVar4 = param_10;
  iVar8 = *(int *)(*(int *)(unaff_EDI + 0x1d5bd1) + 0xc);
  if (iVar8 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0(unaff_EDI + 0xf41c9,0x69,unaff_EDI + 0x104ac9,param_13);
  }
  if (*(char *)(*(int *)(iVar8 + 4) + 4) != '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0(unaff_EDI + 0x10406a,0x866,unaff_EDI + 0x1048d1,param_13);
  }
  pcVar9 = (char *)(uint)(param_9 == 0);
  puVar6 = (undefined4 *)
           FUN_0012bf40(param_1,&param_2,&param_3,param_13 & 0xff,param_10,local_20,&local_22,pcVar9
                       );
  if (puVar6 == (undefined4 *)0x0) {
    return (undefined4 *)0x0;
  }
  puVar6[4] = 0;
  puVar6[1] = param_3;
  *(byte *)((int)puVar6 + 0x29) = (byte)(iVar1 << 2) | (byte)uVar4 & 3;
  *puVar6 = param_2;
  puVar6[5] = 0;
  *(byte *)(puVar6 + 10) = (byte)param_8 & 0xf | (char)param_9 << 4;
  puVar6[6] = 0xffffffff;
  puVar6[2] = param_5;
  puVar6[7] = 0xffffffff;
  puVar6[3] = param_12;
  puVar6[8] = 0;
  puVar6[9] = 0;
  *(ushort *)((int)puVar6 + 0x2a) = *(ushort *)((int)puVar6 + 0x2a) & 0x200 | 0x4082;
  *(byte *)(puVar6 + 0xb) = *(byte *)(puVar6 + 0xb) & 0xe0 | (param_4 == (undefined4 *)0x5) << 2;
  puVar6[0xc] = param_6;
  puVar6[0xd] = param_7;
  if (local_20[0] == (undefined4 *)0x0) {
    if ((param_9 != 0) &&
       ((cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,&local_21), cVar5 == '\0'
        || (local_21 != '\0')))) {
      if (param_3 == 0) {
        return puVar6;
      }
      *(byte *)((int)puVar6 + 0x2a) = *(byte *)((int)puVar6 + 0x2a) | 8;
      return puVar6;
    }
    FUN_001236a0(param_1,puVar6);
    return puVar6;
  }
  puVar10 = param_4;
  cVar5 = FUN_00163bf0(local_20[0],param_8,param_4);
  if (cVar5 != '\0') {
    puVar10 = puVar6;
    FUN_00164c80(param_1,local_20[0],puVar6);
  }
  if (local_22 != '\0') {
    return puVar6;
  }
  if (param_9 != 0) {
    pcVar9 = &local_21;
    puVar10 = (undefined4 *)0x0;
    cVar5 = FUN_001197d0(*(undefined4 *)(param_1 + 0x154),param_2,0,pcVar9);
    if ((cVar5 == '\0') || (local_21 != '\0')) goto LAB_0012c90f;
  }
  FUN_001236a0(param_1,local_20[0]);
LAB_0012c90f:
  iVar8 = puVar6[9];
  if (iVar8 != 0) {
    iVar1 = *(int *)(iVar8 + 8);
    if (iVar1 != 0) {
      iVar7 = *(int *)(iVar1 + 8);
      if (iVar7 != 0) {
        iVar2 = *(int *)(iVar7 + 8);
        if (iVar2 != 0) {
          iVar11 = *(int *)(iVar2 + 8);
          if (iVar11 != 0) {
            iVar3 = *(int *)(iVar11 + 8);
            if (iVar3 != 0) {
              FUN_001264b0(iVar3);
              FUN_00180780(iVar3,0xc);
            }
            FUN_00180780(iVar11,0xc);
          }
          FUN_00180780(iVar2,0xc,puVar10,pcVar9,iVar8,iVar7);
        }
        FUN_00180780(iVar7,0xc,puVar10,pcVar9,iVar8);
      }
      FUN_00180780(iVar1,0xc,puVar10,pcVar9,iVar8);
    }
    FUN_00180780(iVar8,0xc);
  }
  FUN_00180780(puVar6,0x38);
  return local_20[0];
}

