
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bfd_boolean __regparm3 skip_section(bfd *ibfd,sec_ptr isection,bfd_boolean skip_copy)

{
  uint uVar1;
  bfd_boolean bVar2;
  asection *sec;
  bfd *in_stack_ffffffe4;
  asection *in_stack_ffffffe8;
  
  if ((((status == 0 && extract_symbol == 0) &&
       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&
      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&
     ((((skip_copy == 0 || (merge_notes == 0)) ||
       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||
        (bVar2 = is_merged_note_section
                           ((bfd *)isection,(asection *)&isection->used_by_bfd,
                            (asection *)merge_notes), bVar2 == 0)))) &&
      ((isection->flags & 0x2000000) == 0)))) {
    uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||
                  isection->output_section == (bfd_section *)0x0);
  }
  else {
    uVar1 = 1;
  }
  return uVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bool __regparm3 FUN_00017fd0(int param_1,int param_2,int param_3)

{
  bool bVar1;
  int iVar2;
  
  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&
      (iVar2 = FUN_00017680(), iVar2 == 0)) &&
     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||
       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&
      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {
    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||
            *(int *)(param_2 + 0x54) == 0;
  }
  else {
    bVar1 = true;
  }
  return bVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x28027
SUB ESP,0xc
MOV ESI,dword ptr [EBX + 0xbc8]
OR ESI,dword ptr [EBX + 0xaec]
JZ 0x00018000
MOV EAX,0x1
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,EAX
MOV EAX,EDX
MOV ESI,ECX
MOV EDI,EDX
CALL 0x00017a30
TEST EAX,EAX
JNZ 0x00017ff0
MOV EAX,EDI
CALL 0x00017680
TEST EAX,EAX
JNZ 0x00017ff0
TEST ESI,ESI
JZ 0x00018048
MOV ECX,dword ptr [EBX + 0xbc4]
TEST ECX,ECX
JZ 0x00018048
MOV EAX,dword ptr [EBP + 0x4]
CMP dword ptr [EAX + 0x4],0x5
JNZ 0x00018048
LEA EDX,[EDI + 0xa4]
MOV EAX,EDI
CALL 0x000176d0
TEST EAX,EAX
JNZ 0x00017ff0
LEA ESI,[ESI]
TEST byte ptr [EDI + 0x17],0x2
JNZ 0x00017ff0
MOV EDX,dword ptr [EDI + 0x54]
MOV EAX,dword ptr [EDI + 0x2c]
OR EAX,dword ptr [EDI + 0x30]
SETZ AL
TEST EDX,EDX
SETZ DL
OR EAX,EDX
MOVZX EAX,AL
JMP 0x00017ff5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool __regparm3 FUN_00017fd0(int param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}\n\n" comment (function_definition "bool __regparm3 FUN_00017fd0(int param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017fd0(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }" if (parenthesized_expression "((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0))))" ( (binary_expression "(((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))" (parenthesized_expression "(((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0))" ( (binary_expression "((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)" (parenthesized_expression "((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0))" ( (binary_expression "(DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)" (parenthesized_expression "(DAT_00040bc8 == 0 && DAT_00040aec == 0)" ( (binary_expression "DAT_00040bc8 == 0 && DAT_00040aec == 0" (binary_expression "DAT_00040bc8 == 0" identifier == number_literal) && (binary_expression "DAT_00040aec == 0" identifier == number_literal)) )) && (parenthesized_expression "(iVar2 = FUN_00017a30(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00017a30(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00017a30()" identifier = (call_expression "FUN_00017a30()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00017680(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00017680(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00017680()" identifier = (call_expression "FUN_00017680()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))" ( (parenthesized_expression "(((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0))" ( (binary_expression "((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)" (parenthesized_expression "((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0))))" ( (binary_expression "(param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))" (parenthesized_expression "(param_3 == 0 || (DAT_00040bc4 == 0))" ( (binary_expression "param_3 == 0 || (DAT_00040bc4 == 0)" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "(DAT_00040bc4 == 0)" ( (binary_expression "DAT_00040bc4 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))" ( (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0))" ( (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)" (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) != 5" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 4)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 4)" ( (binary_expression "*(int *)(param_1 + 4) + 4" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) != number_literal) || (parenthesized_expression "(iVar2 = FUN_000176d0(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_000176d0(), iVar2 == 0" (assignment_expression "iVar2 = FUN_000176d0()" identifier = (call_expression "FUN_000176d0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((*(byte *)(param_2 + 0x17) & 2) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x17) & 2) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x17) & 2)" ( (binary_expression "*(byte *)(param_2 + 0x17) & 2" (pointer_expression "*(byte *)(param_2 + 0x17)" * (cast_expression "(byte *)(param_2 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x17)" ( (binary_expression "param_2 + 0x17" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }" { (expression_statement "bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;" (assignment_expression "bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0" identifier = (binary_expression "*(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0" (binary_expression "*(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0" (binary_expression "*(int *)(param_2 + 0x2c) == 0" (pointer_expression "*(int *)(param_2 + 0x2c)" * (cast_expression "(int *)(param_2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(param_2 + 0x30) == 0" (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) == number_literal)) || (binary_expression "*(int *)(param_2 + 0x54) == 0" (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) == number_literal))) ;) }) (else_clause "else {\n    bVar1 = true;\n  }" else (compound_statement "{\n    bVar1 = true;\n  }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3 skip_section(bfd *ibfd,sec_ptr isection,bfd_boolean skip_copy)\n\n{\n  uint uVar1;\n  bfd_boolean bVar2;\n  asection *sec;\n  bfd *in_stack_ffffffe4;\n  asection *in_stack_ffffffe8;\n  \n  if ((((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&\n     ((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)))) {\n    uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0);\n  }\n  else {\n    uVar1 = 1;\n  }\n  return uVar1;\n}\n\n" comment (function_definition "bfd_boolean __regparm3 skip_section(bfd *ibfd,sec_ptr isection,bfd_boolean skip_copy)\n\n{\n  uint uVar1;\n  bfd_boolean bVar2;\n  asection *sec;\n  bfd *in_stack_ffffffe4;\n  asection *in_stack_ffffffe8;\n  \n  if ((((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&\n     ((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)))) {\n    uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0);\n  }\n  else {\n    uVar1 = 1;\n  }\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "skip_section(bfd *ibfd,sec_ptr isection,bfd_boolean skip_copy)" identifier (parameter_list "(bfd *ibfd,sec_ptr isection,bfd_boolean skip_copy)" ( (parameter_declaration "bfd *ibfd" type_identifier (pointer_declarator "*ibfd" * identifier)) , (parameter_declaration "sec_ptr isection" type_identifier identifier) , (parameter_declaration "bfd_boolean skip_copy" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  bfd_boolean bVar2;\n  asection *sec;\n  bfd *in_stack_ffffffe4;\n  asection *in_stack_ffffffe8;\n  \n  if ((((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&\n     ((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)))) {\n    uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0);\n  }\n  else {\n    uVar1 = 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "asection *sec;" type_identifier (pointer_declarator "*sec" * identifier) ;) (declaration "bfd *in_stack_ffffffe4;" type_identifier (pointer_declarator "*in_stack_ffffffe4" * identifier) ;) (declaration "asection *in_stack_ffffffe8;" type_identifier (pointer_declarator "*in_stack_ffffffe8" * identifier) ;) (if_statement "if ((((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&\n     ((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)))) {\n    uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0);\n  }\n  else {\n    uVar1 = 1;\n  }" if (parenthesized_expression "((((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&\n     ((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0))))" ( (binary_expression "(((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)) &&\n     ((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)))" (parenthesized_expression "(((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0))" ( (binary_expression "((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)) &&\n      (bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)" (parenthesized_expression "((status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0))" ( (binary_expression "(status == 0 && extract_symbol == 0) &&\n       (bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)" (parenthesized_expression "(status == 0 && extract_symbol == 0)" ( (binary_expression "status == 0 && extract_symbol == 0" (binary_expression "status == 0" identifier == number_literal) && (binary_expression "extract_symbol == 0" identifier == number_literal)) )) && (parenthesized_expression "(bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0)" ( (comma_expression "bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8), bVar2 == 0" (assignment_expression "bVar2 = is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8)" identifier = (call_expression "is_strip_section(in_stack_ffffffe4,in_stack_ffffffe8)" identifier (argument_list "(in_stack_ffffffe4,in_stack_ffffffe8)" ( identifier , identifier )))) , (binary_expression "bVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0)" ( (comma_expression "bVar2 = is_update_section((bfd *)isection,sec), bVar2 == 0" (assignment_expression "bVar2 = is_update_section((bfd *)isection,sec)" identifier = (call_expression "is_update_section((bfd *)isection,sec)" identifier (argument_list "((bfd *)isection,sec)" ( (cast_expression "(bfd *)isection" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) , (binary_expression "bVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)))" ( (parenthesized_expression "(((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0))" ( (binary_expression "((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))) &&\n      ((isection->flags & 0x2000000) == 0)" (parenthesized_expression "((skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0))))" ( (binary_expression "(skip_copy == 0 || (merge_notes == 0)) ||\n       ((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))" (parenthesized_expression "(skip_copy == 0 || (merge_notes == 0))" ( (binary_expression "skip_copy == 0 || (merge_notes == 0)" (binary_expression "skip_copy == 0" identifier == number_literal) || (parenthesized_expression "(merge_notes == 0)" ( (binary_expression "merge_notes == 0" identifier == number_literal) ))) )) || (parenthesized_expression "((ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)))" ( (parenthesized_expression "(ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0))" ( (binary_expression "ibfd->xvec->flavour != bfd_target_elf_flavour ||\n        (bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)" (binary_expression "ibfd->xvec->flavour != bfd_target_elf_flavour" (field_expression "ibfd->xvec->flavour" (field_expression "ibfd->xvec" identifier -> field_identifier) -> field_identifier) != identifier) || (parenthesized_expression "(bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0)" ( (comma_expression "bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes), bVar2 == 0" (assignment_expression "bVar2 = is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes)" identifier = (call_expression "is_merged_note_section\n                           ((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes)" identifier (argument_list "((bfd *)isection,(asection *)&isection->used_by_bfd,\n                            (asection *)merge_notes)" ( (cast_expression "(bfd *)isection" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(asection *)&isection->used_by_bfd" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&isection->used_by_bfd" & (field_expression "isection->used_by_bfd" identifier -> field_identifier))) , (cast_expression "(asection *)merge_notes" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) , (binary_expression "bVar2 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((isection->flags & 0x2000000) == 0)" ( (binary_expression "(isection->flags & 0x2000000) == 0" (parenthesized_expression "(isection->flags & 0x2000000)" ( (binary_expression "isection->flags & 0x2000000" (field_expression "isection->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\n    uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0);\n  }" { (expression_statement "uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0);" (assignment_expression "uVar1 = (uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0)" identifier = (call_expression "(uint)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0)" ( (binary_expression "(int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||\n                  isection->output_section == (bfd_section *)0x0" (binary_expression "(int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0" (binary_expression "(int)isection->size == 0" (cast_expression "(int)isection->size" ( (type_descriptor "int" primitive_type) ) (field_expression "isection->size" identifier -> field_identifier)) == number_literal) && (binary_expression "*(int *)((int)&isection->size + 4) == 0" (pointer_expression "*(int *)((int)&isection->size + 4)" * (cast_expression "(int *)((int)&isection->size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&isection->size + 4)" ( (binary_expression "(int)&isection->size + 4" (cast_expression "(int)&isection->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&isection->size" & (field_expression "isection->size" identifier -> field_identifier))) + number_literal) )))) == number_literal)) || (binary_expression "isection->output_section == (bfd_section *)0x0" (field_expression "isection->output_section" identifier -> field_identifier) == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )))) ;) }) (else_clause "else {\n    uVar1 = 1;\n  }" else (compound_statement "{\n    uVar1 = 1;\n  }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "bool __regparm3 FUN_00017fd0(int param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool __regparm3 FUN_00017fd0(int param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017fd0(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }" if (parenthesized_expression "((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0))))" ( (binary_expression "(((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))" (parenthesized_expression "(((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0))" ( (binary_expression "((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)" (parenthesized_expression "((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0))" ( (binary_expression "(DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)" (parenthesized_expression "(DAT_00040bc8 == 0 && DAT_00040aec == 0)" ( (binary_expression "DAT_00040bc8 == 0 && DAT_00040aec == 0" (binary_expression "DAT_00040bc8 == 0" identifier == number_literal) && (binary_expression "DAT_00040aec == 0" identifier == number_literal)) )) && (parenthesized_expression "(iVar2 = FUN_00017a30(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00017a30(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00017a30()" identifier = (call_expression "FUN_00017a30()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00017680(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00017680(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00017680()" identifier = (call_expression "FUN_00017680()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))" ( (parenthesized_expression "(((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0))" ( (binary_expression "((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)" (parenthesized_expression "((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0))))" ( (binary_expression "(param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))" (parenthesized_expression "(param_3 == 0 || (DAT_00040bc4 == 0))" ( (binary_expression "param_3 == 0 || (DAT_00040bc4 == 0)" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "(DAT_00040bc4 == 0)" ( (binary_expression "DAT_00040bc4 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))" ( (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0))" ( (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)" (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) != 5" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 4)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 4)" ( (binary_expression "*(int *)(param_1 + 4) + 4" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) != number_literal) || (parenthesized_expression "(iVar2 = FUN_000176d0(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_000176d0(), iVar2 == 0" (assignment_expression "iVar2 = FUN_000176d0()" identifier = (call_expression "FUN_000176d0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((*(byte *)(param_2 + 0x17) & 2) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x17) & 2) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x17) & 2)" ( (binary_expression "*(byte *)(param_2 + 0x17) & 2" (pointer_expression "*(byte *)(param_2 + 0x17)" * (cast_expression "(byte *)(param_2 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x17)" ( (binary_expression "param_2 + 0x17" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }" { (expression_statement "bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;" (assignment_expression "bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0" identifier = (binary_expression "*(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0" (binary_expression "*(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0" (binary_expression "*(int *)(param_2 + 0x2c) == 0" (pointer_expression "*(int *)(param_2 + 0x2c)" * (cast_expression "(int *)(param_2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(param_2 + 0x30) == 0" (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) == number_literal)) || (binary_expression "*(int *)(param_2 + 0x54) == 0" (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) == number_literal))) ;) }) (else_clause "else {\n    bVar1 = true;\n  }" else (compound_statement "{\n    bVar1 = true;\n  }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT)) || (binary_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 = BOOL) ;) }))) (return_statement return IDENT ;) })))
(function_definition "bool __regparm3 FUN_00017fd0(int param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}" (primitive_type "bool") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00017fd0(int param_1,int param_2,int param_3)" (identifier "FUN_00017fd0") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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")) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }\n  else {\n    bVar1 = true;\n  }" (if "if") (parenthesized_expression "((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0))))" (( "(") (binary_expression "(((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)) &&\n     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))" (parenthesized_expression "(((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0))" (( "(") (binary_expression "((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&\n      (iVar2 = FUN_00017680(), iVar2 == 0)" (parenthesized_expression "((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0))" (( "(") (binary_expression "(DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)" (parenthesized_expression "(DAT_00040bc8 == 0 && DAT_00040aec == 0)" (( "(") (binary_expression "DAT_00040bc8 == 0 && DAT_00040aec == 0" (binary_expression "DAT_00040bc8 == 0" (identifier "DAT_00040bc8") (== "==") (number_literal "0")) (&& "&&") (binary_expression "DAT_00040aec == 0" (identifier "DAT_00040aec") (== "==") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00017a30(), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_00017a30(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00017a30()" (identifier "iVar2") (= "=") (call_expression "FUN_00017a30()" (identifier "FUN_00017a30") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00017680(), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_00017680(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00017680()" (identifier "iVar2") (= "=") (call_expression "FUN_00017680()" (identifier "FUN_00017680") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)))" (( "(") (parenthesized_expression "(((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0))" (( "(") (binary_expression "((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&\n      ((*(byte *)(param_2 + 0x17) & 2) == 0)" (parenthesized_expression "((param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0))))" (( "(") (binary_expression "(param_3 == 0 || (DAT_00040bc4 == 0)) ||\n       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))" (parenthesized_expression "(param_3 == 0 || (DAT_00040bc4 == 0))" (( "(") (binary_expression "param_3 == 0 || (DAT_00040bc4 == 0)" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(DAT_00040bc4 == 0)" (( "(") (binary_expression "DAT_00040bc4 == 0" (identifier "DAT_00040bc4") (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))" (( "(") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0))" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)" (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) != 5" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 4) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 4" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "5")) (|| "||") (parenthesized_expression "(iVar2 = FUN_000176d0(), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_000176d0(), iVar2 == 0" (assignment_expression "iVar2 = FUN_000176d0()" (identifier "iVar2") (= "=") (call_expression "FUN_000176d0()" (identifier "FUN_000176d0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(param_2 + 0x17) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x17) & 2) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x17) & 2)" (( "(") (binary_expression "*(byte *)(param_2 + 0x17) & 2" (pointer_expression "*(byte *)(param_2 + 0x17)" (* "*") (cast_expression "(byte *)(param_2 + 0x17)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x17)" (( "(") (binary_expression "param_2 + 0x17" (identifier "param_2") (+ "+") (number_literal "0x17")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;\n  }" ({ "{") (expression_statement "bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0;" (assignment_expression "bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0" (identifier "bVar1") (= "=") (binary_expression "*(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||\n            *(int *)(param_2 + 0x54) == 0" (binary_expression "*(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0" (binary_expression "*(int *)(param_2 + 0x2c) == 0" (pointer_expression "*(int *)(param_2 + 0x2c)" (* "*") (cast_expression "(int *)(param_2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*(int *)(param_2 + 0x30) == 0" (pointer_expression "*(int *)(param_2 + 0x30)" (* "*") (cast_expression "(int *)(param_2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (number_literal "0"))) (|| "||") (binary_expression "*(int *)(param_2 + 0x54) == 0" (pointer_expression "*(int *)(param_2 + 0x54)" (* "*") (cast_expression "(int *)(param_2 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (== "==") (number_literal "0")))) (; ";")) (} "}")) (else_clause "else {\n    bVar1 = true;\n  }" (else "else") (compound_statement "{\n    bVar1 = true;\n  }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

type_1 __regparm3 function_1(type_2 *ibfd,type_3 isection,type_1 var_6)

{
  type_4 uVar1;
  type_1 var_4;
  type_5 *sec;
  type_2 *in_stack_ffffffe4;
  type_5 *in_stack_ffffffe8;
  
  if ((((var_1 == 0 && var_2 == 0) &&
       (var_4 = var_3(in_stack_ffffffe4,in_stack_ffffffe8), var_4 == 0)) &&
      (var_4 = var_5((type_2 *)isection,sec), var_4 == 0)) &&
     ((((var_6 == 0 || (var_7 == 0)) ||
       ((ibfd->xvec->flavour != var_8 ||
        (var_4 = var_9
                           ((type_2 *)isection,(type_5 *)&isection->used_by_bfd,
                            (type_5 *)var_7), var_4 == 0)))) &&
      ((isection->flags & 0x2000000) == 0)))) {
    uVar1 = (type_4)((int)isection->size == 0 && *(int *)((int)&isection->size + 4) == 0 ||
                  isection->output_section == (type_6 *)0x0);
  }
  else {
    uVar1 = 1;
  }
  return uVar1;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal))))))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (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)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bool __regparm3 MASKED(int param_1,int param_2,int param_3)

{
  bool bVar1;
  int iVar2;
  
  if ((((DAT_00040bc8 == 0 && DAT_00040aec == 0) && (iVar2 = FUN_00017a30(), iVar2 == 0)) &&
      (iVar2 = FUN_00017680(), iVar2 == 0)) &&
     ((((param_3 == 0 || (DAT_00040bc4 == 0)) ||
       ((*(int *)(*(int *)(param_1 + 4) + 4) != 5 || (iVar2 = FUN_000176d0(), iVar2 == 0)))) &&
      ((*(byte *)(param_2 + 0x17) & 2) == 0)))) {
    bVar1 = *(int *)(param_2 + 0x2c) == 0 && *(int *)(param_2 + 0x30) == 0 ||
            *(int *)(param_2 + 0x54) == 0;
  }
  else {
    bVar1 = true;
  }
  return bVar1;
}

