
/* WARNING: Unknown calling convention */

Version_tree *
script_new_vers_node(void *closurev,Version_expression_list *global,Version_expression_list *local)

{
  Version_tree *pVVar1;
  
  pVVar1 = gold::Version_script_info::allocate_version_tree
                     (*(Version_script_info **)((int)closurev + 0x24));
  pVVar1->global = global;
  pVVar1->local = local;
  return pVVar1;
}



void FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));
  *(undefined4 *)(iVar1 + 0x18) = param_2;
  *(undefined4 *)(iVar1 + 0x1c) = param_3;
  return;
}


SUB ESP,0x18
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x24]
CALL 0x00142e20
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0x18],EDX
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX + 0x1c],EDX
ADD ESP,0x1c
RET
(translation_unit "void FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}\n\n" (function_definition "void FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));" (assignment_expression "iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24))" identifier = (call_expression "FUN_00142e20(*(undefined4 *)(param_1 + 0x24))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x24))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x18) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x18) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" * (cast_expression "(undefined4 *)(iVar1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = param_3" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nVersion_tree *\nscript_new_vers_node(void *closurev,Version_expression_list *global,Version_expression_list *local)\n\n{\n  Version_tree *pVVar1;\n  \n  pVVar1 = gold::Version_script_info::allocate_version_tree\n                     (*(Version_script_info **)((int)closurev + 0x24));\n  pVVar1->global = global;\n  pVVar1->local = local;\n  return pVVar1;\n}\n\n" comment (function_definition "Version_tree *\nscript_new_vers_node(void *closurev,Version_expression_list *global,Version_expression_list *local)\n\n{\n  Version_tree *pVVar1;\n  \n  pVVar1 = gold::Version_script_info::allocate_version_tree\n                     (*(Version_script_info **)((int)closurev + 0x24));\n  pVVar1->global = global;\n  pVVar1->local = local;\n  return pVVar1;\n}" type_identifier (pointer_declarator "*\nscript_new_vers_node(void *closurev,Version_expression_list *global,Version_expression_list *local)" * (function_declarator "script_new_vers_node(void *closurev,Version_expression_list *global,Version_expression_list *local)" identifier (parameter_list "(void *closurev,Version_expression_list *global,Version_expression_list *local)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "Version_expression_list *global" type_identifier (pointer_declarator "*global" * identifier)) , (parameter_declaration "Version_expression_list *local" type_identifier (pointer_declarator "*local" * identifier)) )))) (compound_statement "{\n  Version_tree *pVVar1;\n  \n  pVVar1 = gold::Version_script_info::allocate_version_tree\n                     (*(Version_script_info **)((int)closurev + 0x24));\n  pVVar1->global = global;\n  pVVar1->local = local;\n  return pVVar1;\n}" { (declaration "Version_tree *pVVar1;" type_identifier (pointer_declarator "*pVVar1" * identifier) ;) (ERROR "pVVar1 = gold::" (assignment_expression "pVVar1 = gold" identifier = identifier) : :) (labeled_statement "Version_script_info::allocate_version_tree\n                     (*(Version_script_info **)((int)closurev + 0x24));" statement_identifier : (ERROR ":" :) (expression_statement "allocate_version_tree\n                     (*(Version_script_info **)((int)closurev + 0x24));" (call_expression "allocate_version_tree\n                     (*(Version_script_info **)((int)closurev + 0x24))" identifier (argument_list "(*(Version_script_info **)((int)closurev + 0x24))" ( (pointer_expression "*(Version_script_info **)((int)closurev + 0x24)" * (cast_expression "(Version_script_info **)((int)closurev + 0x24)" ( (type_descriptor "Version_script_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x24)" ( (binary_expression "(int)closurev + 0x24" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;)) (expression_statement "pVVar1->global = global;" (assignment_expression "pVVar1->global = global" (field_expression "pVVar1->global" identifier -> field_identifier) = identifier) ;) (expression_statement "pVVar1->local = local;" (assignment_expression "pVVar1->local = local" (field_expression "pVVar1->local" identifier -> field_identifier) = identifier) ;) (return_statement "return pVVar1;" return identifier ;) })))
(translation_unit "void FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}\n\n" (function_definition "void FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));" (assignment_expression "iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24))" identifier = (call_expression "FUN_00142e20(*(undefined4 *)(param_1 + 0x24))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x24))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x18) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x18) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" * (cast_expression "(undefined4 *)(iVar1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = param_3" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00142eb0(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00142eb0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));\n  *(undefined4 *)(iVar1 + 0x18) = param_2;\n  *(undefined4 *)(iVar1 + 0x1c) = param_3;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));" (assignment_expression "iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24))" (identifier "iVar1") (= "=") (call_expression "FUN_00142e20(*(undefined4 *)(param_1 + 0x24))" (identifier "FUN_00142e20") (argument_list "(*(undefined4 *)(param_1 + 0x24))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x18) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x18) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = param_3" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 *
function_1(void *closurev,type_2 *global,type_2 *local)

{
  type_1 *pVVar1;
  
  pVVar1 = gold::Version_script_info::var_1
                     (*(type_3 **)((int)closurev + 0x24));
  pVVar1->global = global;
  pVVar1->local = local;
  return pVVar1;
}


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

void MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  iVar1 = FUN_00142e20(*(undefined4 *)(param_1 + 0x24));
  *(undefined4 *)(iVar1 + 0x18) = param_2;
  *(undefined4 *)(iVar1 + 0x1c) = param_3;
  return;
}

