
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void gldelf_k1om_before_parse(void)

{
  ldfile_set_output_arch("k1om",bfd_arch_k1om);
  input_flags._0_1_ = input_flags._0_1_ | 0x20;
  config.has_shared = 1;
  config.separate_code = 0;
  link_info._3_4_ = link_info._3_4_ | 0x20000030;
  link_info.call_nop_byte = 'g';
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_0004fe00(void)

{
  FUN_00035ce0(&DAT_00192db1,10);
  DAT_001d0390 = DAT_001d0390 | 0x20;
  DAT_001d04e8 = 1;
  DAT_001d0524 = 0;
  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;
  DAT_001d03e8 = 0x67;
  return;
}


PUSH EBX
CALL 0x00017b80
ADD EBX,0x17e1fa
SUB ESP,0x10
PUSH 0xa
LEA EAX,[EBX + 0xfffc4db1]
PUSH EAX
CALL 0x00035ce0
LEA EAX,[EBX + 0x2390]
OR byte ptr [EAX],0x20
LEA EAX,[EBX + 0x24e0]
MOV dword ptr [EAX + 0x8],0x1
MOV dword ptr [EAX + 0x44],0x0
LEA EAX,[EBX + 0x23e0]
OR dword ptr [EAX + 0x3],0x20000030
MOV byte ptr [EAX + 0x8],0x67
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0004fe00(void)\n\n{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}\n\n" comment comment (function_definition "void FUN_0004fe00(void)\n\n{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}" primitive_type (function_declarator "FUN_0004fe00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}" { (expression_statement "FUN_00035ce0(&DAT_00192db1,10);" (call_expression "FUN_00035ce0(&DAT_00192db1,10)" identifier (argument_list "(&DAT_00192db1,10)" ( (pointer_expression "&DAT_00192db1" & identifier) , number_literal ))) ;) (expression_statement "DAT_001d0390 = DAT_001d0390 | 0x20;" (assignment_expression "DAT_001d0390 = DAT_001d0390 | 0x20" identifier = (binary_expression "DAT_001d0390 | 0x20" identifier | number_literal)) ;) (expression_statement "DAT_001d04e8 = 1;" (assignment_expression "DAT_001d04e8 = 1" identifier = number_literal) ;) (expression_statement "DAT_001d0524 = 0;" (assignment_expression "DAT_001d0524 = 0" identifier = number_literal) ;) (expression_statement "ram0x001d03e3 = ram0x001d03e3 | 0x20000030;" (assignment_expression "ram0x001d03e3 = ram0x001d03e3 | 0x20000030" identifier = (binary_expression "ram0x001d03e3 | 0x20000030" identifier | number_literal)) ;) (expression_statement "DAT_001d03e8 = 0x67;" (assignment_expression "DAT_001d03e8 = 0x67" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid gldelf_k1om_before_parse(void)\n\n{\n  ldfile_set_output_arch("k1om",bfd_arch_k1om);\n  input_flags._0_1_ = input_flags._0_1_ | 0x20;\n  config.has_shared = 1;\n  config.separate_code = 0;\n  link_info._3_4_ = link_info._3_4_ | 0x20000030;\n  link_info.call_nop_byte = 'g';\n  return;\n}\n\n" comment comment (function_definition "void gldelf_k1om_before_parse(void)\n\n{\n  ldfile_set_output_arch("k1om",bfd_arch_k1om);\n  input_flags._0_1_ = input_flags._0_1_ | 0x20;\n  config.has_shared = 1;\n  config.separate_code = 0;\n  link_info._3_4_ = link_info._3_4_ | 0x20000030;\n  link_info.call_nop_byte = 'g';\n  return;\n}" primitive_type (function_declarator "gldelf_k1om_before_parse(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  ldfile_set_output_arch("k1om",bfd_arch_k1om);\n  input_flags._0_1_ = input_flags._0_1_ | 0x20;\n  config.has_shared = 1;\n  config.separate_code = 0;\n  link_info._3_4_ = link_info._3_4_ | 0x20000030;\n  link_info.call_nop_byte = 'g';\n  return;\n}" { (expression_statement "ldfile_set_output_arch("k1om",bfd_arch_k1om);" (call_expression "ldfile_set_output_arch("k1om",bfd_arch_k1om)" identifier (argument_list "("k1om",bfd_arch_k1om)" ( (string_literal ""k1om"" " string_content ") , identifier ))) ;) (expression_statement "input_flags._0_1_ = input_flags._0_1_ | 0x20;" (assignment_expression "input_flags._0_1_ = input_flags._0_1_ | 0x20" (field_expression "input_flags._0_1_" identifier . field_identifier) = (binary_expression "input_flags._0_1_ | 0x20" (field_expression "input_flags._0_1_" identifier . field_identifier) | number_literal)) ;) (expression_statement "config.has_shared = 1;" (assignment_expression "config.has_shared = 1" (field_expression "config.has_shared" identifier . field_identifier) = number_literal) ;) (expression_statement "config.separate_code = 0;" (assignment_expression "config.separate_code = 0" (field_expression "config.separate_code" identifier . field_identifier) = number_literal) ;) (expression_statement "link_info._3_4_ = link_info._3_4_ | 0x20000030;" (assignment_expression "link_info._3_4_ = link_info._3_4_ | 0x20000030" (field_expression "link_info._3_4_" identifier . field_identifier) = (binary_expression "link_info._3_4_ | 0x20000030" (field_expression "link_info._3_4_" identifier . field_identifier) | number_literal)) ;) (expression_statement "link_info.call_nop_byte = 'g';" (assignment_expression "link_info.call_nop_byte = 'g'" (field_expression "link_info.call_nop_byte" identifier . field_identifier) = (char_literal "'g'" ' character ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004fe00(void)\n\n{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}\n\n" (function_definition "void FUN_0004fe00(void)\n\n{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}" primitive_type (function_declarator "FUN_0004fe00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}" { (expression_statement "FUN_00035ce0(&DAT_00192db1,10);" (call_expression "FUN_00035ce0(&DAT_00192db1,10)" identifier (argument_list "(&DAT_00192db1,10)" ( (pointer_expression "&DAT_00192db1" & identifier) , number_literal ))) ;) (expression_statement "DAT_001d0390 = DAT_001d0390 | 0x20;" (assignment_expression "DAT_001d0390 = DAT_001d0390 | 0x20" identifier = (binary_expression "DAT_001d0390 | 0x20" identifier | number_literal)) ;) (expression_statement "DAT_001d04e8 = 1;" (assignment_expression "DAT_001d04e8 = 1" identifier = number_literal) ;) (expression_statement "DAT_001d0524 = 0;" (assignment_expression "DAT_001d0524 = 0" identifier = number_literal) ;) (expression_statement "ram0x001d03e3 = ram0x001d03e3 | 0x20000030;" (assignment_expression "ram0x001d03e3 = ram0x001d03e3 | 0x20000030" identifier = (binary_expression "ram0x001d03e3 | 0x20000030" identifier | number_literal)) ;) (expression_statement "DAT_001d03e8 = 0x67;" (assignment_expression "DAT_001d03e8 = 0x67" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0004fe00(void)\n\n{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004fe00(void)" (identifier "FUN_0004fe00") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  FUN_00035ce0(&DAT_00192db1,10);\n  DAT_001d0390 = DAT_001d0390 | 0x20;\n  DAT_001d04e8 = 1;\n  DAT_001d0524 = 0;\n  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;\n  DAT_001d03e8 = 0x67;\n  return;\n}" ({ "{") (expression_statement "FUN_00035ce0(&DAT_00192db1,10);" (call_expression "FUN_00035ce0(&DAT_00192db1,10)" (identifier "FUN_00035ce0") (argument_list "(&DAT_00192db1,10)" (( "(") (pointer_expression "&DAT_00192db1" (& "&") (identifier "DAT_00192db1")) (, ",") (number_literal "10") () ")"))) (; ";")) (expression_statement "DAT_001d0390 = DAT_001d0390 | 0x20;" (assignment_expression "DAT_001d0390 = DAT_001d0390 | 0x20" (identifier "DAT_001d0390") (= "=") (binary_expression "DAT_001d0390 | 0x20" (identifier "DAT_001d0390") (| "|") (number_literal "0x20"))) (; ";")) (expression_statement "DAT_001d04e8 = 1;" (assignment_expression "DAT_001d04e8 = 1" (identifier "DAT_001d04e8") (= "=") (number_literal "1")) (; ";")) (expression_statement "DAT_001d0524 = 0;" (assignment_expression "DAT_001d0524 = 0" (identifier "DAT_001d0524") (= "=") (number_literal "0")) (; ";")) (expression_statement "ram0x001d03e3 = ram0x001d03e3 | 0x20000030;" (assignment_expression "ram0x001d03e3 = ram0x001d03e3 | 0x20000030" (identifier "ram0x001d03e3") (= "=") (binary_expression "ram0x001d03e3 | 0x20000030" (identifier "ram0x001d03e3") (| "|") (number_literal "0x20000030"))) (; ";")) (expression_statement "DAT_001d03e8 = 0x67;" (assignment_expression "DAT_001d03e8 = 0x67" (identifier "DAT_001d03e8") (= "=") (number_literal "0x67")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  var_1("k1om",bfd_arch_k1om);
  input_flags._0_1_ = input_flags._0_1_ | 0x20;
  config.has_shared = 1;
  config.separate_code = 0;
  link_info._3_4_ = link_info._3_4_ | 0x20000030;
  link_info.call_nop_byte = 'g';
  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: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(void)

{
  FUN_00035ce0(&DAT_00192db1,10);
  DAT_001d0390 = DAT_001d0390 | 0x20;
  DAT_001d04e8 = 1;
  DAT_001d0524 = 0;
  ram0x001d03e3 = ram0x001d03e3 | 0x20000030;
  DAT_001d03e8 = 0x67;
  return;
}

