
uint get_compression_header(Elf_Internal_Chdr *chdr,uchar *buf,bfd_size_type size)

{
  undefined *puVar1;
  undefined4 uVar2;
  uint extraout_v1;
  uint extraout_v1_00;
  int in_a2;
  uint in_a3;
  code *pcVar3;
  bfd_size_type bVar4;
  bfd_vma bVar5;
  
  puVar1 = PTR_byte_get_000c3394;
  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {
    if ((in_a2 != 0) || (0x17 < in_a3)) {
      (**(code **)PTR_byte_get_000c3394)(buf,4);
      pcVar3 = *(code **)puVar1;
      chdr->ch_type = extraout_v1_00;
      bVar4 = (*pcVar3)(buf + 8,8);
      pcVar3 = *(code **)puVar1;
      chdr->ch_size = bVar4;
      bVar5 = (*pcVar3)(buf + 0x10,8);
      chdr->ch_addralign = bVar5;
      return 0x18;
    }
  }
  else if ((in_a2 != 0) || (0xb < in_a3)) {
    (**(code **)PTR_byte_get_000c3394)(buf,4);
    pcVar3 = *(code **)puVar1;
    chdr->ch_type = extraout_v1;
    bVar4 = (*pcVar3)(buf + 4,4);
    pcVar3 = *(code **)puVar1;
    chdr->ch_size = bVar4;
    bVar5 = (*pcVar3)(buf + 8,4);
    chdr->ch_addralign = bVar5;
    return 0xc;
  }
  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);
  (*(code *)PTR_error_000c3398)(uVar2);
  return 0;
}



undefined4 FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 extraout_v1;
  undefined4 extraout_v1_00;
  code *pcVar3;
  undefined8 uVar4;
  
  puVar1 = PTR_byte_get_000c3394;
  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {
    if ((param_3 != 0) || (0x17 < param_4)) {
      (**(code **)PTR_byte_get_000c3394)(param_2,4);
      pcVar3 = *(code **)puVar1;
      *param_1 = extraout_v1_00;
      uVar4 = (*pcVar3)(param_2 + 8,8);
      pcVar3 = *(code **)puVar1;
      *(undefined8 *)(param_1 + 2) = uVar4;
      uVar4 = (*pcVar3)(param_2 + 0x10,8);
      *(undefined8 *)(param_1 + 4) = uVar4;
      return 0x18;
    }
  }
  else if ((param_3 != 0) || (0xb < param_4)) {
    (**(code **)PTR_byte_get_000c3394)(param_2,4);
    pcVar3 = *(code **)puVar1;
    *param_1 = extraout_v1;
    uVar4 = (*pcVar3)(param_2 + 4,4);
    pcVar3 = *(code **)puVar1;
    *(undefined8 *)(param_1 + 2) = uVar4;
    uVar4 = (*pcVar3)(param_2 + 8,4);
    *(undefined8 *)(param_1 + 4) = uVar4;
    return 0xc;
  }
  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);
  (*(code *)PTR_error_000c3398)(uVar2);
  return 0;
}


