
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)

{
  lang_statement_union *plVar1;
  bool bVar2;
  
  bVar2 = input_file_chain.head != (lang_statement_union *)0x0;
  plVar1 = input_file_chain.head;
  while (bVar2) {
    (*func)((lang_input_statement_type *)plVar1);
    plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);
    bVar2 = plVar1 != (lang_statement_union *)0x0;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000254b0(code *param_1)

{
  int iVar1;
  bool bVar2;
  
  bVar2 = DAT_00098ba4 != 0;
  iVar1 = DAT_00098ba4;
  while (bVar2) {
    (*param_1)(iVar1);
    iVar1 = *(int *)(iVar1 + 0x1c);
    bVar2 = iVar1 != 0;
  }
  return;
}


CALL 0x0001b1a2
ADD EAX,0x72b4b
PUSH ESI
PUSH EBX
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xba4]
MOV EBX,dword ptr [EAX]
TEST EBX,EBX
JZ 0x000254e0
NOP
SUB ESP,0xc
PUSH EBX
CALL ESI
MOV EBX,dword ptr [EBX + 0x1c]
ADD ESP,0x10
TEST EBX,EBX
JNZ 0x000254d0
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000254b0(code *param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000254b0(code *param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000254b0(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = DAT_00098ba4 != 0;" (assignment_expression "bVar2 = DAT_00098ba4 != 0" identifier = (binary_expression "DAT_00098ba4 != 0" identifier != number_literal)) ;) (expression_statement "iVar1 = DAT_00098ba4;" (assignment_expression "iVar1 = DAT_00098ba4" identifier = identifier) ;) (while_statement "while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }" while (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }" { (expression_statement "(*param_1)(iVar1);" (call_expression "(*param_1)(iVar1)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = iVar1 != 0;" (assignment_expression "bVar2 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)\n\n{\n  lang_statement_union *plVar1;\n  bool bVar2;\n  \n  bVar2 = input_file_chain.head != (lang_statement_union *)0x0;\n  plVar1 = input_file_chain.head;\n  while (bVar2) {\n    (*func)((lang_input_statement_type *)plVar1);\n    plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);\n    bVar2 = plVar1 != (lang_statement_union *)0x0;\n  }\n  return;\n}\n\n" comment comment (function_definition "void lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)\n\n{\n  lang_statement_union *plVar1;\n  bool bVar2;\n  \n  bVar2 = input_file_chain.head != (lang_statement_union *)0x0;\n  plVar1 = input_file_chain.head;\n  while (bVar2) {\n    (*func)((lang_input_statement_type *)plVar1);\n    plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);\n    bVar2 = plVar1 != (lang_statement_union *)0x0;\n  }\n  return;\n}" primitive_type (function_declarator "lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)" identifier (parameter_list "(_func_void_lang_input_statement_type_ptr *func)" ( (parameter_declaration "_func_void_lang_input_statement_type_ptr *func" type_identifier (pointer_declarator "*func" * identifier)) ))) (compound_statement "{\n  lang_statement_union *plVar1;\n  bool bVar2;\n  \n  bVar2 = input_file_chain.head != (lang_statement_union *)0x0;\n  plVar1 = input_file_chain.head;\n  while (bVar2) {\n    (*func)((lang_input_statement_type *)plVar1);\n    plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);\n    bVar2 = plVar1 != (lang_statement_union *)0x0;\n  }\n  return;\n}" { (declaration "lang_statement_union *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = input_file_chain.head != (lang_statement_union *)0x0;" (assignment_expression "bVar2 = input_file_chain.head != (lang_statement_union *)0x0" identifier = (binary_expression "input_file_chain.head != (lang_statement_union *)0x0" (field_expression "input_file_chain.head" identifier . field_identifier) != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "plVar1 = input_file_chain.head;" (assignment_expression "plVar1 = input_file_chain.head" identifier = (field_expression "input_file_chain.head" identifier . field_identifier)) ;) (while_statement "while (bVar2) {\n    (*func)((lang_input_statement_type *)plVar1);\n    plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);\n    bVar2 = plVar1 != (lang_statement_union *)0x0;\n  }" while (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n    (*func)((lang_input_statement_type *)plVar1);\n    plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);\n    bVar2 = plVar1 != (lang_statement_union *)0x0;\n  }" { (expression_statement "(*func)((lang_input_statement_type *)plVar1);" (call_expression "(*func)((lang_input_statement_type *)plVar1)" (parenthesized_expression "(*func)" ( (pointer_expression "*func" * identifier) )) (argument_list "((lang_input_statement_type *)plVar1)" ( (cast_expression "(lang_input_statement_type *)plVar1" ( (type_descriptor "lang_input_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4);" (assignment_expression "plVar1 = *(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4)" identifier = (pointer_expression "*(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4)" * (cast_expression "(lang_statement_union **)((int)&(plVar1->wild_statement).children + 4)" ( (type_descriptor "lang_statement_union **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&(plVar1->wild_statement).children + 4)" ( (binary_expression "(int)&(plVar1->wild_statement).children + 4" (cast_expression "(int)&(plVar1->wild_statement).children" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(plVar1->wild_statement).children" & (field_expression "(plVar1->wild_statement).children" (parenthesized_expression "(plVar1->wild_statement)" ( (field_expression "plVar1->wild_statement" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (expression_statement "bVar2 = plVar1 != (lang_statement_union *)0x0;" (assignment_expression "bVar2 = plVar1 != (lang_statement_union *)0x0" identifier = (binary_expression "plVar1 != (lang_statement_union *)0x0" identifier != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000254b0(code *param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000254b0(code *param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000254b0(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = DAT_00098ba4 != 0;" (assignment_expression "bVar2 = DAT_00098ba4 != 0" identifier = (binary_expression "DAT_00098ba4 != 0" identifier != number_literal)) ;) (expression_statement "iVar1 = DAT_00098ba4;" (assignment_expression "iVar1 = DAT_00098ba4" identifier = identifier) ;) (while_statement "while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }" while (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }" { (expression_statement "(*param_1)(iVar1);" (call_expression "(*param_1)(iVar1)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = iVar1 != 0;" (assignment_expression "bVar2 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000254b0(code *param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000254b0(code *param_1)" (identifier "FUN_000254b0") (parameter_list "(code *param_1)" (( "(") (parameter_declaration "code *param_1" (type_identifier "code") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = DAT_00098ba4 != 0;\n  iVar1 = DAT_00098ba4;\n  while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (expression_statement "bVar2 = DAT_00098ba4 != 0;" (assignment_expression "bVar2 = DAT_00098ba4 != 0" (identifier "bVar2") (= "=") (binary_expression "DAT_00098ba4 != 0" (identifier "DAT_00098ba4") (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "iVar1 = DAT_00098ba4;" (assignment_expression "iVar1 = DAT_00098ba4" (identifier "iVar1") (= "=") (identifier "DAT_00098ba4")) (; ";")) (while_statement "while (bVar2) {\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }" (while "while") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n    (*param_1)(iVar1);\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    bVar2 = iVar1 != 0;\n  }" ({ "{") (expression_statement "(*param_1)(iVar1);" (call_expression "(*param_1)(iVar1)" (parenthesized_expression "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "bVar2 = iVar1 != 0;" (assignment_expression "bVar2 = iVar1 != 0" (identifier "bVar2") (= "=") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(type_1 *func)

{
  type_2 *var_1;
  bool bVar2;
  
  bVar2 = input_file_chain.head != (type_2 *)0x0;
  var_1 = input_file_chain.head;
  while (bVar2) {
    (*func)((type_3 *)var_1);
    var_1 = *(type_2 **)((int)&(var_1->wild_statement).children + 4);
    bVar2 = var_1 != (type_2 *)0x0;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(code *param_1)

{
  int iVar1;
  bool bVar2;
  
  bVar2 = DAT_00098ba4 != 0;
  iVar1 = DAT_00098ba4;
  while (bVar2) {
    (*param_1)(iVar1);
    iVar1 = *(int *)(iVar1 + 0x1c);
    bVar2 = iVar1 != 0;
  }
  return;
}

