
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void set_output_arch_default(void)

{
  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)
            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);
  bfd_emul_set_maxpagesize(output_target,config.maxpagesize);
  bfd_emul_set_commonpagesize(output_target,config.commonpagesize);
  return;
}



void FUN_00123ea0(void)

{
  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);
  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);
  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);
  return;
}


SUB RSP,0x8
MOV RDI,qword ptr [0x0017fb10]
MOV ESI,dword ptr [0x0017fdb0]
MOV RDX,qword ptr [0x0017fdb8]
MOV RAX,qword ptr [RDI + 0x8]
CALL qword ptr [RAX + 0x290]
MOV RSI,qword ptr [0x0017fcb8]
MOV RDI,qword ptr [0x0017fa58]
CALL 0x00109a10
MOV RSI,qword ptr [0x0017fcc0]
MOV RDI,qword ptr [0x0017fa58]
ADD RSP,0x8
JMP 0x00109600
(translation_unit "void FUN_00123ea0(void)\n\n{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}\n\n" (function_definition "void FUN_00123ea0(void)\n\n{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}" primitive_type (function_declarator "FUN_00123ea0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}" { (expression_statement "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);" (call_expression "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8)" (parenthesized_expression "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))" ( (pointer_expression "**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" * (pointer_expression "*(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" * (cast_expression "(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(DAT_0017fb10 + 8) + 0x290)" ( (binary_expression "*(long *)(DAT_0017fb10 + 8) + 0x290" (pointer_expression "*(long *)(DAT_0017fb10 + 8)" * (cast_expression "(long *)(DAT_0017fb10 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0017fb10 + 8)" ( (binary_expression "DAT_0017fb10 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8)" ( identifier , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);" (call_expression "bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8)" identifier (argument_list "(DAT_0017fa58,DAT_0017fcb8)" ( identifier , identifier ))) ;) (expression_statement "bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);" (call_expression "bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0)" identifier (argument_list "(DAT_0017fa58,DAT_0017fcc0)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid set_output_arch_default(void)\n\n{\n  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);\n  bfd_emul_set_maxpagesize(output_target,config.maxpagesize);\n  bfd_emul_set_commonpagesize(output_target,config.commonpagesize);\n  return;\n}\n\n" comment (function_definition "void set_output_arch_default(void)\n\n{\n  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);\n  bfd_emul_set_maxpagesize(output_target,config.maxpagesize);\n  bfd_emul_set_commonpagesize(output_target,config.commonpagesize);\n  return;\n}" primitive_type (function_declarator "set_output_arch_default(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);\n  bfd_emul_set_maxpagesize(output_target,config.maxpagesize);\n  bfd_emul_set_commonpagesize(output_target,config.commonpagesize);\n  return;\n}" { (expression_statement "(*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);" (call_expression "(*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine)" (parenthesized_expression "(*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)" ( (pointer_expression "*(link_info.output_bfd)->xvec->_bfd_set_arch_mach" * (field_expression "(link_info.output_bfd)->xvec->_bfd_set_arch_mach" (field_expression "(link_info.output_bfd)->xvec" (parenthesized_expression "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )) -> field_identifier) -> field_identifier)) )) (argument_list "(link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_maxpagesize(output_target,config.maxpagesize);" (call_expression "bfd_emul_set_maxpagesize(output_target,config.maxpagesize)" identifier (argument_list "(output_target,config.maxpagesize)" ( identifier , (field_expression "config.maxpagesize" identifier . field_identifier) ))) ;) (expression_statement "bfd_emul_set_commonpagesize(output_target,config.commonpagesize);" (call_expression "bfd_emul_set_commonpagesize(output_target,config.commonpagesize)" identifier (argument_list "(output_target,config.commonpagesize)" ( identifier , (field_expression "config.commonpagesize" identifier . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00123ea0(void)\n\n{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}\n\n" (function_definition "void FUN_00123ea0(void)\n\n{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}" primitive_type (function_declarator "FUN_00123ea0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}" { (expression_statement "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);" (call_expression "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8)" (parenthesized_expression "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))" ( (pointer_expression "**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" * (pointer_expression "*(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" * (cast_expression "(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(DAT_0017fb10 + 8) + 0x290)" ( (binary_expression "*(long *)(DAT_0017fb10 + 8) + 0x290" (pointer_expression "*(long *)(DAT_0017fb10 + 8)" * (cast_expression "(long *)(DAT_0017fb10 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0017fb10 + 8)" ( (binary_expression "DAT_0017fb10 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8)" ( identifier , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);" (call_expression "bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8)" identifier (argument_list "(DAT_0017fa58,DAT_0017fcb8)" ( identifier , identifier ))) ;) (expression_statement "bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);" (call_expression "bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0)" identifier (argument_list "(DAT_0017fa58,DAT_0017fcc0)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00123ea0(void)\n\n{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00123ea0(void)" (identifier "FUN_00123ea0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);\n  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);\n  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);\n  return;\n}" ({ "{") (expression_statement "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);" (call_expression "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8)" (parenthesized_expression "(**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))" (( "(") (pointer_expression "**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" (* "*") (pointer_expression "*(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" (* "*") (cast_expression "(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(DAT_0017fb10 + 8) + 0x290)" (( "(") (binary_expression "*(long *)(DAT_0017fb10 + 8) + 0x290" (pointer_expression "*(long *)(DAT_0017fb10 + 8)" (* "*") (cast_expression "(long *)(DAT_0017fb10 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0017fb10 + 8)" (( "(") (binary_expression "DAT_0017fb10 + 8" (identifier "DAT_0017fb10") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x290")) () ")"))))) () ")")) (argument_list "(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8)" (( "(") (identifier "DAT_0017fb10") (, ",") (identifier "DAT_0017fdb0") (, ",") (identifier "DAT_0017fdb8") () ")"))) (; ";")) (expression_statement "bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);" (call_expression "bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8)" (identifier "bfd_emul_set_maxpagesize") (argument_list "(DAT_0017fa58,DAT_0017fcb8)" (( "(") (identifier "DAT_0017fa58") (, ",") (identifier "DAT_0017fcb8") () ")"))) (; ";")) (expression_statement "bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);" (call_expression "bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0)" (identifier "bfd_emul_set_commonpagesize") (argument_list "(DAT_0017fa58,DAT_0017fcc0)" (( "(") (identifier "DAT_0017fa58") (, ",") (identifier "DAT_0017fcc0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)
            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);
  var_1(output_target,config.maxpagesize);
  var_2(output_target,config.commonpagesize);
  return;
}


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

void MASKED(void)

{
  (**(code **)(*(long *)(DAT_0017fb10 + 8) + 0x290))(DAT_0017fb10,DAT_0017fdb0,DAT_0017fdb8);
  bfd_emul_set_maxpagesize(DAT_0017fa58,DAT_0017fcb8);
  bfd_emul_set_commonpagesize(DAT_0017fa58,DAT_0017fcc0);
  return;
}