lui gp,0xb
addiu gp,gp,-0x1af0
addu gp,gp,t9
lw v0,-0x7fd8(gp)
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw s0,0x18(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
lw v0,0x4648(v0)
beq v0,zero,0x0001cee8
_or s0,a0,zero
beq a2,zero,0x0001cf60
_sltiu a3,a3,0xc
lw s2,-0x7fbc(gp)
li a1,0x4
lw t9,0x0(s2)
jalr t9
_or a0,s1,zero
addiu a0,s1,0x4
lw t9,0x0(s2)
li a1,0x4
jalr t9
_sw v1,0x0(s0)
addiu a0,s1,0x8
lw t9,0x0(s2)
li a1,0x4
sw v1,0xc(s0)
jalr t9
_sw v0,0x8(s0)
li a0,0xc
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
sw v0,0x10(s0)
or v0,a0,zero
sw v1,0x14(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
bne a2,zero,0x0001cefc
_lw s2,-0x7fbc(gp)
sltiu a3,a3,0x18
bne a3,zero,0x0001cf6c
_lw a1,-0x7fc0(gp)
li a1,0x4
lw t9,0x0(s2)
jalr t9
_or a0,s1,zero
addiu a0,s1,0x8
lw t9,0x0(s2)
li a1,0x8
jalr t9
_sw v1,0x0(s0)
addiu a0,s1,0x10
lw t9,0x0(s2)
li a1,0x8
sw v1,0xc(s0)
jalr t9
_sw v0,0x8(s0)
li a0,0x18
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
sw v0,0x10(s0)
or v0,a0,zero
sw v1,0x14(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
beq a3,zero,0x0001ce84
_lw s2,-0x7fbc(gp)
lw a1,-0x7fc0(gp)
li a2,0x5
lw t9,-0x7d44(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x3e98
lw gp,0x10(sp)
lw t9,-0x7fb8(gp)
jalr t9
_or a0,v0,zero
or a0,zero,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
or v0,a0,zero
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" type_identifier (function_declarator "FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "undefined4 extraout_v1_00;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_byte_get_000c3394;" (assignment_expression "puVar1 = PTR_byte_get_000c3394" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000c3378 + 0x4648) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000c3378 + 0x4648) == 0" (pointer_expression "*(int *)(PTR_DAT_000c3378 + 0x4648)" * (cast_expression "(int *)(PTR_DAT_000c3378 + 0x4648)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000c3378 + 0x4648)" ( (binary_expression "PTR_DAT_000c3378 + 0x4648" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }" { (if_statement "if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }" if (parenthesized_expression "((param_3 != 0) || (0x17 < param_4))" ( (binary_expression "(param_3 != 0) || (0x17 < param_4)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) || (parenthesized_expression "(0x17 < param_4)" ( (binary_expression "0x17 < param_4" number_literal < identifier) ))) )) (compound_statement "{\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }" { (expression_statement "(**(code **)PTR_byte_get_000c3394)(param_2,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(param_2,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" ( (pointer_expression "**(code **)PTR_byte_get_000c3394" * (pointer_expression "*(code **)PTR_byte_get_000c3394" * (cast_expression "(code **)PTR_byte_get_000c3394" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_2,4)" ( identifier , number_literal ))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*param_1 = extraout_v1_00;" (assignment_expression "*param_1 = extraout_v1_00" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 8,8);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 8,8)" identifier = (call_expression "(*pcVar3)(param_2 + 8,8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 8,8)" ( (binary_expression "param_2 + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 0x10,8);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 0x10,8)" identifier = (call_expression "(*pcVar3)(param_2 + 0x10,8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 0x10,8)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined8 *)(param_1 + 4) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 4) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0x18;" return number_literal ;) })) }) (else_clause "else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" else (if_statement "if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" if (parenthesized_expression "((param_3 != 0) || (0xb < param_4))" ( (binary_expression "(param_3 != 0) || (0xb < param_4)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) || (parenthesized_expression "(0xb < param_4)" ( (binary_expression "0xb < param_4" number_literal < identifier) ))) )) (compound_statement "{\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" { (expression_statement "(**(code **)PTR_byte_get_000c3394)(param_2,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(param_2,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" ( (pointer_expression "**(code **)PTR_byte_get_000c3394" * (pointer_expression "*(code **)PTR_byte_get_000c3394" * (cast_expression "(code **)PTR_byte_get_000c3394" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_2,4)" ( identifier , number_literal ))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*param_1 = extraout_v1;" (assignment_expression "*param_1 = extraout_v1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 4,4);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 4,4)" identifier = (call_expression "(*pcVar3)(param_2 + 4,4)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 4,4)" ( (binary_expression "param_2 + 4" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 8,4);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 8,4)" identifier = (call_expression "(*pcVar3)(param_2 + 8,4)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 8,4)" ( (binary_expression "param_2 + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined8 *)(param_1 + 4) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 4) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0xc;" return number_literal ;) })))) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" ( (pointer_expression "*(code *)PTR_dcgettext_000c360c" * (cast_expression "(code *)PTR_dcgettext_000c360c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" ( number_literal , (binary_expression "PTR_s_TADECL_000c3390 + -0x3e98" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_000c3398)(uVar2);" (call_expression "(*(code *)PTR_error_000c3398)(uVar2)" (parenthesized_expression "(*(code *)PTR_error_000c3398)" ( (pointer_expression "*(code *)PTR_error_000c3398" * (cast_expression "(code *)PTR_error_000c3398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "uint get_compression_header(Elf_Internal_Chdr *chdr,uchar *buf,bfd_size_type size)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  uint extraout_v1;\n  uint extraout_v1_00;\n  int in_a2;\n  uint in_a3;\n  code *pcVar3;\n  bfd_size_type bVar4;\n  bfd_vma bVar5;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((in_a2 != 0) || (0x17 < in_a3)) {\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }\n  }\n  else if ((in_a2 != 0) || (0xb < in_a3)) {\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}\n\n" (function_definition "uint get_compression_header(Elf_Internal_Chdr *chdr,uchar *buf,bfd_size_type size)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  uint extraout_v1;\n  uint extraout_v1_00;\n  int in_a2;\n  uint in_a3;\n  code *pcVar3;\n  bfd_size_type bVar4;\n  bfd_vma bVar5;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((in_a2 != 0) || (0x17 < in_a3)) {\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }\n  }\n  else if ((in_a2 != 0) || (0xb < in_a3)) {\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" type_identifier (function_declarator "get_compression_header(Elf_Internal_Chdr *chdr,uchar *buf,bfd_size_type size)" identifier (parameter_list "(Elf_Internal_Chdr *chdr,uchar *buf,bfd_size_type size)" ( (parameter_declaration "Elf_Internal_Chdr *chdr" type_identifier (pointer_declarator "*chdr" * identifier)) , (parameter_declaration "uchar *buf" type_identifier (pointer_declarator "*buf" * identifier)) , (parameter_declaration "bfd_size_type size" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  uint extraout_v1;\n  uint extraout_v1_00;\n  int in_a2;\n  uint in_a3;\n  code *pcVar3;\n  bfd_size_type bVar4;\n  bfd_vma bVar5;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((in_a2 != 0) || (0x17 < in_a3)) {\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }\n  }\n  else if ((in_a2 != 0) || (0xb < in_a3)) {\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (declaration "uint extraout_v1_00;" type_identifier identifier ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "bfd_size_type bVar4;" type_identifier identifier ;) (declaration "bfd_vma bVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_byte_get_000c3394;" (assignment_expression "puVar1 = PTR_byte_get_000c3394" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((in_a2 != 0) || (0x17 < in_a3)) {\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }\n  }\n  else if ((in_a2 != 0) || (0xb < in_a3)) {\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000c3378 + 0x4648) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000c3378 + 0x4648) == 0" (pointer_expression "*(int *)(PTR_DAT_000c3378 + 0x4648)" * (cast_expression "(int *)(PTR_DAT_000c3378 + 0x4648)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000c3378 + 0x4648)" ( (binary_expression "PTR_DAT_000c3378 + 0x4648" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if ((in_a2 != 0) || (0x17 < in_a3)) {\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }\n  }" { (if_statement "if ((in_a2 != 0) || (0x17 < in_a3)) {\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }" if (parenthesized_expression "((in_a2 != 0) || (0x17 < in_a3))" ( (binary_expression "(in_a2 != 0) || (0x17 < in_a3)" (parenthesized_expression "(in_a2 != 0)" ( (binary_expression "in_a2 != 0" identifier != number_literal) )) || (parenthesized_expression "(0x17 < in_a3)" ( (binary_expression "0x17 < in_a3" number_literal < identifier) ))) )) (compound_statement "{\n      (**(code **)PTR_byte_get_000c3394)(buf,4);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_type = extraout_v1_00;\n      bVar4 = (*pcVar3)(buf + 8,8);\n      pcVar3 = *(code **)puVar1;\n      chdr->ch_size = bVar4;\n      bVar5 = (*pcVar3)(buf + 0x10,8);\n      chdr->ch_addralign = bVar5;\n      return 0x18;\n    }" { (expression_statement "(**(code **)PTR_byte_get_000c3394)(buf,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(buf,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" ( (pointer_expression "**(code **)PTR_byte_get_000c3394" * (pointer_expression "*(code **)PTR_byte_get_000c3394" * (cast_expression "(code **)PTR_byte_get_000c3394" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(buf,4)" ( identifier , number_literal ))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "chdr->ch_type = extraout_v1_00;" (assignment_expression "chdr->ch_type = extraout_v1_00" (field_expression "chdr->ch_type" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar4 = (*pcVar3)(buf + 8,8);" (assignment_expression "bVar4 = (*pcVar3)(buf + 8,8)" identifier = (call_expression "(*pcVar3)(buf + 8,8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(buf + 8,8)" ( (binary_expression "buf + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "chdr->ch_size = bVar4;" (assignment_expression "chdr->ch_size = bVar4" (field_expression "chdr->ch_size" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar5 = (*pcVar3)(buf + 0x10,8);" (assignment_expression "bVar5 = (*pcVar3)(buf + 0x10,8)" identifier = (call_expression "(*pcVar3)(buf + 0x10,8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(buf + 0x10,8)" ( (binary_expression "buf + 0x10" identifier + number_literal) , number_literal )))) ;) (expression_statement "chdr->ch_addralign = bVar5;" (assignment_expression "chdr->ch_addralign = bVar5" (field_expression "chdr->ch_addralign" identifier -> field_identifier) = identifier) ;) (return_statement "return 0x18;" return number_literal ;) })) }) (else_clause "else if ((in_a2 != 0) || (0xb < in_a3)) {\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }" else (if_statement "if ((in_a2 != 0) || (0xb < in_a3)) {\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }" if (parenthesized_expression "((in_a2 != 0) || (0xb < in_a3))" ( (binary_expression "(in_a2 != 0) || (0xb < in_a3)" (parenthesized_expression "(in_a2 != 0)" ( (binary_expression "in_a2 != 0" identifier != number_literal) )) || (parenthesized_expression "(0xb < in_a3)" ( (binary_expression "0xb < in_a3" number_literal < identifier) ))) )) (compound_statement "{\n    (**(code **)PTR_byte_get_000c3394)(buf,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_type = extraout_v1;\n    bVar4 = (*pcVar3)(buf + 4,4);\n    pcVar3 = *(code **)puVar1;\n    chdr->ch_size = bVar4;\n    bVar5 = (*pcVar3)(buf + 8,4);\n    chdr->ch_addralign = bVar5;\n    return 0xc;\n  }" { (expression_statement "(**(code **)PTR_byte_get_000c3394)(buf,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(buf,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" ( (pointer_expression "**(code **)PTR_byte_get_000c3394" * (pointer_expression "*(code **)PTR_byte_get_000c3394" * (cast_expression "(code **)PTR_byte_get_000c3394" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(buf,4)" ( identifier , number_literal ))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "chdr->ch_type = extraout_v1;" (assignment_expression "chdr->ch_type = extraout_v1" (field_expression "chdr->ch_type" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar4 = (*pcVar3)(buf + 4,4);" (assignment_expression "bVar4 = (*pcVar3)(buf + 4,4)" identifier = (call_expression "(*pcVar3)(buf + 4,4)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(buf + 4,4)" ( (binary_expression "buf + 4" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "chdr->ch_size = bVar4;" (assignment_expression "chdr->ch_size = bVar4" (field_expression "chdr->ch_size" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar5 = (*pcVar3)(buf + 8,4);" (assignment_expression "bVar5 = (*pcVar3)(buf + 8,4)" identifier = (call_expression "(*pcVar3)(buf + 8,4)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(buf + 8,4)" ( (binary_expression "buf + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "chdr->ch_addralign = bVar5;" (assignment_expression "chdr->ch_addralign = bVar5" (field_expression "chdr->ch_addralign" identifier -> field_identifier) = identifier) ;) (return_statement "return 0xc;" return number_literal ;) })))) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" ( (pointer_expression "*(code *)PTR_dcgettext_000c360c" * (cast_expression "(code *)PTR_dcgettext_000c360c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" ( number_literal , (binary_expression "PTR_s_TADECL_000c3390 + -0x3e98" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_000c3398)(uVar2);" (call_expression "(*(code *)PTR_error_000c3398)(uVar2)" (parenthesized_expression "(*(code *)PTR_error_000c3398)" ( (pointer_expression "*(code *)PTR_error_000c3398" * (cast_expression "(code *)PTR_error_000c3398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" type_identifier (function_declarator "FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "undefined4 extraout_v1_00;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_byte_get_000c3394;" (assignment_expression "puVar1 = PTR_byte_get_000c3394" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000c3378 + 0x4648) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000c3378 + 0x4648) == 0" (pointer_expression "*(int *)(PTR_DAT_000c3378 + 0x4648)" * (cast_expression "(int *)(PTR_DAT_000c3378 + 0x4648)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000c3378 + 0x4648)" ( (binary_expression "PTR_DAT_000c3378 + 0x4648" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }" { (if_statement "if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }" if (parenthesized_expression "((param_3 != 0) || (0x17 < param_4))" ( (binary_expression "(param_3 != 0) || (0x17 < param_4)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) || (parenthesized_expression "(0x17 < param_4)" ( (binary_expression "0x17 < param_4" number_literal < identifier) ))) )) (compound_statement "{\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }" { (expression_statement "(**(code **)PTR_byte_get_000c3394)(param_2,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(param_2,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" ( (pointer_expression "**(code **)PTR_byte_get_000c3394" * (pointer_expression "*(code **)PTR_byte_get_000c3394" * (cast_expression "(code **)PTR_byte_get_000c3394" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_2,4)" ( identifier , number_literal ))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*param_1 = extraout_v1_00;" (assignment_expression "*param_1 = extraout_v1_00" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 8,8);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 8,8)" identifier = (call_expression "(*pcVar3)(param_2 + 8,8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 8,8)" ( (binary_expression "param_2 + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 0x10,8);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 0x10,8)" identifier = (call_expression "(*pcVar3)(param_2 + 0x10,8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 0x10,8)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined8 *)(param_1 + 4) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 4) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0x18;" return number_literal ;) })) }) (else_clause "else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" else (if_statement "if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" if (parenthesized_expression "((param_3 != 0) || (0xb < param_4))" ( (binary_expression "(param_3 != 0) || (0xb < param_4)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) || (parenthesized_expression "(0xb < param_4)" ( (binary_expression "0xb < param_4" number_literal < identifier) ))) )) (compound_statement "{\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" { (expression_statement "(**(code **)PTR_byte_get_000c3394)(param_2,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(param_2,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" ( (pointer_expression "**(code **)PTR_byte_get_000c3394" * (pointer_expression "*(code **)PTR_byte_get_000c3394" * (cast_expression "(code **)PTR_byte_get_000c3394" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_2,4)" ( identifier , number_literal ))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*param_1 = extraout_v1;" (assignment_expression "*param_1 = extraout_v1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 4,4);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 4,4)" identifier = (call_expression "(*pcVar3)(param_2 + 4,4)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 4,4)" ( (binary_expression "param_2 + 4" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = (*pcVar3)(param_2 + 8,4);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 8,4)" identifier = (call_expression "(*pcVar3)(param_2 + 8,4)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2 + 8,4)" ( (binary_expression "param_2 + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined8 *)(param_1 + 4) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 4) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0xc;" return number_literal ;) })))) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" ( (pointer_expression "*(code *)PTR_dcgettext_000c360c" * (cast_expression "(code *)PTR_dcgettext_000c360c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" ( number_literal , (binary_expression "PTR_s_TADECL_000c3390 + -0x3e98" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_000c3398)(uVar2);" (call_expression "(*(code *)PTR_error_000c3398)(uVar2)" (parenthesized_expression "(*(code *)PTR_error_000c3398)" ( (pointer_expression "*(code *)PTR_error_000c3398" * (cast_expression "(code *)PTR_error_000c3398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression 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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (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) ;) (return_statement return LIT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (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) ;) (return_statement return LIT ;) })))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001ce40(undefined4 *param_1,int param_2,int param_3,uint param_4)" (identifier "FUN_0001ce40") (parameter_list "(undefined4 *param_1,int param_2,int param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 extraout_v1;\n  undefined4 extraout_v1_00;\n  code *pcVar3;\n  undefined8 uVar4;\n  \n  puVar1 = PTR_byte_get_000c3394;\n  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);\n  (*(code *)PTR_error_000c3398)(uVar2);\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 extraout_v1;" (type_identifier "undefined4") (identifier "extraout_v1") (; ";")) (declaration "undefined4 extraout_v1_00;" (type_identifier "undefined4") (identifier "extraout_v1_00") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (expression_statement "puVar1 = PTR_byte_get_000c3394;" (assignment_expression "puVar1 = PTR_byte_get_000c3394" (identifier "puVar1") (= "=") (identifier "PTR_byte_get_000c3394")) (; ";")) (if_statement "if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }\n  else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000c3378 + 0x4648) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000c3378 + 0x4648) == 0" (pointer_expression "*(int *)(PTR_DAT_000c3378 + 0x4648)" (* "*") (cast_expression "(int *)(PTR_DAT_000c3378 + 0x4648)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000c3378 + 0x4648)" (( "(") (binary_expression "PTR_DAT_000c3378 + 0x4648" (identifier "PTR_DAT_000c3378") (+ "+") (number_literal "0x4648")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }\n  }" ({ "{") (if_statement "if ((param_3 != 0) || (0x17 < param_4)) {\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }" (if "if") (parenthesized_expression "((param_3 != 0) || (0x17 < param_4))" (( "(") (binary_expression "(param_3 != 0) || (0x17 < param_4)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(0x17 < param_4)" (( "(") (binary_expression "0x17 < param_4" (number_literal "0x17") (< "<") (identifier "param_4")) () ")"))) () ")")) (compound_statement "{\n      (**(code **)PTR_byte_get_000c3394)(param_2,4);\n      pcVar3 = *(code **)puVar1;\n      *param_1 = extraout_v1_00;\n      uVar4 = (*pcVar3)(param_2 + 8,8);\n      pcVar3 = *(code **)puVar1;\n      *(undefined8 *)(param_1 + 2) = uVar4;\n      uVar4 = (*pcVar3)(param_2 + 0x10,8);\n      *(undefined8 *)(param_1 + 4) = uVar4;\n      return 0x18;\n    }" ({ "{") (expression_statement "(**(code **)PTR_byte_get_000c3394)(param_2,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(param_2,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" (( "(") (pointer_expression "**(code **)PTR_byte_get_000c3394" (* "*") (pointer_expression "*(code **)PTR_byte_get_000c3394" (* "*") (cast_expression "(code **)PTR_byte_get_000c3394" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_byte_get_000c3394")))) () ")")) (argument_list "(param_2,4)" (( "(") (identifier "param_2") (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*param_1 = extraout_v1_00;" (assignment_expression "*param_1 = extraout_v1_00" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "extraout_v1_00")) (; ";")) (expression_statement "uVar4 = (*pcVar3)(param_2 + 8,8);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 8,8)" (identifier "uVar4") (= "=") (call_expression "(*pcVar3)(param_2 + 8,8)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_2 + 8,8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 2)" (* "*") (cast_expression "(undefined8 *)(param_1 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar4 = (*pcVar3)(param_2 + 0x10,8);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 0x10,8)" (identifier "uVar4") (= "=") (call_expression "(*pcVar3)(param_2 + 0x10,8)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_2 + 0x10,8)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 4) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 4) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 4)" (* "*") (cast_expression "(undefined8 *)(param_1 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (return_statement "return 0x18;" (return "return") (number_literal "0x18") (; ";")) (} "}"))) (} "}")) (else_clause "else if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" (else "else") (if_statement "if ((param_3 != 0) || (0xb < param_4)) {\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" (if "if") (parenthesized_expression "((param_3 != 0) || (0xb < param_4))" (( "(") (binary_expression "(param_3 != 0) || (0xb < param_4)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(0xb < param_4)" (( "(") (binary_expression "0xb < param_4" (number_literal "0xb") (< "<") (identifier "param_4")) () ")"))) () ")")) (compound_statement "{\n    (**(code **)PTR_byte_get_000c3394)(param_2,4);\n    pcVar3 = *(code **)puVar1;\n    *param_1 = extraout_v1;\n    uVar4 = (*pcVar3)(param_2 + 4,4);\n    pcVar3 = *(code **)puVar1;\n    *(undefined8 *)(param_1 + 2) = uVar4;\n    uVar4 = (*pcVar3)(param_2 + 8,4);\n    *(undefined8 *)(param_1 + 4) = uVar4;\n    return 0xc;\n  }" ({ "{") (expression_statement "(**(code **)PTR_byte_get_000c3394)(param_2,4);" (call_expression "(**(code **)PTR_byte_get_000c3394)(param_2,4)" (parenthesized_expression "(**(code **)PTR_byte_get_000c3394)" (( "(") (pointer_expression "**(code **)PTR_byte_get_000c3394" (* "*") (pointer_expression "*(code **)PTR_byte_get_000c3394" (* "*") (cast_expression "(code **)PTR_byte_get_000c3394" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_byte_get_000c3394")))) () ")")) (argument_list "(param_2,4)" (( "(") (identifier "param_2") (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*param_1 = extraout_v1;" (assignment_expression "*param_1 = extraout_v1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "extraout_v1")) (; ";")) (expression_statement "uVar4 = (*pcVar3)(param_2 + 4,4);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 4,4)" (identifier "uVar4") (= "=") (call_expression "(*pcVar3)(param_2 + 4,4)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_2 + 4,4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "pcVar3 = *(code **)puVar1;" (assignment_expression "pcVar3 = *(code **)puVar1" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 2)" (* "*") (cast_expression "(undefined8 *)(param_1 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar4 = (*pcVar3)(param_2 + 8,4);" (assignment_expression "uVar4 = (*pcVar3)(param_2 + 8,4)" (identifier "uVar4") (= "=") (call_expression "(*pcVar3)(param_2 + 8,4)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_2 + 8,4)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 4) = uVar4;" (assignment_expression "*(undefined8 *)(param_1 + 4) = uVar4" (pointer_expression "*(undefined8 *)(param_1 + 4)" (* "*") (cast_expression "(undefined8 *)(param_1 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))))) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000c360c" (* "*") (cast_expression "(code *)PTR_dcgettext_000c360c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000c360c"))) () ")")) (argument_list "(0,PTR_s_TADECL_000c3390 + -0x3e98,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_TADECL_000c3390 + -0x3e98" (identifier "PTR_s_TADECL_000c3390") (+ "+") (number_literal "-0x3e98")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_000c3398)(uVar2);" (call_expression "(*(code *)PTR_error_000c3398)(uVar2)" (parenthesized_expression "(*(code *)PTR_error_000c3398)" (( "(") (pointer_expression "*(code *)PTR_error_000c3398" (* "*") (cast_expression "(code *)PTR_error_000c3398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000c3398"))) () ")")) (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (identifier) (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: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (identifier) (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: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 *param_1,int param_2,int param_3,uint param_4)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 extraout_v1;
  undefined4 extraout_v1_00;
  code *pcVar3;
  undefined8 uVar4;
  
  puVar1 = PTR_byte_get_000c3394;
  if (*(int *)(PTR_DAT_000c3378 + 0x4648) == 0) {
    if ((param_3 != 0) || (0x17 < param_4)) {
      (**(code **)PTR_byte_get_000c3394)(param_2,4);
      pcVar3 = *(code **)puVar1;
      *param_1 = extraout_v1_00;
      uVar4 = (*pcVar3)(param_2 + 8,8);
      pcVar3 = *(code **)puVar1;
      *(undefined8 *)(param_1 + 2) = uVar4;
      uVar4 = (*pcVar3)(param_2 + 0x10,8);
      *(undefined8 *)(param_1 + 4) = uVar4;
      return 0x18;
    }
  }
  else if ((param_3 != 0) || (0xb < param_4)) {
    (**(code **)PTR_byte_get_000c3394)(param_2,4);
    pcVar3 = *(code **)puVar1;
    *param_1 = extraout_v1;
    uVar4 = (*pcVar3)(param_2 + 4,4);
    pcVar3 = *(code **)puVar1;
    *(undefined8 *)(param_1 + 2) = uVar4;
    uVar4 = (*pcVar3)(param_2 + 8,4);
    *(undefined8 *)(param_1 + 4) = uVar4;
    return 0xc;
  }
  uVar2 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_s_TADECL_000c3390 + -0x3e98,5);
  (*(code *)PTR_error_000c3398)(uVar2);
  return 0;
}

