
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3
check_input_sections
          (lang_statement_union_type *s,lang_output_section_statement_type *output_section_statement
          )

{
  statement_enum sVar1;
  
  if (s == (lang_statement_union_type *)0x0) {
    return;
  }
  do {
    sVar1 = (s->header).type;
    if (sVar1 == lang_group_statement_enum) {
      check_input_sections((s->output_section_statement).children.head,output_section_statement);
      if ((output_section_statement->field_0x54 & 4) == 0) {
        return;
      }
    }
    else if (sVar1 == lang_constructors_statement_enum) {
      check_input_sections(constructor_list.head,output_section_statement);
      if ((output_section_statement->field_0x54 & 4) == 0) {
        return;
      }
    }
    else if ((sVar1 == lang_wild_statement_enum) &&
            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),
            (output_section_statement->field_0x54 & 4) == 0)) {
      return;
    }
    s = (s->header).next;
    if (s == (lang_statement_union *)0x0) {
      return;
    }
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 FUN_00025e40(int *param_1,int param_2)

{
  int iVar1;
  
  if (param_1 == (int *)0x0) {
    return;
  }
  do {
    iVar1 = param_1[1];
    if (iVar1 == 0xd) {
      FUN_00025e40();
      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {
        return;
      }
    }
    else if (iVar1 == 0xf) {
      FUN_00025e40();
      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {
        return;
      }
    }
    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {
      return;
    }
    param_1 = (int *)*param_1;
    if (param_1 == (int *)0x0) {
      return;
    }
  } while( true );
}


