
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* DWARF original prototype: uchar * read_header_prolog(Sized_dwarf_line_info<32,_true> * this,
   uchar * lineptr) */

uchar * __thiscall
gold::Sized_dwarf_line_info<32,_true>::read_header_prolog
          (Sized_dwarf_line_info<32,_true> *this,uchar *lineptr)

{
  uchar uVar1;
  uchar uVar2;
  byte bVar3;
  pointer puVar4;
  uchar *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  pointer puVar9;
  byte *pbVar10;
  byte *pbVar11;
  
  uVar7 = *(uint *)lineptr;
  uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;
  if (uVar7 == 0xffffffff) {
    (this->header_).offset_size = 8;
    uVar7 = *(uint *)(lineptr + 8);
    puVar5 = lineptr + 0xc;
    uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;
  }
  else {
    (this->header_).offset_size = 4;
    puVar5 = lineptr + 4;
  }
  *(uint *)&(this->header_).total_length = uVar7;
  *(undefined4 *)((int)&(this->header_).total_length + 4) = 0;
  if (puVar5 + uVar7 <= this->buffer_end_) {
    uVar1 = *puVar5;
    uVar2 = puVar5[1];
    (this->header_).version = (uint)CONCAT11(uVar1,uVar2);
    iVar6 = (this->header_).offset_size;
    if (iVar6 == 4) {
      uVar7 = *(uint *)(puVar5 + 2);
      uVar8 = 0;
      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;
    }
    else {
      uVar7 = *(uint *)(puVar5 + 6);
      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;
      uVar8 = *(uint *)(puVar5 + 2);
      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;
    }
    *(uint *)&(this->header_).prologue_length = uVar7;
    pbVar10 = puVar5 + iVar6 + 2;
    *(uint *)((int)&(this->header_).prologue_length + 4) = uVar8;
    (this->header_).min_insn_length = (uint)*pbVar10;
    if (CONCAT11(uVar1,uVar2) < 4) {
      pbVar10 = pbVar10 + 1;
      (this->header_).max_ops_per_insn = 1;
    }
    else {
      bVar3 = pbVar10[1];
      pbVar10 = pbVar10 + 2;
      (this->header_).max_ops_per_insn = (uint)bVar3;
      if (bVar3 != 1) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");
      }
    }
    puVar4 = (this->header_).std_opcode_lengths.
             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish;
    (this->header_).default_is_stmt = *pbVar10 != 0;
    puVar9 = (this->header_).std_opcode_lengths.
             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;
    pbVar11 = pbVar10 + 4;
    (this->header_).line_base = pbVar10[1];
    uVar8 = (int)puVar4 - (int)puVar9;
    (this->header_).line_range = (uint)pbVar10[2];
    bVar3 = pbVar10[3];
    (this->header_).opcode_base = bVar3;
    uVar7 = bVar3 + 1;
    if (uVar8 < uVar7) {
      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append
                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);
      puVar9 = (this->header_).std_opcode_lengths.
               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;
    }
    else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {
      (this->header_).std_opcode_lengths.
      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =
           puVar9 + uVar7;
    }
    *puVar9 = '\0';
    if (1 < (this->header_).opcode_base) {
      iVar6 = 1;
      do {
        bVar3 = *pbVar11;
        pbVar11 = pbVar11 + 1;
        (this->header_).std_opcode_lengths.
        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =
             bVar3;
        iVar6 = iVar6 + 1;
      } while (iVar6 < (int)(uint)(this->header_).opcode_base);
    }
    return pbVar11;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/dwarf_reader.cc",0x678,"read_header_prolog");
}



byte * FUN_00377d10(int param_1,uint *param_2)

{
  undefined1 uVar1;
  byte bVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  int unaff_EBP;
  byte *pbVar8;
  byte *pbVar9;
  
  FUN_00074f0e();
  uVar4 = *param_2;
  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
  if (uVar4 == 0xffffffff) {
    *(undefined4 *)(param_1 + 0x3c) = 8;
    uVar4 = param_2[2];
    param_2 = param_2 + 3;
    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
  }
  else {
    *(undefined4 *)(param_1 + 0x3c) = 4;
    param_2 = param_2 + 1;
  }
  *(uint *)(param_1 + 8) = uVar4;
  *(undefined4 *)(param_1 + 0xc) = 0;
  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {
    uVar4 = *param_2;
    uVar1 = *(undefined1 *)((int)param_2 + 1);
    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);
    if (*(int *)(param_1 + 0x3c) == 4) {
      uVar5 = *(uint *)((int)param_2 + 2);
      uVar6 = 0;
      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
    }
    else {
      uVar5 = *(uint *)((int)param_2 + 6);
      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
      uVar6 = *(uint *)((int)param_2 + 2);
      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
    }
    *(uint *)(param_1 + 0x14) = uVar5;
    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);
    *(uint *)(param_1 + 0x18) = uVar6;
    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;
    if (CONCAT11((char)uVar4,uVar1) < 4) {
      pbVar8 = pbVar8 + 1;
      *(undefined4 *)(param_1 + 0x20) = 1;
    }
    else {
      uVar4 = (uint)pbVar8[1];
      pbVar8 = pbVar8 + 2;
      *(uint *)(param_1 + 0x20) = uVar4;
      if (uVar4 != 1) {
                    /* WARNING: Subroutine does not return */
        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);
      }
    }
    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;
    puVar7 = *(undefined1 **)(param_1 + 0x30);
    pbVar9 = pbVar8 + 4;
    *(byte *)(param_1 + 0x25) = pbVar8[1];
    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;
    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];
    bVar2 = pbVar8[3];
    *(byte *)(param_1 + 0x2c) = bVar2;
    uVar4 = bVar2 + 1;
    if (uVar5 < uVar4) {
      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);
      puVar7 = *(undefined1 **)(param_1 + 0x30);
    }
    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {
      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;
    }
    *puVar7 = 0;
    if (1 < *(byte *)(param_1 + 0x2c)) {
      iVar3 = 1;
      do {
        bVar2 = *pbVar9;
        pbVar9 = pbVar9 + 1;
        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;
        iVar3 = iVar3 + 1;
      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));
    }
    return pbVar9;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))
  ;
}


