
void lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)

{
  lang_statement_union *plVar1;
  
  plVar1 = input_file_chain.head;
  if (input_file_chain.head != (lang_statement_union *)0x0) {
    do {
      (*func)((lang_input_statement_type *)plVar1);
      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;
    } while (plVar1 != (lang_statement_union *)0x0);
  }
  return;
}



void FUN_00118b90(code *param_1)

{
  long *plVar1;
  long lVar2;
  
  lVar2 = DAT_00171920;
  if (DAT_00171920 != 0) {
    do {
      (*param_1)(lVar2);
      plVar1 = (long *)(lVar2 + 0x38);
      lVar2 = *plVar1;
    } while (*plVar1 != 0);
  }
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [0x00171920]
TEST RBX,RBX
JZ 0x00118bb6
MOV RBP,RDI
NOP dword ptr [RAX]
MOV RDI,RBX
CALL RBP
MOV RBX,qword ptr [RBX + 0x38]
TEST RBX,RBX
JNZ 0x00118ba8
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_00118b90(code *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00118b90(code *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00118b90(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = DAT_00171920;" (assignment_expression "lVar2 = DAT_00171920" identifier = identifier) ;) (if_statement "if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }" if (parenthesized_expression "(DAT_00171920 != 0)" ( (binary_expression "DAT_00171920 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }" { (do_statement "do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);" do (compound_statement "{\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    }" { (expression_statement "(*param_1)(lVar2);" (call_expression "(*param_1)(lVar2)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(lVar2)" ( identifier ))) ;) (expression_statement "plVar1 = (long *)(lVar2 + 0x38);" (assignment_expression "plVar1 = (long *)(lVar2 + 0x38)" identifier = (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) )))) ;) (expression_statement "lVar2 = *plVar1;" (assignment_expression "lVar2 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) }) while (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)\n\n{\n  lang_statement_union *plVar1;\n  \n  plVar1 = input_file_chain.head;\n  if (input_file_chain.head != (lang_statement_union *)0x0) {\n    do {\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void lang_for_each_input_file(_func_void_lang_input_statement_type_ptr *func)\n\n{\n  lang_statement_union *plVar1;\n  \n  plVar1 = input_file_chain.head;\n  if (input_file_chain.head != (lang_statement_union *)0x0) {\n    do {\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\n    } while (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  \n  plVar1 = input_file_chain.head;\n  if (input_file_chain.head != (lang_statement_union *)0x0) {\n    do {\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }\n  return;\n}" { (declaration "lang_statement_union *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (expression_statement "plVar1 = input_file_chain.head;" (assignment_expression "plVar1 = input_file_chain.head" identifier = (field_expression "input_file_chain.head" identifier . field_identifier)) ;) (if_statement "if (input_file_chain.head != (lang_statement_union *)0x0) {\n    do {\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }" if (parenthesized_expression "(input_file_chain.head != (lang_statement_union *)0x0)" ( (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)) )) (compound_statement "{\n    do {\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }" { (do_statement "do {\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\n    } while (plVar1 != (lang_statement_union *)0x0);" do (compound_statement "{\n      (*func)((lang_input_statement_type *)plVar1);\n      plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail;\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 *)(plVar1->wild_statement).children.tail;" (assignment_expression "plVar1 = (lang_statement_union *)(plVar1->wild_statement).children.tail" identifier = (cast_expression "(lang_statement_union *)(plVar1->wild_statement).children.tail" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(plVar1->wild_statement).children.tail" (field_expression "(plVar1->wild_statement).children" (parenthesized_expression "(plVar1->wild_statement)" ( (field_expression "plVar1->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) }) while (parenthesized_expression "(plVar1 != (lang_statement_union *)0x0)" ( (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_00118b90(code *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00118b90(code *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00118b90(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = DAT_00171920;" (assignment_expression "lVar2 = DAT_00171920" identifier = identifier) ;) (if_statement "if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }" if (parenthesized_expression "(DAT_00171920 != 0)" ( (binary_expression "DAT_00171920 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }" { (do_statement "do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);" do (compound_statement "{\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    }" { (expression_statement "(*param_1)(lVar2);" (call_expression "(*param_1)(lVar2)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(lVar2)" ( identifier ))) ;) (expression_statement "plVar1 = (long *)(lVar2 + 0x38);" (assignment_expression "plVar1 = (long *)(lVar2 + 0x38)" identifier = (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) )))) ;) (expression_statement "lVar2 = *plVar1;" (assignment_expression "lVar2 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) }) while (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * 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 (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00118b90(code *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00118b90(code *param_1)" (identifier "FUN_00118b90") (parameter_list "(code *param_1)" (( "(") (parameter_declaration "code *param_1" (type_identifier "code") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00171920;\n  if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "lVar2 = DAT_00171920;" (assignment_expression "lVar2 = DAT_00171920" (identifier "lVar2") (= "=") (identifier "DAT_00171920")) (; ";")) (if_statement "if (DAT_00171920 != 0) {\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }" (if "if") (parenthesized_expression "(DAT_00171920 != 0)" (( "(") (binary_expression "DAT_00171920 != 0" (identifier "DAT_00171920") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);\n  }" ({ "{") (do_statement "do {\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    } while (*plVar1 != 0);" (do "do") (compound_statement "{\n      (*param_1)(lVar2);\n      plVar1 = (long *)(lVar2 + 0x38);\n      lVar2 = *plVar1;\n    }" ({ "{") (expression_statement "(*param_1)(lVar2);" (call_expression "(*param_1)(lVar2)" (parenthesized_expression "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")) (argument_list "(lVar2)" (( "(") (identifier "lVar2") () ")"))) (; ";")) (expression_statement "plVar1 = (long *)(lVar2 + 0x38);" (assignment_expression "plVar1 = (long *)(lVar2 + 0x38)" (identifier "plVar1") (= "=") (cast_expression "(long *)(lVar2 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x38)" (( "(") (binary_expression "lVar2 + 0x38" (identifier "lVar2") (+ "+") (number_literal "0x38")) () ")")))) (; ";")) (expression_statement "lVar2 = *plVar1;" (assignment_expression "lVar2 = *plVar1" (identifier "lVar2") (= "=") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*plVar1 != 0)" (( "(") (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *func)

{
  type_2 *var_1;
  
  var_1 = input_file_chain.head;
  if (input_file_chain.head != (type_2 *)0x0) {
    do {
      (*func)((type_3 *)var_1);
      var_1 = (type_2 *)(var_1->wild_statement).children.tail;
    } while (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: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement 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: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (return_statement))))

void MASKED(code *param_1)

{
  long *plVar1;
  long lVar2;
  
  lVar2 = DAT_00171920;
  if (DAT_00171920 != 0) {
    do {
      (*param_1)(lVar2);
      plVar1 = (long *)(lVar2 + 0x38);
      lVar2 = *plVar1;
    } while (*plVar1 != 0);
  }
  return;
}