CALL 0x0002b02d
ADD ECX,0x721bb
TEST EAX,EAX
JZ 0x00025ed8
PUSH EBP
PUSH EDI
LEA EDI,[ECX + 0xfff891b0]
PUSH ESI
MOV ESI,EDX
PUSH EBX
MOV EBX,EAX
SUB ESP,0xc
LEA EBP,[ECX + 0xbcc]
JMP 0x00025e7b
CMP EAX,0x4
JZ 0x00025ea0
MOV EBX,dword ptr [EBX]
TEST EBX,EBX
JZ 0x00025e98
MOV EAX,dword ptr [EBX + 0x4]
CMP EAX,0xd
JZ 0x00025ec0
CMP EAX,0xf
JNZ 0x00025e70
MOV EAX,dword ptr [EBP]
MOV EDX,ESI
CALL 0x00025e40
TEST byte ptr [ESI + 0x54],0x4
JNZ 0x00025e75
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,ESI
MOV EDX,EDI
MOV EAX,EBX
CALL 0x00025c40
TEST byte ptr [ESI + 0x54],0x4
JNZ 0x00025e75
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0x8]
MOV EDX,ESI
CALL 0x00025e40
TEST byte ptr [ESI + 0x54],0x4
JNZ 0x00025e75
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid __regparm3 FUN_00025e40(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void __regparm3 FUN_00025e40(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00025e40(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0xd)" ( (binary_expression "iVar1 == 0xd" identifier == number_literal) )) (compound_statement "{\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }" { (expression_statement "FUN_00025e40();" (call_expression "FUN_00025e40()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 4) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" else (if_statement "if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0xf)" ( (binary_expression "iVar1 == 0xf" identifier == number_literal) )) (compound_statement "{\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }" { (expression_statement "FUN_00025e40();" (call_expression "FUN_00025e40()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 4) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" else (if_statement "if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0))" ( (binary_expression "(iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)" (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) && (parenthesized_expression "(FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)" ( (comma_expression "FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0" (call_expression "FUN_00025c40()" identifier (argument_list "()" ( ))) , (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })))))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid __regparm3\ncheck_input_sections\n          (lang_statement_union_type *s,lang_output_section_statement_type *output_section_statement\n          )\n\n{\n  statement_enum sVar1;\n  \n  if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }\n  do {\n    sVar1 = (s->header).type;\n    if (sVar1 == lang_group_statement_enum) {\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void __regparm3\ncheck_input_sections\n          (lang_statement_union_type *s,lang_output_section_statement_type *output_section_statement\n          )\n\n{\n  statement_enum sVar1;\n  \n  if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }\n  do {\n    sVar1 = (s->header).type;\n    if (sVar1 == lang_group_statement_enum) {\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "check_input_sections\n          (lang_statement_union_type *s,lang_output_section_statement_type *output_section_statement\n          )" identifier (parameter_list "(lang_statement_union_type *s,lang_output_section_statement_type *output_section_statement\n          )" ( (parameter_declaration "lang_statement_union_type *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "lang_output_section_statement_type *output_section_statement" type_identifier (pointer_declarator "*output_section_statement" * identifier)) ))) (compound_statement "{\n  statement_enum sVar1;\n  \n  if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }\n  do {\n    sVar1 = (s->header).type;\n    if (sVar1 == lang_group_statement_enum) {\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );\n}" { (declaration "statement_enum sVar1;" type_identifier identifier ;) (if_statement "if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }" if (parenthesized_expression "(s == (lang_statement_union_type *)0x0)" ( (binary_expression "s == (lang_statement_union_type *)0x0" identifier == (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    sVar1 = (s->header).type;\n    if (sVar1 == lang_group_statement_enum) {\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    sVar1 = (s->header).type;\n    if (sVar1 == lang_group_statement_enum) {\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  }" { (expression_statement "sVar1 = (s->header).type;" (assignment_expression "sVar1 = (s->header).type" identifier = (field_expression "(s->header).type" (parenthesized_expression "(s->header)" ( (field_expression "s->header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (sVar1 == lang_group_statement_enum) {\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "(sVar1 == lang_group_statement_enum)" ( (binary_expression "sVar1 == lang_group_statement_enum" identifier == identifier) )) (compound_statement "{\n      check_input_sections((s->output_section_statement).children.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }" { (expression_statement "check_input_sections((s->output_section_statement).children.head,output_section_statement);" (call_expression "check_input_sections((s->output_section_statement).children.head,output_section_statement)" identifier (argument_list "((s->output_section_statement).children.head,output_section_statement)" ( (field_expression "(s->output_section_statement).children.head" (field_expression "(s->output_section_statement).children" (parenthesized_expression "(s->output_section_statement)" ( (field_expression "s->output_section_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier ))) ;) (if_statement "if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }" if (parenthesized_expression "((output_section_statement->field_0x54 & 4) == 0)" ( (binary_expression "(output_section_statement->field_0x54 & 4) == 0" (parenthesized_expression "(output_section_statement->field_0x54 & 4)" ( (binary_expression "output_section_statement->field_0x54 & 4" (field_expression "output_section_statement->field_0x54" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }" else (if_statement "if (sVar1 == lang_constructors_statement_enum) {\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }\n    else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "(sVar1 == lang_constructors_statement_enum)" ( (binary_expression "sVar1 == lang_constructors_statement_enum" identifier == identifier) )) (compound_statement "{\n      check_input_sections(constructor_list.head,output_section_statement);\n      if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }\n    }" { (expression_statement "check_input_sections(constructor_list.head,output_section_statement);" (call_expression "check_input_sections(constructor_list.head,output_section_statement)" identifier (argument_list "(constructor_list.head,output_section_statement)" ( (field_expression "constructor_list.head" identifier . field_identifier) , identifier ))) ;) (if_statement "if ((output_section_statement->field_0x54 & 4) == 0) {\n        return;\n      }" if (parenthesized_expression "((output_section_statement->field_0x54 & 4) == 0)" ( (binary_expression "(output_section_statement->field_0x54 & 4) == 0" (parenthesized_expression "(output_section_statement->field_0x54 & 4)" ( (binary_expression "output_section_statement->field_0x54 & 4" (field_expression "output_section_statement->field_0x54" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }" else (if_statement "if ((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "((sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0))" ( (binary_expression "(sVar1 == lang_wild_statement_enum) &&\n            (walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)" (parenthesized_expression "(sVar1 == lang_wild_statement_enum)" ( (binary_expression "sVar1 == lang_wild_statement_enum" identifier == identifier) )) && (parenthesized_expression "(walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0)" ( (comma_expression "walk_wild(&s->wild_statement,check_section_callback,output_section_statement),\n            (output_section_statement->field_0x54 & 4) == 0" (call_expression "walk_wild(&s->wild_statement,check_section_callback,output_section_statement)" identifier (argument_list "(&s->wild_statement,check_section_callback,output_section_statement)" ( (pointer_expression "&s->wild_statement" & (field_expression "s->wild_statement" identifier -> field_identifier)) , identifier , identifier ))) , (binary_expression "(output_section_statement->field_0x54 & 4) == 0" (parenthesized_expression "(output_section_statement->field_0x54 & 4)" ( (binary_expression "output_section_statement->field_0x54 & 4" (field_expression "output_section_statement->field_0x54" identifier -> field_identifier) & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })))))) (expression_statement "s = (s->header).next;" (assignment_expression "s = (s->header).next" identifier = (field_expression "(s->header).next" (parenthesized_expression "(s->header)" ( (field_expression "s->header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (s == (lang_statement_union *)0x0) {\n      return;\n    }" if (parenthesized_expression "(s == (lang_statement_union *)0x0)" ( (binary_expression "s == (lang_statement_union *)0x0" identifier == (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void __regparm3 FUN_00025e40(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void __regparm3 FUN_00025e40(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00025e40(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0xd)" ( (binary_expression "iVar1 == 0xd" identifier == number_literal) )) (compound_statement "{\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }" { (expression_statement "FUN_00025e40();" (call_expression "FUN_00025e40()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 4) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" else (if_statement "if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0xf)" ( (binary_expression "iVar1 == 0xf" identifier == number_literal) )) (compound_statement "{\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }" { (expression_statement "FUN_00025e40();" (call_expression "FUN_00025e40()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 4) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" else (if_statement "if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" if (parenthesized_expression "((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0))" ( (binary_expression "(iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)" (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) && (parenthesized_expression "(FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)" ( (comma_expression "FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0" (call_expression "FUN_00025c40()" identifier (argument_list "()" ( ))) , (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })))))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (call_expression IDENT (argument_list ( ))) , (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 { (return_statement return ;) })))))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void __regparm3 FUN_00025e40(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00025e40(int *param_1,int param_2)" (identifier "FUN_00025e40") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar1 = param_1[1];\n    if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar1 == 0xd) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0xd)" (( "(") (binary_expression "iVar1 == 0xd" (identifier "iVar1") (== "==") (number_literal "0xd")) () ")")) (compound_statement "{\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }" ({ "{") (expression_statement "FUN_00025e40();" (call_expression "FUN_00025e40()" (identifier "FUN_00025e40") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" (( "(") (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" (* "*") (cast_expression "(byte *)(param_2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" (else "else") (if_statement "if (iVar1 == 0xf) {\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }\n    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0xf)" (( "(") (binary_expression "iVar1 == 0xf" (identifier "iVar1") (== "==") (number_literal "0xf")) () ")")) (compound_statement "{\n      FUN_00025e40();\n      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }\n    }" ({ "{") (expression_statement "FUN_00025e40();" (call_expression "FUN_00025e40()" (identifier "FUN_00025e40") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x54) & 4) == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" (( "(") (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" (* "*") (cast_expression "(byte *)(param_2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" (else "else") (if_statement "if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {\n      return;\n    }" (if "if") (parenthesized_expression "((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0))" (( "(") (binary_expression "(iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)" (parenthesized_expression "(iVar1 == 4)" (( "(") (binary_expression "iVar1 == 4" (identifier "iVar1") (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)" (( "(") (comma_expression "FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0" (call_expression "FUN_00025c40()" (identifier "FUN_00025c40") (argument_list "()" (( "(") () ")"))) (, ",") (binary_expression "(*(byte *)(param_2 + 0x54) & 4) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 4)" (( "(") (binary_expression "*(byte *)(param_2 + 0x54) & 4" (pointer_expression "*(byte *)(param_2 + 0x54)" (* "*") (cast_expression "(byte *)(param_2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))))))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3
function_1
          (type_1 *var_1,type_2 *output_section_statement
          )

{
  type_3 var_2;
  
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  do {
    var_2 = (var_1->header).type;
    if (var_2 == var_3) {
      function_1((var_1->output_section_statement).children.head,output_section_statement);
      if ((output_section_statement->field_0x54 & 4) == 0) {
        return;
      }
    }
    else if (var_2 == var_4) {
      function_1(constructor_list.head,output_section_statement);
      if ((output_section_statement->field_0x54 & 4) == 0) {
        return;
      }
    }
    else if ((var_2 == var_5) &&
            (var_6(&var_1->wild_statement,check_section_callback,output_section_statement),
            (output_section_statement->field_0x54 & 4) == 0)) {
      return;
    }
    var_1 = (var_1->header).next;
    if (var_1 == (type_4 *)0x0) {
      return;
    }
  } while( true );
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 MASKED(int *param_1,int param_2)

{
  int iVar1;
  
  if (param_1 == (int *)0x0) {
    return;
  }
  do {
    iVar1 = param_1[1];
    if (iVar1 == 0xd) {
      MASKED();
      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {
        return;
      }
    }
    else if (iVar1 == 0xf) {
      MASKED();
      if ((*(byte *)(param_2 + 0x54) & 4) == 0) {
        return;
      }
    }
    else if ((iVar1 == 4) && (FUN_00025c40(), (*(byte *)(param_2 + 0x54) & 4) == 0)) {
      return;
    }
    param_1 = (int *)*param_1;
    if (param_1 == (int *)0x0) {
      return;
    }
  } while( true );
}