PUSH EBP
CALL 0x00074f0e
ADD EBP,0x2722ea
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [EAX]
BSWAP EDX
CMP EDX,-0x1
JZ 0x00377e50
MOV dword ptr [EBX + 0x3c],0x4
ADD EAX,0x4
MOV dword ptr [EBX + 0x8],EDX
ADD EDX,EAX
MOV dword ptr [EBX + 0xc],0x0
CMP dword ptr [EBX + 0x44],EDX
JC 0x00377e9d
MOVZX EDX,byte ptr [EAX]
MOVZX ECX,byte ptr [EAX + 0x1]
SHL EDX,0x8
MOV EDI,EDX
OR EDI,ECX
MOVZX ECX,DI
MOV word ptr [ESP + 0xe],DI
MOV dword ptr [EBX + 0x10],ECX
MOV ECX,dword ptr [EBX + 0x3c]
CMP ECX,0x4
JZ 0x00377e40
MOV EDX,dword ptr [EAX + 0x6]
BSWAP EDX
MOV ESI,EDX
MOV EDX,dword ptr [EAX + 0x2]
BSWAP EDX
MOV EDI,EDX
MOV dword ptr [EBX + 0x14],ESI
LEA ESI,[EAX + ECX*0x1 + 0x2]
CMP word ptr [ESP + 0xe],0x3
MOV dword ptr [EBX + 0x18],EDI
MOVZX EAX,byte ptr [ESI]
MOV dword ptr [EBX + 0x1c],EAX
JBE 0x00377e30
MOVZX EAX,byte ptr [ESI + 0x1]
ADD ESI,0x2
MOV dword ptr [EBX + 0x20],EAX
CMP EAX,0x1
JNZ 0x00377e82
CMP byte ptr [ESI],0x0
MOV ECX,dword ptr [EBX + 0x34]
SETNZ byte ptr [EBX + 0x24]
MOVZX EAX,byte ptr [ESI + 0x1]
MOV EDX,dword ptr [EBX + 0x30]
ADD ESI,0x4
MOV EDI,ECX
MOV byte ptr [EBX + 0x25],AL
MOVZX EAX,byte ptr [ESI + -0x2]
SUB EDI,EDX
MOV dword ptr [EBX + 0x28],EAX
MOVZX EAX,byte ptr [ESI + -0x1]
MOV byte ptr [EBX + 0x2c],AL
ADD EAX,0x1
CMP EAX,EDI
JA 0x00377e68
JNC 0x00377df7
ADD EAX,EDX
CMP ECX,EAX
JZ 0x00377df7
MOV dword ptr [EBX + 0x34],EAX
MOV byte ptr [EDX],0x0
CMP byte ptr [EBX + 0x2c],0x1
JBE 0x00377e1f
MOV EAX,0x1
LEA ESI,[ESI]
MOVZX EDX,byte ptr [ESI]
MOV ECX,dword ptr [EBX + 0x30]
ADD ESI,0x1
MOV byte ptr [ECX + EAX*0x1],DL
MOVZX EDX,byte ptr [EBX + 0x2c]
ADD EAX,0x1
CMP EDX,EAX
JG 0x00377e08
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESI,0x1
MOV dword ptr [EBX + 0x20],0x1
JMP 0x00377db8
MOV ESI,dword ptr [EAX + 0x2]
XOR EDI,EDI
BSWAP ESI
JMP 0x00377d89
MOV dword ptr [EBX + 0x3c],0x8
MOV EDX,dword ptr [EAX + 0x8]
ADD EAX,0xc
BSWAP EDX
JMP 0x00377d41
SUB ESP,0x8
SUB EAX,EDI
PUSH EAX
LEA EAX,[EBX + 0x30]
PUSH EAX
CALL 0x00106580
MOV EDX,dword ptr [EBX + 0x30]
ADD ESP,0x10
JMP 0x00377df7
PUSH EAX
LEA EAX,[EBP + 0xffeb4030]
MOV EBX,EBP
PUSH EAX
LEA EAX,[EBP + 0xffeb3db1]
PUSH 0x68e
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBP + 0xffeb4030]
PUSH EDX
MOV EBX,EBP
PUSH EAX
LEA EAX,[EBP + 0xffeb3db1]
PUSH 0x678
PUSH EAX
CALL 0x002446e0
(translation_unit "byte * FUN_00377d10(int param_1,uint *param_2)\n\n{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}\n\n" (function_definition "byte * FUN_00377d10(int param_1,uint *param_2)\n\n{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}" type_identifier (pointer_declarator "* FUN_00377d10(int param_1,uint *param_2)" * (function_declarator "FUN_00377d10(int param_1,uint *param_2)" identifier (parameter_list "(int param_1,uint *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "FUN_00074f0e();" (call_expression "FUN_00074f0e()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" if (parenthesized_expression "(uVar4 == 0xffffffff)" ( (binary_expression "uVar4 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 8;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 8" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar4 = param_2[2];" (assignment_expression "uVar4 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "param_2 = param_2 + 3;" (assignment_expression "param_2 = param_2 + 3" identifier = (binary_expression "param_2 + 3" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) }) (else_clause "else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" else (compound_statement "{\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }))) (expression_statement "*(uint *)(param_1 + 8) = uVar4;" (assignment_expression "*(uint *)(param_1 + 8) = uVar4" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }" if (parenthesized_expression "((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44))" ( (binary_expression "(undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)" (cast_expression "(undefined1 *)(uVar4 + (int)param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + (int)param_2)" ( (binary_expression "uVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) <= (pointer_expression "*(undefined1 **)(param_1 + 0x44)" * (cast_expression "(undefined1 **)(param_1 + 0x44)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }" { (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar1 = *(undefined1 *)((int)param_2 + 1);" (assignment_expression "uVar1 = *(undefined1 *)((int)param_2 + 1)" identifier = (pointer_expression "*(undefined1 *)((int)param_2 + 1)" * (cast_expression "(undefined1 *)((int)param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 1)" ( (binary_expression "(int)param_2 + 1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);" (assignment_expression "*(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1)" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (cast_expression "(uint)CONCAT11((char)uVar4,uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11((char)uVar4,uVar1)" identifier (argument_list "((char)uVar4,uVar1)" ( (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) , identifier ))))) ;) (if_statement "if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3c) == 4)" ( (binary_expression "*(int *)(param_1 + 0x3c) == 4" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }" { (expression_statement "uVar5 = *(uint *)((int)param_2 + 2);" (assignment_expression "uVar5 = *(uint *)((int)param_2 + 2)" identifier = (pointer_expression "*(uint *)((int)param_2 + 2)" * (cast_expression "(uint *)((int)param_2 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 2)" ( (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" identifier = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) }) (else_clause "else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" else (compound_statement "{\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" { (expression_statement "uVar5 = *(uint *)((int)param_2 + 6);" (assignment_expression "uVar5 = *(uint *)((int)param_2 + 6)" identifier = (pointer_expression "*(uint *)((int)param_2 + 6)" * (cast_expression "(uint *)((int)param_2 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" identifier = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar6 = *(uint *)((int)param_2 + 2);" (assignment_expression "uVar6 = *(uint *)((int)param_2 + 2)" identifier = (pointer_expression "*(uint *)((int)param_2 + 2)" * (cast_expression "(uint *)((int)param_2 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 2)" ( (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) }))) (expression_statement "*(uint *)(param_1 + 0x14) = uVar5;" (assignment_expression "*(uint *)(param_1 + 0x14) = uVar5" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);" (assignment_expression "pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" identifier = (cast_expression "(byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" ( (binary_expression "(int)param_2 + *(int *)(param_1 + 0x3c) + 2" (binary_expression "(int)param_2 + *(int *)(param_1 + 0x3c)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*(uint *)(param_1 + 0x18) = uVar6;" (assignment_expression "*(uint *)(param_1 + 0x18) = uVar6" (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x1c) = (uint)*pbVar8;" (assignment_expression "*(uint *)(param_1 + 0x1c) = (uint)*pbVar8" (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" if (parenthesized_expression "(CONCAT11((char)uVar4,uVar1) < 4)" ( (binary_expression "CONCAT11((char)uVar4,uVar1) < 4" (call_expression "CONCAT11((char)uVar4,uVar1)" identifier (argument_list "((char)uVar4,uVar1)" ( (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) , identifier ))) < number_literal) )) (compound_statement "{\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x20) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" else (compound_statement "{\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" { (expression_statement "uVar4 = (uint)pbVar8[1];" (assignment_expression "uVar4 = (uint)pbVar8[1]" identifier = (cast_expression "(uint)pbVar8[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[1]" identifier [ number_literal ]))) ;) (expression_statement "pbVar8 = pbVar8 + 2;" (assignment_expression "pbVar8 = pbVar8 + 2" identifier = (binary_expression "pbVar8 + 2" identifier + number_literal)) ;) (expression_statement "*(uint *)(param_1 + 0x20) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x20) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar4 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }" if (parenthesized_expression "(uVar4 != 1)" ( (binary_expression "uVar4 != 1" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }" { comment (expression_statement "FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);" (call_expression "FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4)" identifier (argument_list "(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4)" ( (binary_expression "unaff_EBP + 0x12609b" identifier + number_literal) , number_literal , (binary_expression "unaff_EBP + 0x12631a" identifier + number_literal) , identifier ))) ;) })) }))) (expression_statement "*(bool *)(param_1 + 0x24) = *pbVar8 != 0;" (assignment_expression "*(bool *)(param_1 + 0x24) = *pbVar8 != 0" (pointer_expression "*(bool *)(param_1 + 0x24)" * (cast_expression "(bool *)(param_1 + 0x24)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = (binary_expression "*pbVar8 != 0" (pointer_expression "*pbVar8" * identifier) != number_literal)) ;) (expression_statement "puVar7 = *(undefined1 **)(param_1 + 0x30);" (assignment_expression "puVar7 = *(undefined1 **)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 0x30)" * (cast_expression "(undefined1 **)(param_1 + 0x30)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "pbVar9 = pbVar8 + 4;" (assignment_expression "pbVar9 = pbVar8 + 4" identifier = (binary_expression "pbVar8 + 4" identifier + number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x25) = pbVar8[1];" (assignment_expression "*(byte *)(param_1 + 0x25) = pbVar8[1]" (pointer_expression "*(byte *)(param_1 + 0x25)" * (cast_expression "(byte *)(param_1 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x25)" ( (binary_expression "param_1 + 0x25" identifier + number_literal) )))) = (subscript_expression "pbVar8[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;" (assignment_expression "uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7" identifier = (binary_expression "(int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7" (cast_expression "(int)*(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(undefined1 **)(param_1 + 0x34)" * (cast_expression "(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(uint *)(param_1 + 0x28) = (uint)pbVar8[2];" (assignment_expression "*(uint *)(param_1 + 0x28) = (uint)pbVar8[2]" (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (cast_expression "(uint)pbVar8[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[2]" identifier [ number_literal ]))) ;) (expression_statement "bVar2 = pbVar8[3];" (assignment_expression "bVar2 = pbVar8[3]" identifier = (subscript_expression "pbVar8[3]" identifier [ number_literal ])) ;) (expression_statement "*(byte *)(param_1 + 0x2c) = bVar2;" (assignment_expression "*(byte *)(param_1 + 0x2c) = bVar2" (pointer_expression "*(byte *)(param_1 + 0x2c)" * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = bVar2 + 1;" (assignment_expression "uVar4 = bVar2 + 1" identifier = (binary_expression "bVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" if (parenthesized_expression "(uVar5 < uVar4)" ( (binary_expression "uVar5 < uVar4" identifier < identifier) )) (compound_statement "{\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }" { (expression_statement "FUN_00106580(param_1 + 0x30,uVar4 - uVar5);" (call_expression "FUN_00106580(param_1 + 0x30,uVar4 - uVar5)" identifier (argument_list "(param_1 + 0x30,uVar4 - uVar5)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) , (binary_expression "uVar4 - uVar5" identifier - identifier) ))) ;) (expression_statement "puVar7 = *(undefined1 **)(param_1 + 0x30);" (assignment_expression "puVar7 = *(undefined1 **)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 0x30)" * (cast_expression "(undefined1 **)(param_1 + 0x30)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) }) (else_clause "else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" else (if_statement "if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" if (parenthesized_expression "((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4))" ( (binary_expression "(uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)" (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) )) && (parenthesized_expression "(*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)" ( (binary_expression "*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4" (pointer_expression "*(undefined1 **)(param_1 + 0x34)" * (cast_expression "(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != (binary_expression "puVar7 + uVar4" identifier + identifier)) ))) )) (compound_statement "{\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" { (expression_statement "*(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;" (assignment_expression "*(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4" (pointer_expression "*(undefined1 **)(param_1 + 0x34)" * (cast_expression "(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = (binary_expression "puVar7 + uVar4" identifier + identifier)) ;) })))) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (if_statement "if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }" if (parenthesized_expression "(1 < *(byte *)(param_1 + 0x2c))" ( (binary_expression "1 < *(byte *)(param_1 + 0x2c)" number_literal < (pointer_expression "*(byte *)(param_1 + 0x2c)" * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (do_statement "do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));" do (compound_statement "{\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      }" { (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "*(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;" (assignment_expression "*(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2" (pointer_expression "*(byte *)(*(int *)(param_1 + 0x30) + iVar3)" * (cast_expression "(byte *)(*(int *)(param_1 + 0x30) + iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + iVar3)" ( (binary_expression "*(int *)(param_1 + 0x30) + iVar3" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + identifier) )))) = identifier) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c))" ( (binary_expression "iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c)" identifier < (binary_expression "(int)(uint)*(byte *)(param_1 + 0x2c)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) )) ;) })) (return_statement "return pbVar9;" return identifier ;) })) comment (expression_statement "FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;" (call_expression "FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))" identifier (argument_list "(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))" ( (binary_expression "unaff_EBP + 0x12609b" identifier + number_literal) , number_literal , (binary_expression "unaff_EBP + 0x12631a" identifier + number_literal) , (cast_expression "(undefined1 *)(uVar4 + (int)param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + (int)param_2)" ( (binary_expression "uVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n/* DWARF original prototype: uchar * read_header_prolog(Sized_dwarf_line_info<32,_true> * this,\n   uchar * lineptr) */\n\nuchar * __thiscall\ngold::Sized_dwarf_line_info<32,_true>::read_header_prolog\n          (Sized_dwarf_line_info<32,_true> *this,uchar *lineptr)\n\n{\n  uchar uVar1;\n  uchar uVar2;\n  byte bVar3;\n  pointer puVar4;\n  uchar *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  pointer puVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  \n  uVar7 = *(uint *)lineptr;\n  uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n  if (uVar7 == 0xffffffff) {\n    (this->header_).offset_size = 8;\n    uVar7 = *(uint *)(lineptr + 8);\n    puVar5 = lineptr + 0xc;\n    uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n  }\n  else {\n    (this->header_).offset_size = 4;\n    puVar5 = lineptr + 4;\n  }\n  *(uint *)&(this->header_).total_length = uVar7;\n  *(undefined4 *)((int)&(this->header_).total_length + 4) = 0;\n  if (puVar5 + uVar7 <= this->buffer_end_) {\n    uVar1 = *puVar5;\n    uVar2 = puVar5[1];\n    (this->header_).version = (uint)CONCAT11(uVar1,uVar2);\n    iVar6 = (this->header_).offset_size;\n    if (iVar6 == 4) {\n      uVar7 = *(uint *)(puVar5 + 2);\n      uVar8 = 0;\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n    }\n    else {\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }\n    *(uint *)&(this->header_).prologue_length = uVar7;\n    pbVar10 = puVar5 + iVar6 + 2;\n    *(uint *)((int)&(this->header_).prologue_length + 4) = uVar8;\n    (this->header_).min_insn_length = (uint)*pbVar10;\n    if (CONCAT11(uVar1,uVar2) < 4) {\n      pbVar10 = pbVar10 + 1;\n      (this->header_).max_ops_per_insn = 1;\n    }\n    else {\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }\n    puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish;\n    (this->header_).default_is_stmt = *pbVar10 != 0;\n    puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    pbVar11 = pbVar10 + 4;\n    (this->header_).line_base = pbVar10[1];\n    uVar8 = (int)puVar4 - (int)puVar9;\n    (this->header_).line_range = (uint)pbVar10[2];\n    bVar3 = pbVar10[3];\n    (this->header_).opcode_base = bVar3;\n    uVar7 = bVar3 + 1;\n    if (uVar8 < uVar7) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);\n      puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    }\n    else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }\n    *puVar9 = '\0';\n    if (1 < (this->header_).opcode_base) {\n      iVar6 = 1;\n      do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);\n    }\n    return pbVar11;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dwarf_reader.cc",0x678,"read_header_prolog");\n}\n\n" comment comment (ERROR "uchar * __thiscall\ngold::Sized_dwarf_line_info<32,_true>::read_header_prolog\n          (Sized_dwarf_line_info<32,_true> *this,uchar *lineptr)" (binary_expression "uchar * __thiscall\ngold::Sized_dwarf_line_info<32,_true>::read_header_prolog\n          (Sized_dwarf_line_info<32,_true> *this,uchar *lineptr)" (binary_expression "uchar * __thiscall\ngold::Sized_dwarf_line_info<32" (binary_expression "uchar * __thiscall" identifier * identifier) (ERROR "gold::Sized_dwarf_line_info" identifier : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::" : :) (call_expression "read_header_prolog\n          (Sized_dwarf_line_info<32,_true> *this,uchar *lineptr)" identifier (argument_list "(Sized_dwarf_line_info<32,_true> *this,uchar *lineptr)" ( (binary_expression "Sized_dwarf_line_info<32" identifier < number_literal) , (binary_expression "_true> *this" identifier > (pointer_expression "*this" * identifier)) , (binary_expression "uchar *lineptr" identifier * identifier) ))))) (compound_statement "{\n  uchar uVar1;\n  uchar uVar2;\n  byte bVar3;\n  pointer puVar4;\n  uchar *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  pointer puVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  \n  uVar7 = *(uint *)lineptr;\n  uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n  if (uVar7 == 0xffffffff) {\n    (this->header_).offset_size = 8;\n    uVar7 = *(uint *)(lineptr + 8);\n    puVar5 = lineptr + 0xc;\n    uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n  }\n  else {\n    (this->header_).offset_size = 4;\n    puVar5 = lineptr + 4;\n  }\n  *(uint *)&(this->header_).total_length = uVar7;\n  *(undefined4 *)((int)&(this->header_).total_length + 4) = 0;\n  if (puVar5 + uVar7 <= this->buffer_end_) {\n    uVar1 = *puVar5;\n    uVar2 = puVar5[1];\n    (this->header_).version = (uint)CONCAT11(uVar1,uVar2);\n    iVar6 = (this->header_).offset_size;\n    if (iVar6 == 4) {\n      uVar7 = *(uint *)(puVar5 + 2);\n      uVar8 = 0;\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n    }\n    else {\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }\n    *(uint *)&(this->header_).prologue_length = uVar7;\n    pbVar10 = puVar5 + iVar6 + 2;\n    *(uint *)((int)&(this->header_).prologue_length + 4) = uVar8;\n    (this->header_).min_insn_length = (uint)*pbVar10;\n    if (CONCAT11(uVar1,uVar2) < 4) {\n      pbVar10 = pbVar10 + 1;\n      (this->header_).max_ops_per_insn = 1;\n    }\n    else {\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }\n    puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish;\n    (this->header_).default_is_stmt = *pbVar10 != 0;\n    puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    pbVar11 = pbVar10 + 4;\n    (this->header_).line_base = pbVar10[1];\n    uVar8 = (int)puVar4 - (int)puVar9;\n    (this->header_).line_range = (uint)pbVar10[2];\n    bVar3 = pbVar10[3];\n    (this->header_).opcode_base = bVar3;\n    uVar7 = bVar3 + 1;\n    if (uVar8 < uVar7) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);\n      puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    }\n    else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }\n    *puVar9 = '\0';\n    if (1 < (this->header_).opcode_base) {\n      iVar6 = 1;\n      do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);\n    }\n    return pbVar11;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dwarf_reader.cc",0x678,"read_header_prolog");\n}" { (declaration "uchar uVar1;" type_identifier identifier ;) (declaration "uchar uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "pointer puVar4;" type_identifier identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "pointer puVar9;" type_identifier identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (expression_statement "uVar7 = *(uint *)lineptr;" (assignment_expression "uVar7 = *(uint *)lineptr" identifier = (pointer_expression "*(uint *)lineptr" * (cast_expression "(uint *)lineptr" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" identifier = (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar7 == 0xffffffff) {\n    (this->header_).offset_size = 8;\n    uVar7 = *(uint *)(lineptr + 8);\n    puVar5 = lineptr + 0xc;\n    uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n  }\n  else {\n    (this->header_).offset_size = 4;\n    puVar5 = lineptr + 4;\n  }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    (this->header_).offset_size = 8;\n    uVar7 = *(uint *)(lineptr + 8);\n    puVar5 = lineptr + 0xc;\n    uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n  }" { (expression_statement "(this->header_).offset_size = 8;" (assignment_expression "(this->header_).offset_size = 8" (field_expression "(this->header_).offset_size" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "uVar7 = *(uint *)(lineptr + 8);" (assignment_expression "uVar7 = *(uint *)(lineptr + 8)" identifier = (pointer_expression "*(uint *)(lineptr + 8)" * (cast_expression "(uint *)(lineptr + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lineptr + 8)" ( (binary_expression "lineptr + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = lineptr + 0xc;" (assignment_expression "puVar5 = lineptr + 0xc" identifier = (binary_expression "lineptr + 0xc" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" identifier = (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal))) ;) }) (else_clause "else {\n    (this->header_).offset_size = 4;\n    puVar5 = lineptr + 4;\n  }" else (compound_statement "{\n    (this->header_).offset_size = 4;\n    puVar5 = lineptr + 4;\n  }" { (expression_statement "(this->header_).offset_size = 4;" (assignment_expression "(this->header_).offset_size = 4" (field_expression "(this->header_).offset_size" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "puVar5 = lineptr + 4;" (assignment_expression "puVar5 = lineptr + 4" identifier = (binary_expression "lineptr + 4" identifier + number_literal)) ;) }))) (expression_statement "*(uint *)&(this->header_).total_length = uVar7;" (assignment_expression "*(uint *)&(this->header_).total_length = uVar7" (pointer_expression "*(uint *)&(this->header_).total_length" * (cast_expression "(uint *)&(this->header_).total_length" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->header_).total_length" & (field_expression "(this->header_).total_length" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&(this->header_).total_length + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(this->header_).total_length + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(this->header_).total_length + 4)" * (cast_expression "(undefined4 *)((int)&(this->header_).total_length + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->header_).total_length + 4)" ( (binary_expression "(int)&(this->header_).total_length + 4" (cast_expression "(int)&(this->header_).total_length" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->header_).total_length" & (field_expression "(this->header_).total_length" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (if_statement "if (puVar5 + uVar7 <= this->buffer_end_) {\n    uVar1 = *puVar5;\n    uVar2 = puVar5[1];\n    (this->header_).version = (uint)CONCAT11(uVar1,uVar2);\n    iVar6 = (this->header_).offset_size;\n    if (iVar6 == 4) {\n      uVar7 = *(uint *)(puVar5 + 2);\n      uVar8 = 0;\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n    }\n    else {\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }\n    *(uint *)&(this->header_).prologue_length = uVar7;\n    pbVar10 = puVar5 + iVar6 + 2;\n    *(uint *)((int)&(this->header_).prologue_length + 4) = uVar8;\n    (this->header_).min_insn_length = (uint)*pbVar10;\n    if (CONCAT11(uVar1,uVar2) < 4) {\n      pbVar10 = pbVar10 + 1;\n      (this->header_).max_ops_per_insn = 1;\n    }\n    else {\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }\n    puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish;\n    (this->header_).default_is_stmt = *pbVar10 != 0;\n    puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    pbVar11 = pbVar10 + 4;\n    (this->header_).line_base = pbVar10[1];\n    uVar8 = (int)puVar4 - (int)puVar9;\n    (this->header_).line_range = (uint)pbVar10[2];\n    bVar3 = pbVar10[3];\n    (this->header_).opcode_base = bVar3;\n    uVar7 = bVar3 + 1;\n    if (uVar8 < uVar7) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);\n      puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    }\n    else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }\n    *puVar9 = '\0';\n    if (1 < (this->header_).opcode_base) {\n      iVar6 = 1;\n      do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);\n    }\n    return pbVar11;\n  }" if (parenthesized_expression "(puVar5 + uVar7 <= this->buffer_end_)" ( (binary_expression "puVar5 + uVar7 <= this->buffer_end_" (binary_expression "puVar5 + uVar7" identifier + identifier) <= (field_expression "this->buffer_end_" identifier -> field_identifier)) )) (compound_statement "{\n    uVar1 = *puVar5;\n    uVar2 = puVar5[1];\n    (this->header_).version = (uint)CONCAT11(uVar1,uVar2);\n    iVar6 = (this->header_).offset_size;\n    if (iVar6 == 4) {\n      uVar7 = *(uint *)(puVar5 + 2);\n      uVar8 = 0;\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n    }\n    else {\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }\n    *(uint *)&(this->header_).prologue_length = uVar7;\n    pbVar10 = puVar5 + iVar6 + 2;\n    *(uint *)((int)&(this->header_).prologue_length + 4) = uVar8;\n    (this->header_).min_insn_length = (uint)*pbVar10;\n    if (CONCAT11(uVar1,uVar2) < 4) {\n      pbVar10 = pbVar10 + 1;\n      (this->header_).max_ops_per_insn = 1;\n    }\n    else {\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }\n    puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish;\n    (this->header_).default_is_stmt = *pbVar10 != 0;\n    puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    pbVar11 = pbVar10 + 4;\n    (this->header_).line_base = pbVar10[1];\n    uVar8 = (int)puVar4 - (int)puVar9;\n    (this->header_).line_range = (uint)pbVar10[2];\n    bVar3 = pbVar10[3];\n    (this->header_).opcode_base = bVar3;\n    uVar7 = bVar3 + 1;\n    if (uVar8 < uVar7) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);\n      puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    }\n    else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }\n    *puVar9 = '\0';\n    if (1 < (this->header_).opcode_base) {\n      iVar6 = 1;\n      do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);\n    }\n    return pbVar11;\n  }" { (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar2 = puVar5[1];" (assignment_expression "uVar2 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "(this->header_).version = (uint)CONCAT11(uVar1,uVar2);" (assignment_expression "(this->header_).version = (uint)CONCAT11(uVar1,uVar2)" (field_expression "(this->header_).version" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(uint)CONCAT11(uVar1,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier ))))) ;) (expression_statement "iVar6 = (this->header_).offset_size;" (assignment_expression "iVar6 = (this->header_).offset_size" identifier = (field_expression "(this->header_).offset_size" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar6 == 4) {\n      uVar7 = *(uint *)(puVar5 + 2);\n      uVar8 = 0;\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n    }\n    else {\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }" if (parenthesized_expression "(iVar6 == 4)" ( (binary_expression "iVar6 == 4" identifier == number_literal) )) (compound_statement "{\n      uVar7 = *(uint *)(puVar5 + 2);\n      uVar8 = 0;\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n    }" { (expression_statement "uVar7 = *(uint *)(puVar5 + 2);" (assignment_expression "uVar7 = *(uint *)(puVar5 + 2)" identifier = (pointer_expression "*(uint *)(puVar5 + 2)" * (cast_expression "(uint *)(puVar5 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 2)" ( (binary_expression "puVar5 + 2" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" identifier = (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal))) ;) }) (else_clause "else {\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }" else (compound_statement "{\n      uVar7 = *(uint *)(puVar5 + 6);\n      uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n      uVar8 = *(uint *)(puVar5 + 2);\n      uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;\n    }" { (expression_statement "uVar7 = *(uint *)(puVar5 + 6);" (assignment_expression "uVar7 = *(uint *)(puVar5 + 6)" identifier = (pointer_expression "*(uint *)(puVar5 + 6)" * (cast_expression "(uint *)(puVar5 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 6)" ( (binary_expression "puVar5 + 6" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" identifier = (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar8 = *(uint *)(puVar5 + 2);" (assignment_expression "uVar8 = *(uint *)(puVar5 + 2)" identifier = (pointer_expression "*(uint *)(puVar5 + 2)" * (cast_expression "(uint *)(puVar5 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 2)" ( (binary_expression "puVar5 + 2" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18;" (assignment_expression "uVar8 = uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18" identifier = (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8" (binary_expression "uVar8 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar8 & 0xff0000) >> 8" (parenthesized_expression "(uVar8 & 0xff0000)" ( (binary_expression "uVar8 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar8 & 0xff00) << 8" (parenthesized_expression "(uVar8 & 0xff00)" ( (binary_expression "uVar8 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar8 << 0x18" identifier << number_literal))) ;) }))) (expression_statement "*(uint *)&(this->header_).prologue_length = uVar7;" (assignment_expression "*(uint *)&(this->header_).prologue_length = uVar7" (pointer_expression "*(uint *)&(this->header_).prologue_length" * (cast_expression "(uint *)&(this->header_).prologue_length" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->header_).prologue_length" & (field_expression "(this->header_).prologue_length" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "pbVar10 = puVar5 + iVar6 + 2;" (assignment_expression "pbVar10 = puVar5 + iVar6 + 2" identifier = (binary_expression "puVar5 + iVar6 + 2" (binary_expression "puVar5 + iVar6" identifier + identifier) + number_literal)) ;) (expression_statement "*(uint *)((int)&(this->header_).prologue_length + 4) = uVar8;" (assignment_expression "*(uint *)((int)&(this->header_).prologue_length + 4) = uVar8" (pointer_expression "*(uint *)((int)&(this->header_).prologue_length + 4)" * (cast_expression "(uint *)((int)&(this->header_).prologue_length + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->header_).prologue_length + 4)" ( (binary_expression "(int)&(this->header_).prologue_length + 4" (cast_expression "(int)&(this->header_).prologue_length" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->header_).prologue_length" & (field_expression "(this->header_).prologue_length" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "(this->header_).min_insn_length = (uint)*pbVar10;" (assignment_expression "(this->header_).min_insn_length = (uint)*pbVar10" (field_expression "(this->header_).min_insn_length" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(uint)*pbVar10" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (CONCAT11(uVar1,uVar2) < 4) {\n      pbVar10 = pbVar10 + 1;\n      (this->header_).max_ops_per_insn = 1;\n    }\n    else {\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }" if (parenthesized_expression "(CONCAT11(uVar1,uVar2) < 4)" ( (binary_expression "CONCAT11(uVar1,uVar2) < 4" (call_expression "CONCAT11(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier ))) < number_literal) )) (compound_statement "{\n      pbVar10 = pbVar10 + 1;\n      (this->header_).max_ops_per_insn = 1;\n    }" { (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "(this->header_).max_ops_per_insn = 1;" (assignment_expression "(this->header_).max_ops_per_insn = 1" (field_expression "(this->header_).max_ops_per_insn" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) }) (else_clause "else {\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }" else (compound_statement "{\n      bVar3 = pbVar10[1];\n      pbVar10 = pbVar10 + 2;\n      (this->header_).max_ops_per_insn = (uint)bVar3;\n      if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }\n    }" { (expression_statement "bVar3 = pbVar10[1];" (assignment_expression "bVar3 = pbVar10[1]" identifier = (subscript_expression "pbVar10[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar10 = pbVar10 + 2;" (assignment_expression "pbVar10 = pbVar10 + 2" identifier = (binary_expression "pbVar10 + 2" identifier + number_literal)) ;) (expression_statement "(this->header_).max_ops_per_insn = (uint)bVar3;" (assignment_expression "(this->header_).max_ops_per_insn = (uint)bVar3" (field_expression "(this->header_).max_ops_per_insn" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar3 != 1) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }" if (parenthesized_expression "(bVar3 != 1)" ( (binary_expression "bVar3 != 1" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");" (call_expression "do_gold_unreachable("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog")" identifier (argument_list "("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog")" ( (string_literal ""../../gold/dwarf_reader.cc"" " string_content ") , number_literal , (string_literal ""read_header_prolog"" " string_content ") ))) ;) })) }))) (ERROR "puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::" (comma_expression "puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std" (assignment_expression "puVar4 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char" identifier = (binary_expression "(this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char" (field_expression "(this->header_).std_opcode_lengths.\n             super__Vector_base" (field_expression "(this->header_).std_opcode_lengths" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_finish;" (field_expression "allocator<unsigned_char>_>._M_impl._M_finish" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "(this->header_).default_is_stmt = *pbVar10 != 0;" (assignment_expression "(this->header_).default_is_stmt = *pbVar10 != 0" (field_expression "(this->header_).default_is_stmt" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = (binary_expression "*pbVar10 != 0" (pointer_expression "*pbVar10" * identifier) != number_literal)) ;) (ERROR "puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std::" (comma_expression "puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char,_std" (assignment_expression "puVar9 = (this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char" identifier = (binary_expression "(this->header_).std_opcode_lengths.\n             super__Vector_base<unsigned_char" (field_expression "(this->header_).std_opcode_lengths.\n             super__Vector_base" (field_expression "(this->header_).std_opcode_lengths" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_start;" (field_expression "allocator<unsigned_char>_>._M_impl._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "pbVar11 = pbVar10 + 4;" (assignment_expression "pbVar11 = pbVar10 + 4" identifier = (binary_expression "pbVar10 + 4" identifier + number_literal)) ;) (expression_statement "(this->header_).line_base = pbVar10[1];" (assignment_expression "(this->header_).line_base = pbVar10[1]" (field_expression "(this->header_).line_base" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = (subscript_expression "pbVar10[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = (int)puVar4 - (int)puVar9;" (assignment_expression "uVar8 = (int)puVar4 - (int)puVar9" identifier = (binary_expression "(int)puVar4 - (int)puVar9" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "(this->header_).line_range = (uint)pbVar10[2];" (assignment_expression "(this->header_).line_range = (uint)pbVar10[2]" (field_expression "(this->header_).line_range" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(uint)pbVar10[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar10[2]" identifier [ number_literal ]))) ;) (expression_statement "bVar3 = pbVar10[3];" (assignment_expression "bVar3 = pbVar10[3]" identifier = (subscript_expression "pbVar10[3]" identifier [ number_literal ])) ;) (expression_statement "(this->header_).opcode_base = bVar3;" (assignment_expression "(this->header_).opcode_base = bVar3" (field_expression "(this->header_).opcode_base" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "uVar7 = bVar3 + 1;" (assignment_expression "uVar7 = bVar3 + 1" identifier = (binary_expression "bVar3 + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 < uVar7) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);\n      puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    }\n    else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }" if (parenthesized_expression "(uVar8 < uVar7)" ( (binary_expression "uVar8 < uVar7" identifier < identifier) )) (compound_statement "{\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);\n      puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start;\n    }" { (labeled_statement "std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);" statement_identifier (ERROR "::vector<unsigned_char,_std::allocator<unsigned_char>_>:" : : (comma_expression "vector<unsigned_char,_std" (binary_expression "vector<unsigned_char" identifier < identifier) , identifier) : : (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > :) : (expression_statement "_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8);" (call_expression "_M_default_append\n                (&(this->header_).std_opcode_lengths,uVar7 - uVar8)" identifier (argument_list "(&(this->header_).std_opcode_lengths,uVar7 - uVar8)" ( (pointer_expression "&(this->header_).std_opcode_lengths" & (field_expression "(this->header_).std_opcode_lengths" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "uVar7 - uVar8" identifier - identifier) ))) ;)) (ERROR "puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std::" (comma_expression "puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char,_std" (assignment_expression "puVar9 = (this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char" identifier = (binary_expression "(this->header_).std_opcode_lengths.\n               super__Vector_base<unsigned_char" (field_expression "(this->header_).std_opcode_lengths.\n               super__Vector_base" (field_expression "(this->header_).std_opcode_lengths" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_start;" (field_expression "allocator<unsigned_char>_>._M_impl._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) }) (else_clause "else if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }" else (if_statement "if ((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)) {\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }" if (parenthesized_expression "((uVar7 < uVar8) && (puVar4 != puVar9 + uVar7))" ( (binary_expression "(uVar7 < uVar8) && (puVar4 != puVar9 + uVar7)" (parenthesized_expression "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) )) && (parenthesized_expression "(puVar4 != puVar9 + uVar7)" ( (binary_expression "puVar4 != puVar9 + uVar7" identifier != (binary_expression "puVar9 + uVar7" identifier + identifier)) ))) )) (compound_statement "{\n      (this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;\n    }" { (ERROR "(this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std::" (comma_expression "(this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char,_std" (binary_expression "(this->header_).std_opcode_lengths.\n      super__Vector_base<unsigned_char" (field_expression "(this->header_).std_opcode_lengths.\n      super__Vector_base" (field_expression "(this->header_).std_opcode_lengths" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7;" (assignment_expression "allocator<unsigned_char>_>._M_impl._M_finish =\n           puVar9 + uVar7" (field_expression "allocator<unsigned_char>_>._M_impl._M_finish" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (binary_expression "puVar9 + uVar7" identifier + identifier)) ;) })))) (expression_statement "*puVar9 = '\0';" (assignment_expression "*puVar9 = '\0'" (pointer_expression "*puVar9" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (1 < (this->header_).opcode_base) {\n      iVar6 = 1;\n      do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);\n    }" if (parenthesized_expression "(1 < (this->header_).opcode_base)" ( (binary_expression "1 < (this->header_).opcode_base" number_literal < (field_expression "(this->header_).opcode_base" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n      iVar6 = 1;\n      do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);\n    }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (do_statement "do {\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      } while (iVar6 < (int)(uint)(this->header_).opcode_base);" do (compound_statement "{\n        bVar3 = *pbVar11;\n        pbVar11 = pbVar11 + 1;\n        (this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "bVar3 = *pbVar11;" (assignment_expression "bVar3 = *pbVar11" identifier = (pointer_expression "*pbVar11" * identifier)) ;) (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) (ERROR "(this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std::" (comma_expression "(this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char,_std" (binary_expression "(this->header_).std_opcode_lengths.\n        super__Vector_base<unsigned_char" (field_expression "(this->header_).std_opcode_lengths.\n        super__Vector_base" (field_expression "(this->header_).std_opcode_lengths" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3;" (assignment_expression "allocator<unsigned_char>_>._M_impl._M_start[iVar6] =\n             bVar3" (subscript_expression "allocator<unsigned_char>_>._M_impl._M_start[iVar6]" (field_expression "allocator<unsigned_char>_>._M_impl._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) = identifier) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 < (int)(uint)(this->header_).opcode_base)" ( (binary_expression "iVar6 < (int)(uint)(this->header_).opcode_base" identifier < (cast_expression "(int)(uint)(this->header_).opcode_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(uint)(this->header_).opcode_base" (call_expression "(uint)(this->header_)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) ))) . field_identifier))) )) ;) })) (return_statement "return pbVar11;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/dwarf_reader.cc",0x678,"read_header_prolog");" (call_expression "do_gold_unreachable("../../gold/dwarf_reader.cc",0x678,"read_header_prolog")" identifier (argument_list "("../../gold/dwarf_reader.cc",0x678,"read_header_prolog")" ( (string_literal ""../../gold/dwarf_reader.cc"" " string_content ") , number_literal , (string_literal ""read_header_prolog"" " string_content ") ))) ;) }))
(translation_unit "byte * FUN_00377d10(int param_1,uint *param_2)\n\n{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    \n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}\n\n" (function_definition "byte * FUN_00377d10(int param_1,uint *param_2)\n\n{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    \n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}" type_identifier (pointer_declarator "* FUN_00377d10(int param_1,uint *param_2)" * (function_declarator "FUN_00377d10(int param_1,uint *param_2)" identifier (parameter_list "(int param_1,uint *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    \n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "FUN_00074f0e();" (call_expression "FUN_00074f0e()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" if (parenthesized_expression "(uVar4 == 0xffffffff)" ( (binary_expression "uVar4 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 8;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 8" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar4 = param_2[2];" (assignment_expression "uVar4 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "param_2 = param_2 + 3;" (assignment_expression "param_2 = param_2 + 3" identifier = (binary_expression "param_2 + 3" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) }) (else_clause "else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" else (compound_statement "{\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }))) (expression_statement "*(uint *)(param_1 + 8) = uVar4;" (assignment_expression "*(uint *)(param_1 + 8) = uVar4" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }" if (parenthesized_expression "((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44))" ( (binary_expression "(undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)" (cast_expression "(undefined1 *)(uVar4 + (int)param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + (int)param_2)" ( (binary_expression "uVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) <= (pointer_expression "*(undefined1 **)(param_1 + 0x44)" * (cast_expression "(undefined1 **)(param_1 + 0x44)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }" { (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar1 = *(undefined1 *)((int)param_2 + 1);" (assignment_expression "uVar1 = *(undefined1 *)((int)param_2 + 1)" identifier = (pointer_expression "*(undefined1 *)((int)param_2 + 1)" * (cast_expression "(undefined1 *)((int)param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 1)" ( (binary_expression "(int)param_2 + 1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);" (assignment_expression "*(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1)" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (cast_expression "(uint)CONCAT11((char)uVar4,uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11((char)uVar4,uVar1)" identifier (argument_list "((char)uVar4,uVar1)" ( (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) , identifier ))))) ;) (if_statement "if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3c) == 4)" ( (binary_expression "*(int *)(param_1 + 0x3c) == 4" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }" { (expression_statement "uVar5 = *(uint *)((int)param_2 + 2);" (assignment_expression "uVar5 = *(uint *)((int)param_2 + 2)" identifier = (pointer_expression "*(uint *)((int)param_2 + 2)" * (cast_expression "(uint *)((int)param_2 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 2)" ( (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" identifier = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) }) (else_clause "else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" else (compound_statement "{\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" { (expression_statement "uVar5 = *(uint *)((int)param_2 + 6);" (assignment_expression "uVar5 = *(uint *)((int)param_2 + 6)" identifier = (pointer_expression "*(uint *)((int)param_2 + 6)" * (cast_expression "(uint *)((int)param_2 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" identifier = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar6 = *(uint *)((int)param_2 + 2);" (assignment_expression "uVar6 = *(uint *)((int)param_2 + 2)" identifier = (pointer_expression "*(uint *)((int)param_2 + 2)" * (cast_expression "(uint *)((int)param_2 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 2)" ( (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) }))) (expression_statement "*(uint *)(param_1 + 0x14) = uVar5;" (assignment_expression "*(uint *)(param_1 + 0x14) = uVar5" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);" (assignment_expression "pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" identifier = (cast_expression "(byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" ( (binary_expression "(int)param_2 + *(int *)(param_1 + 0x3c) + 2" (binary_expression "(int)param_2 + *(int *)(param_1 + 0x3c)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*(uint *)(param_1 + 0x18) = uVar6;" (assignment_expression "*(uint *)(param_1 + 0x18) = uVar6" (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x1c) = (uint)*pbVar8;" (assignment_expression "*(uint *)(param_1 + 0x1c) = (uint)*pbVar8" (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" if (parenthesized_expression "(CONCAT11((char)uVar4,uVar1) < 4)" ( (binary_expression "CONCAT11((char)uVar4,uVar1) < 4" (call_expression "CONCAT11((char)uVar4,uVar1)" identifier (argument_list "((char)uVar4,uVar1)" ( (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) , identifier ))) < number_literal) )) (compound_statement "{\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x20) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" else (compound_statement "{\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" { (expression_statement "uVar4 = (uint)pbVar8[1];" (assignment_expression "uVar4 = (uint)pbVar8[1]" identifier = (cast_expression "(uint)pbVar8[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[1]" identifier [ number_literal ]))) ;) (expression_statement "pbVar8 = pbVar8 + 2;" (assignment_expression "pbVar8 = pbVar8 + 2" identifier = (binary_expression "pbVar8 + 2" identifier + number_literal)) ;) (expression_statement "*(uint *)(param_1 + 0x20) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x20) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }" if (parenthesized_expression "(uVar4 != 1)" ( (binary_expression "uVar4 != 1" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }" { (expression_statement "FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);" (call_expression "FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4)" identifier (argument_list "(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4)" ( (binary_expression "unaff_EBP + 0x12609b" identifier + number_literal) , number_literal , (binary_expression "unaff_EBP + 0x12631a" identifier + number_literal) , identifier ))) ;) })) }))) (expression_statement "*(bool *)(param_1 + 0x24) = *pbVar8 != 0;" (assignment_expression "*(bool *)(param_1 + 0x24) = *pbVar8 != 0" (pointer_expression "*(bool *)(param_1 + 0x24)" * (cast_expression "(bool *)(param_1 + 0x24)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = (binary_expression "*pbVar8 != 0" (pointer_expression "*pbVar8" * identifier) != number_literal)) ;) (expression_statement "puVar7 = *(undefined1 **)(param_1 + 0x30);" (assignment_expression "puVar7 = *(undefined1 **)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 0x30)" * (cast_expression "(undefined1 **)(param_1 + 0x30)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "pbVar9 = pbVar8 + 4;" (assignment_expression "pbVar9 = pbVar8 + 4" identifier = (binary_expression "pbVar8 + 4" identifier + number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x25) = pbVar8[1];" (assignment_expression "*(byte *)(param_1 + 0x25) = pbVar8[1]" (pointer_expression "*(byte *)(param_1 + 0x25)" * (cast_expression "(byte *)(param_1 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x25)" ( (binary_expression "param_1 + 0x25" identifier + number_literal) )))) = (subscript_expression "pbVar8[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;" (assignment_expression "uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7" identifier = (binary_expression "(int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7" (cast_expression "(int)*(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(undefined1 **)(param_1 + 0x34)" * (cast_expression "(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(uint *)(param_1 + 0x28) = (uint)pbVar8[2];" (assignment_expression "*(uint *)(param_1 + 0x28) = (uint)pbVar8[2]" (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (cast_expression "(uint)pbVar8[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[2]" identifier [ number_literal ]))) ;) (expression_statement "bVar2 = pbVar8[3];" (assignment_expression "bVar2 = pbVar8[3]" identifier = (subscript_expression "pbVar8[3]" identifier [ number_literal ])) ;) (expression_statement "*(byte *)(param_1 + 0x2c) = bVar2;" (assignment_expression "*(byte *)(param_1 + 0x2c) = bVar2" (pointer_expression "*(byte *)(param_1 + 0x2c)" * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = bVar2 + 1;" (assignment_expression "uVar4 = bVar2 + 1" identifier = (binary_expression "bVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" if (parenthesized_expression "(uVar5 < uVar4)" ( (binary_expression "uVar5 < uVar4" identifier < identifier) )) (compound_statement "{\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }" { (expression_statement "FUN_00106580(param_1 + 0x30,uVar4 - uVar5);" (call_expression "FUN_00106580(param_1 + 0x30,uVar4 - uVar5)" identifier (argument_list "(param_1 + 0x30,uVar4 - uVar5)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) , (binary_expression "uVar4 - uVar5" identifier - identifier) ))) ;) (expression_statement "puVar7 = *(undefined1 **)(param_1 + 0x30);" (assignment_expression "puVar7 = *(undefined1 **)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 0x30)" * (cast_expression "(undefined1 **)(param_1 + 0x30)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) }) (else_clause "else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" else (if_statement "if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" if (parenthesized_expression "((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4))" ( (binary_expression "(uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)" (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) )) && (parenthesized_expression "(*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)" ( (binary_expression "*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4" (pointer_expression "*(undefined1 **)(param_1 + 0x34)" * (cast_expression "(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != (binary_expression "puVar7 + uVar4" identifier + identifier)) ))) )) (compound_statement "{\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" { (expression_statement "*(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;" (assignment_expression "*(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4" (pointer_expression "*(undefined1 **)(param_1 + 0x34)" * (cast_expression "(undefined1 **)(param_1 + 0x34)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = (binary_expression "puVar7 + uVar4" identifier + identifier)) ;) })))) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (if_statement "if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }" if (parenthesized_expression "(1 < *(byte *)(param_1 + 0x2c))" ( (binary_expression "1 < *(byte *)(param_1 + 0x2c)" number_literal < (pointer_expression "*(byte *)(param_1 + 0x2c)" * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (do_statement "do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));" do (compound_statement "{\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      }" { (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "*(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;" (assignment_expression "*(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2" (pointer_expression "*(byte *)(*(int *)(param_1 + 0x30) + iVar3)" * (cast_expression "(byte *)(*(int *)(param_1 + 0x30) + iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + iVar3)" ( (binary_expression "*(int *)(param_1 + 0x30) + iVar3" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + identifier) )))) = identifier) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c))" ( (binary_expression "iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c)" identifier < (binary_expression "(int)(uint)*(byte *)(param_1 + 0x2c)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) )) ;) })) (return_statement "return pbVar9;" return identifier ;) })) (expression_statement "FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;" (call_expression "FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))" identifier (argument_list "(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))" ( (binary_expression "unaff_EBP + 0x12609b" identifier + number_literal) , number_literal , (binary_expression "unaff_EBP + 0x12631a" identifier + number_literal) , (cast_expression "(undefined1 *)(uVar4 + (int)param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + (int)param_2)" ( (binary_expression "uVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_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 (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 ))) ;) })) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * IDENT) != LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT - IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + IDENT)) ;) })))) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_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) )))) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) ;) })))
(function_definition "byte * FUN_00377d10(int param_1,uint *param_2)\n\n{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    \n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}" (type_identifier "byte") (pointer_declarator "* FUN_00377d10(int param_1,uint *param_2)" (* "*") (function_declarator "FUN_00377d10(int param_1,uint *param_2)" (identifier "FUN_00377d10") (parameter_list "(int param_1,uint *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined1 uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  byte *pbVar9;\n  \n  FUN_00074f0e();\n  uVar4 = *param_2;\n  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }\n  *(uint *)(param_1 + 8) = uVar4;\n  *(undefined4 *)(param_1 + 0xc) = 0;\n  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }\n                    \n  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (expression_statement "FUN_00074f0e();" (call_expression "FUN_00074f0e()" (identifier "FUN_00074f0e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" (identifier "uVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (identifier "uVar4") (= "=") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if (uVar4 == 0xffffffff) {\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" (if "if") (parenthesized_expression "(uVar4 == 0xffffffff)" (( "(") (binary_expression "uVar4 == 0xffffffff" (identifier "uVar4") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x3c) = 8;\n    uVar4 = param_2[2];\n    param_2 = param_2 + 3;\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 8;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 8" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "8")) (; ";")) (expression_statement "uVar4 = param_2[2];" (assignment_expression "uVar4 = param_2[2]" (identifier "uVar4") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_2 = param_2 + 3;" (assignment_expression "param_2 = param_2 + 3" (identifier "param_2") (= "=") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (identifier "uVar4") (= "=") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18")))) (; ";")) (} "}")) (else_clause "else {\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(param_1 + 0x3c) = 4;\n    param_2 = param_2 + 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "4")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "*(uint *)(param_1 + 8) = uVar4;" (assignment_expression "*(uint *)(param_1 + 8) = uVar4" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }" (if "if") (parenthesized_expression "((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44))" (( "(") (binary_expression "(undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)" (cast_expression "(undefined1 *)(uVar4 + (int)param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + (int)param_2)" (( "(") (binary_expression "uVar4 + (int)param_2" (identifier "uVar4") (+ "+") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (<= "<=") (pointer_expression "*(undefined1 **)(param_1 + 0x44)" (* "*") (cast_expression "(undefined1 **)(param_1 + 0x44)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) () ")")) (compound_statement "{\n    uVar4 = *param_2;\n    uVar1 = *(undefined1 *)((int)param_2 + 1);\n    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);\n    if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }\n    *(uint *)(param_1 + 0x14) = uVar5;\n    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);\n    *(uint *)(param_1 + 0x18) = uVar6;\n    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;\n    if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }\n    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;\n    puVar7 = *(undefined1 **)(param_1 + 0x30);\n    pbVar9 = pbVar8 + 4;\n    *(byte *)(param_1 + 0x25) = pbVar8[1];\n    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;\n    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];\n    bVar2 = pbVar8[3];\n    *(byte *)(param_1 + 0x2c) = bVar2;\n    uVar4 = bVar2 + 1;\n    if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }\n    *puVar7 = 0;\n    if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }\n    return pbVar9;\n  }" ({ "{") (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" (identifier "uVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar1 = *(undefined1 *)((int)param_2 + 1);" (assignment_expression "uVar1 = *(undefined1 *)((int)param_2 + 1)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)((int)param_2 + 1)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 1)" (( "(") (binary_expression "(int)param_2 + 1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);" (assignment_expression "*(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1)" (pointer_expression "*(uint *)(param_1 + 0x10)" (* "*") (cast_expression "(uint *)(param_1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (cast_expression "(uint)CONCAT11((char)uVar4,uVar1)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11((char)uVar4,uVar1)" (identifier "CONCAT11") (argument_list "((char)uVar4,uVar1)" (( "(") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4")) (, ",") (identifier "uVar1") () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x3c) == 4) {\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }\n    else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3c) == 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x3c) == 4" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      uVar5 = *(uint *)((int)param_2 + 2);\n      uVar6 = 0;\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    }" ({ "{") (expression_statement "uVar5 = *(uint *)((int)param_2 + 2);" (assignment_expression "uVar5 = *(uint *)((int)param_2 + 2)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)((int)param_2 + 2)" (* "*") (cast_expression "(uint *)((int)param_2 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 2)" (( "(") (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar5 << 0x18" (identifier "uVar5") (<< "<<") (number_literal "0x18")))) (; ";")) (} "}")) (else_clause "else {\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" (else "else") (compound_statement "{\n      uVar5 = *(uint *)((int)param_2 + 6);\n      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n      uVar6 = *(uint *)((int)param_2 + 2);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    }" ({ "{") (expression_statement "uVar5 = *(uint *)((int)param_2 + 6);" (assignment_expression "uVar5 = *(uint *)((int)param_2 + 6)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)((int)param_2 + 6)" (* "*") (cast_expression "(uint *)((int)param_2 + 6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 6)" (( "(") (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar5 << 0x18" (identifier "uVar5") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "uVar6 = *(uint *)((int)param_2 + 2);" (assignment_expression "uVar6 = *(uint *)((int)param_2 + 2)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)((int)param_2 + 2)" (* "*") (cast_expression "(uint *)((int)param_2 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 2)" (( "(") (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (identifier "uVar6") (= "=") (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" (identifier "uVar6") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" (( "(") (binary_expression "uVar6 & 0xff0000" (identifier "uVar6") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" (( "(") (binary_expression "uVar6 & 0xff00" (identifier "uVar6") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 << 0x18" (identifier "uVar6") (<< "<<") (number_literal "0x18")))) (; ";")) (} "}")))) (expression_statement "*(uint *)(param_1 + 0x14) = uVar5;" (assignment_expression "*(uint *)(param_1 + 0x14) = uVar5" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);" (assignment_expression "pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" (identifier "pbVar8") (= "=") (cast_expression "(byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + *(int *)(param_1 + 0x3c) + 2)" (( "(") (binary_expression "(int)param_2 + *(int *)(param_1 + 0x3c) + 2" (binary_expression "(int)param_2 + *(int *)(param_1 + 0x3c)" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x18) = uVar6;" (assignment_expression "*(uint *)(param_1 + 0x18) = uVar6" (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x1c) = (uint)*pbVar8;" (assignment_expression "*(uint *)(param_1 + 0x1c) = (uint)*pbVar8" (pointer_expression "*(uint *)(param_1 + 0x1c)" (* "*") (cast_expression "(uint *)(param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar8"))) (; ";")) (if_statement "if (CONCAT11((char)uVar4,uVar1) < 4) {\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }\n    else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" (if "if") (parenthesized_expression "(CONCAT11((char)uVar4,uVar1) < 4)" (( "(") (binary_expression "CONCAT11((char)uVar4,uVar1) < 4" (call_expression "CONCAT11((char)uVar4,uVar1)" (identifier "CONCAT11") (argument_list "((char)uVar4,uVar1)" (( "(") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4")) (, ",") (identifier "uVar1") () ")"))) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n      pbVar8 = pbVar8 + 1;\n      *(undefined4 *)(param_1 + 0x20) = 1;\n    }" ({ "{") (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 1" (identifier "pbVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x20) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" (else "else") (compound_statement "{\n      uVar4 = (uint)pbVar8[1];\n      pbVar8 = pbVar8 + 2;\n      *(uint *)(param_1 + 0x20) = uVar4;\n      if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }\n    }" ({ "{") (expression_statement "uVar4 = (uint)pbVar8[1];" (assignment_expression "uVar4 = (uint)pbVar8[1]" (identifier "uVar4") (= "=") (cast_expression "(uint)pbVar8[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[1]" (identifier "pbVar8") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "pbVar8 = pbVar8 + 2;" (assignment_expression "pbVar8 = pbVar8 + 2" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 2" (identifier "pbVar8") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x20) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x20) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x20)" (* "*") (cast_expression "(uint *)(param_1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (uVar4 != 1) {\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }" (if "if") (parenthesized_expression "(uVar4 != 1)" (( "(") (binary_expression "uVar4 != 1" (identifier "uVar4") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                    \n        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);\n      }" ({ "{") (expression_statement "FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);" (call_expression "FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4)" (identifier "FUN_002446e0") (argument_list "(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4)" (( "(") (binary_expression "unaff_EBP + 0x12609b" (identifier "unaff_EBP") (+ "+") (number_literal "0x12609b")) (, ",") (number_literal "0x68e") (, ",") (binary_expression "unaff_EBP + 0x12631a" (identifier "unaff_EBP") (+ "+") (number_literal "0x12631a")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "*(bool *)(param_1 + 0x24) = *pbVar8 != 0;" (assignment_expression "*(bool *)(param_1 + 0x24) = *pbVar8 != 0" (pointer_expression "*(bool *)(param_1 + 0x24)" (* "*") (cast_expression "(bool *)(param_1 + 0x24)" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "*pbVar8 != 0" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "puVar7 = *(undefined1 **)(param_1 + 0x30);" (assignment_expression "puVar7 = *(undefined1 **)(param_1 + 0x30)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined1 **)(param_1 + 0x30)" (* "*") (cast_expression "(undefined1 **)(param_1 + 0x30)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "pbVar9 = pbVar8 + 4;" (assignment_expression "pbVar9 = pbVar8 + 4" (identifier "pbVar9") (= "=") (binary_expression "pbVar8 + 4" (identifier "pbVar8") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(byte *)(param_1 + 0x25) = pbVar8[1];" (assignment_expression "*(byte *)(param_1 + 0x25) = pbVar8[1]" (pointer_expression "*(byte *)(param_1 + 0x25)" (* "*") (cast_expression "(byte *)(param_1 + 0x25)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x25)" (( "(") (binary_expression "param_1 + 0x25" (identifier "param_1") (+ "+") (number_literal "0x25")) () ")")))) (= "=") (subscript_expression "pbVar8[1]" (identifier "pbVar8") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;" (assignment_expression "uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7" (identifier "uVar5") (= "=") (binary_expression "(int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7" (cast_expression "(int)*(undefined1 **)(param_1 + 0x34)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(undefined1 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined1 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (- "-") (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x28) = (uint)pbVar8[2];" (assignment_expression "*(uint *)(param_1 + 0x28) = (uint)pbVar8[2]" (pointer_expression "*(uint *)(param_1 + 0x28)" (* "*") (cast_expression "(uint *)(param_1 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (cast_expression "(uint)pbVar8[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[2]" (identifier "pbVar8") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "bVar2 = pbVar8[3];" (assignment_expression "bVar2 = pbVar8[3]" (identifier "bVar2") (= "=") (subscript_expression "pbVar8[3]" (identifier "pbVar8") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(byte *)(param_1 + 0x2c) = bVar2;" (assignment_expression "*(byte *)(param_1 + 0x2c) = bVar2" (pointer_expression "*(byte *)(param_1 + 0x2c)" (* "*") (cast_expression "(byte *)(param_1 + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "bVar2")) (; ";")) (expression_statement "uVar4 = bVar2 + 1;" (assignment_expression "uVar4 = bVar2 + 1" (identifier "uVar4") (= "=") (binary_expression "bVar2 + 1" (identifier "bVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar5 < uVar4) {\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }\n    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" (if "if") (parenthesized_expression "(uVar5 < uVar4)" (( "(") (binary_expression "uVar5 < uVar4" (identifier "uVar5") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);\n      puVar7 = *(undefined1 **)(param_1 + 0x30);\n    }" ({ "{") (expression_statement "FUN_00106580(param_1 + 0x30,uVar4 - uVar5);" (call_expression "FUN_00106580(param_1 + 0x30,uVar4 - uVar5)" (identifier "FUN_00106580") (argument_list "(param_1 + 0x30,uVar4 - uVar5)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) (, ",") (binary_expression "uVar4 - uVar5" (identifier "uVar4") (- "-") (identifier "uVar5")) () ")"))) (; ";")) (expression_statement "puVar7 = *(undefined1 **)(param_1 + 0x30);" (assignment_expression "puVar7 = *(undefined1 **)(param_1 + 0x30)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined1 **)(param_1 + 0x30)" (* "*") (cast_expression "(undefined1 **)(param_1 + 0x30)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (} "}")) (else_clause "else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" (else "else") (if_statement "if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" (if "if") (parenthesized_expression "((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4))" (( "(") (binary_expression "(uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)" (parenthesized_expression "(uVar4 < uVar5)" (( "(") (binary_expression "uVar4 < uVar5" (identifier "uVar4") (< "<") (identifier "uVar5")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)" (( "(") (binary_expression "*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4" (pointer_expression "*(undefined1 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined1 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (binary_expression "puVar7 + uVar4" (identifier "puVar7") (+ "+") (identifier "uVar4"))) () ")"))) () ")")) (compound_statement "{\n      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;\n    }" ({ "{") (expression_statement "*(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;" (assignment_expression "*(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4" (pointer_expression "*(undefined1 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined1 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (binary_expression "puVar7 + uVar4" (identifier "puVar7") (+ "+") (identifier "uVar4"))) (; ";")) (} "}"))))) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (1 < *(byte *)(param_1 + 0x2c)) {\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }" (if "if") (parenthesized_expression "(1 < *(byte *)(param_1 + 0x2c))" (( "(") (binary_expression "1 < *(byte *)(param_1 + 0x2c)" (number_literal "1") (< "<") (pointer_expression "*(byte *)(param_1 + 0x2c)" (* "*") (cast_expression "(byte *)(param_1 + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) () ")")) (compound_statement "{\n      iVar3 = 1;\n      do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));\n    }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));" (do "do") (compound_statement "{\n        bVar2 = *pbVar9;\n        pbVar9 = pbVar9 + 1;\n        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;\n        iVar3 = iVar3 + 1;\n      }" ({ "{") (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" (identifier "bVar2") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;" (assignment_expression "*(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2" (pointer_expression "*(byte *)(*(int *)(param_1 + 0x30) + iVar3)" (* "*") (cast_expression "(byte *)(*(int *)(param_1 + 0x30) + iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x30) + iVar3)" (( "(") (binary_expression "*(int *)(param_1 + 0x30) + iVar3" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (identifier "iVar3")) () ")")))) (= "=") (identifier "bVar2")) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c))" (( "(") (binary_expression "iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c)" (identifier "iVar3") (< "<") (binary_expression "(int)(uint)*(byte *)(param_1 + 0x2c)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(byte *)(param_1 + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return pbVar9;" (return "return") (identifier "pbVar9") (; ";")) (} "}"))) (expression_statement "FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))\n  ;" (call_expression "FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))" (identifier "FUN_002446e0") (argument_list "(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))" (( "(") (binary_expression "unaff_EBP + 0x12609b" (identifier "unaff_EBP") (+ "+") (number_literal "0x12609b")) (, ",") (number_literal "0x678") (, ",") (binary_expression "unaff_EBP + 0x12631a" (identifier "unaff_EBP") (+ "+") (number_literal "0x12631a")) (, ",") (cast_expression "(undefined1 *)(uVar4 + (int)param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + (int)param_2)" (( "(") (binary_expression "uVar4 + (int)param_2" (identifier "uVar4") (+ "+") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* DWARF original prototype: uchar * read_header_prolog(Sized_dwarf_line_info<32,_true> * this,
   uchar * lineptr) */

type_1 * __thiscall
gold::Sized_dwarf_line_info<32,_true>::read_header_prolog
          (Sized_dwarf_line_info<32,_true> *this,type_1 *var_2)

{
  type_1 uVar1;
  type_1 uVar2;
  type_2 var_8;
  type_3 var_14;
  type_1 *var_3;
  int var_5;
  type_4 var_1;
  type_4 var_6;
  type_3 var_15;
  type_2 *var_7;
  type_2 *var_16;
  
  var_1 = *(type_4 *)var_2;
  var_1 = var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 << 0x18;
  if (var_1 == 0xffffffff) {
    (this->header_).offset_size = 8;
    var_1 = *(type_4 *)(var_2 + 8);
    var_3 = var_2 + 0xc;
    var_1 = var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 << 0x18;
  }
  else {
    (this->header_).offset_size = 4;
    var_3 = var_2 + 4;
  }
  *(type_4 *)&(this->header_).total_length = var_1;
  *(type_5 *)((int)&(this->header_).total_length + 4) = 0;
  if (var_3 + var_1 <= this->buffer_end_) {
    uVar1 = *var_3;
    uVar2 = var_3[1];
    (this->header_).version = (type_4)var_4(uVar1,uVar2);
    var_5 = (this->header_).offset_size;
    if (var_5 == 4) {
      var_1 = *(type_4 *)(var_3 + 2);
      var_6 = 0;
      var_1 = var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 << 0x18;
    }
    else {
      var_1 = *(type_4 *)(var_3 + 6);
      var_1 = var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 << 0x18;
      var_6 = *(type_4 *)(var_3 + 2);
      var_6 = var_6 >> 0x18 | (var_6 & 0xff0000) >> 8 | (var_6 & 0xff00) << 8 | var_6 << 0x18;
    }
    *(type_4 *)&(this->header_).prologue_length = var_1;
    var_7 = var_3 + var_5 + 2;
    *(type_4 *)((int)&(this->header_).prologue_length + 4) = var_6;
    (this->header_).min_insn_length = (type_4)*var_7;
    if (var_4(uVar1,uVar2) < 4) {
      var_7 = var_7 + 1;
      (this->header_).max_ops_per_insn = 1;
    }
    else {
      var_8 = var_7[1];
      var_7 = var_7 + 2;
      (this->header_).max_ops_per_insn = (type_4)var_8;
      if (var_8 != 1) {
                    /* WARNING: Subroutine does not return */
        var_9("../../gold/dwarf_reader.cc",0x68e,"read_header_prolog");
      }
    }
    var_14 = (this->header_).std_opcode_lengths.
             super__Vector_base<var_11,_std::var_10<var_11>var_12>._M_impl._M_finish;
    (this->header_).default_is_stmt = *var_7 != 0;
    var_15 = (this->header_).std_opcode_lengths.
             super__Vector_base<var_11,_std::var_10<var_11>var_12>._M_impl._M_start;
    var_16 = var_7 + 4;
    (this->header_).line_base = var_7[1];
    var_6 = (int)var_14 - (int)var_15;
    (this->header_).line_range = (type_4)var_7[2];
    var_8 = var_7[3];
    (this->header_).opcode_base = var_8;
    var_1 = var_8 + 1;
    if (var_6 < var_1) {
      std::vector<var_11,_std::var_10<var_11>var_12>::var_13
                (&(this->header_).std_opcode_lengths,var_1 - var_6);
      var_15 = (this->header_).std_opcode_lengths.
               super__Vector_base<var_11,_std::var_10<var_11>var_12>._M_impl._M_start;
    }
    else if ((var_1 < var_6) && (var_14 != var_15 + var_1)) {
      (this->header_).std_opcode_lengths.
      super__Vector_base<var_11,_std::var_10<var_11>var_12>._M_impl._M_finish =
           var_15 + var_1;
    }
    *var_15 = '\0';
    if (1 < (this->header_).opcode_base) {
      var_5 = 1;
      do {
        var_8 = *var_16;
        var_16 = var_16 + 1;
        (this->header_).std_opcode_lengths.
        super__Vector_base<var_11,_std::var_10<var_11>var_12>._M_impl._M_start[var_5] =
             var_8;
        var_5 = var_5 + 1;
      } while (var_5 < (int)(type_4)(this->header_).opcode_base);
    }
    return var_16;
  }
                    /* WARNING: Subroutine does not return */
  var_9("../../gold/dwarf_reader.cc",0x678,"read_header_prolog");
}


(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: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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: (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))))))) (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (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)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (identifier)))) (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)) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))))))

byte * MASKED(int param_1,uint *param_2)

{
  undefined1 uVar1;
  byte bVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  int unaff_EBP;
  byte *pbVar8;
  byte *pbVar9;
  
  FUN_00074f0e();
  uVar4 = *param_2;
  uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
  if (uVar4 == 0xffffffff) {
    *(undefined4 *)(param_1 + 0x3c) = 8;
    uVar4 = param_2[2];
    param_2 = param_2 + 3;
    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
  }
  else {
    *(undefined4 *)(param_1 + 0x3c) = 4;
    param_2 = param_2 + 1;
  }
  *(uint *)(param_1 + 8) = uVar4;
  *(undefined4 *)(param_1 + 0xc) = 0;
  if ((undefined1 *)(uVar4 + (int)param_2) <= *(undefined1 **)(param_1 + 0x44)) {
    uVar4 = *param_2;
    uVar1 = *(undefined1 *)((int)param_2 + 1);
    *(uint *)(param_1 + 0x10) = (uint)CONCAT11((char)uVar4,uVar1);
    if (*(int *)(param_1 + 0x3c) == 4) {
      uVar5 = *(uint *)((int)param_2 + 2);
      uVar6 = 0;
      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
    }
    else {
      uVar5 = *(uint *)((int)param_2 + 6);
      uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
      uVar6 = *(uint *)((int)param_2 + 2);
      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
    }
    *(uint *)(param_1 + 0x14) = uVar5;
    pbVar8 = (byte *)((int)param_2 + *(int *)(param_1 + 0x3c) + 2);
    *(uint *)(param_1 + 0x18) = uVar6;
    *(uint *)(param_1 + 0x1c) = (uint)*pbVar8;
    if (CONCAT11((char)uVar4,uVar1) < 4) {
      pbVar8 = pbVar8 + 1;
      *(undefined4 *)(param_1 + 0x20) = 1;
    }
    else {
      uVar4 = (uint)pbVar8[1];
      pbVar8 = pbVar8 + 2;
      *(uint *)(param_1 + 0x20) = uVar4;
      if (uVar4 != 1) {
                    /* WARNING: Subroutine does not return */
        FUN_002446e0(unaff_EBP + 0x12609b,0x68e,unaff_EBP + 0x12631a,uVar4);
      }
    }
    *(bool *)(param_1 + 0x24) = *pbVar8 != 0;
    puVar7 = *(undefined1 **)(param_1 + 0x30);
    pbVar9 = pbVar8 + 4;
    *(byte *)(param_1 + 0x25) = pbVar8[1];
    uVar5 = (int)*(undefined1 **)(param_1 + 0x34) - (int)puVar7;
    *(uint *)(param_1 + 0x28) = (uint)pbVar8[2];
    bVar2 = pbVar8[3];
    *(byte *)(param_1 + 0x2c) = bVar2;
    uVar4 = bVar2 + 1;
    if (uVar5 < uVar4) {
      FUN_00106580(param_1 + 0x30,uVar4 - uVar5);
      puVar7 = *(undefined1 **)(param_1 + 0x30);
    }
    else if ((uVar4 < uVar5) && (*(undefined1 **)(param_1 + 0x34) != puVar7 + uVar4)) {
      *(undefined1 **)(param_1 + 0x34) = puVar7 + uVar4;
    }
    *puVar7 = 0;
    if (1 < *(byte *)(param_1 + 0x2c)) {
      iVar3 = 1;
      do {
        bVar2 = *pbVar9;
        pbVar9 = pbVar9 + 1;
        *(byte *)(*(int *)(param_1 + 0x30) + iVar3) = bVar2;
        iVar3 = iVar3 + 1;
      } while (iVar3 < (int)(uint)*(byte *)(param_1 + 0x2c));
    }
    return pbVar9;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0(unaff_EBP + 0x12609b,0x678,unaff_EBP + 0x12631a,(undefined1 *)(uVar4 + (int)param_2))
  ;
}

