
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void md_create_short_jump
               (char *ptr,addressT from_addr,addressT to_addr,fragS *frag,symbolS *to_symbol)

{
  number_to_chars_bigendian(ptr,0x6000,2);
  number_to_chars_bigendian(ptr + 2,(to_addr - from_addr) - 2,2);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0004b270(int param_1,int param_2,int param_3)

{
  FUN_00040e00(param_1,0x6000,2);
  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00017010
ADD EBX,0x2cd89
SUB ESP,0x8
MOV ESI,dword ptr [ESP + 0x14]
PUSH 0x2
PUSH 0x6000
PUSH ESI
ADD ESI,0x2
CALL 0x00040e00
ADD ESP,0xc
PUSH 0x2
MOV EAX,dword ptr [ESP + 0x20]
SUB EAX,dword ptr [ESP + 0x1c]
SUB EAX,0x2
PUSH EAX
PUSH ESI
CALL 0x00040e00
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0004b270(int param_1,int param_2,int param_3)\n\n{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}\n\n" comment (function_definition "void FUN_0004b270(int param_1,int param_2,int param_3)\n\n{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}" primitive_type (function_declarator "FUN_0004b270(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}" { (expression_statement "FUN_00040e00(param_1,0x6000,2);" (call_expression "FUN_00040e00(param_1,0x6000,2)" identifier (argument_list "(param_1,0x6000,2)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);" (call_expression "FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2)" identifier (argument_list "(param_1 + 2,(param_3 - param_2) + -2,2)" ( (binary_expression "param_1 + 2" identifier + number_literal) , (binary_expression "(param_3 - param_2) + -2" (parenthesized_expression "(param_3 - param_2)" ( (binary_expression "param_3 - param_2" identifier - identifier) )) + number_literal) , 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 */\n\nvoid md_create_short_jump\n               (char *ptr,addressT from_addr,addressT to_addr,fragS *frag,symbolS *to_symbol)\n\n{\n  number_to_chars_bigendian(ptr,0x6000,2);\n  number_to_chars_bigendian(ptr + 2,(to_addr - from_addr) - 2,2);\n  return;\n}\n\n" comment comment (function_definition "void md_create_short_jump\n               (char *ptr,addressT from_addr,addressT to_addr,fragS *frag,symbolS *to_symbol)\n\n{\n  number_to_chars_bigendian(ptr,0x6000,2);\n  number_to_chars_bigendian(ptr + 2,(to_addr - from_addr) - 2,2);\n  return;\n}" primitive_type (function_declarator "md_create_short_jump\n               (char *ptr,addressT from_addr,addressT to_addr,fragS *frag,symbolS *to_symbol)" identifier (parameter_list "(char *ptr,addressT from_addr,addressT to_addr,fragS *frag,symbolS *to_symbol)" ( (parameter_declaration "char *ptr" primitive_type (pointer_declarator "*ptr" * identifier)) , (parameter_declaration "addressT from_addr" type_identifier identifier) , (parameter_declaration "addressT to_addr" type_identifier identifier) , (parameter_declaration "fragS *frag" type_identifier (pointer_declarator "*frag" * identifier)) , (parameter_declaration "symbolS *to_symbol" type_identifier (pointer_declarator "*to_symbol" * identifier)) ))) (compound_statement "{\n  number_to_chars_bigendian(ptr,0x6000,2);\n  number_to_chars_bigendian(ptr + 2,(to_addr - from_addr) - 2,2);\n  return;\n}" { (expression_statement "number_to_chars_bigendian(ptr,0x6000,2);" (call_expression "number_to_chars_bigendian(ptr,0x6000,2)" identifier (argument_list "(ptr,0x6000,2)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "number_to_chars_bigendian(ptr + 2,(to_addr - from_addr) - 2,2);" (call_expression "number_to_chars_bigendian(ptr + 2,(to_addr - from_addr) - 2,2)" identifier (argument_list "(ptr + 2,(to_addr - from_addr) - 2,2)" ( (binary_expression "ptr + 2" identifier + number_literal) , (binary_expression "(to_addr - from_addr) - 2" (parenthesized_expression "(to_addr - from_addr)" ( (binary_expression "to_addr - from_addr" identifier - identifier) )) - number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004b270(int param_1,int param_2,int param_3)\n\n{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}\n\n" (function_definition "void FUN_0004b270(int param_1,int param_2,int param_3)\n\n{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}" primitive_type (function_declarator "FUN_0004b270(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}" { (expression_statement "FUN_00040e00(param_1,0x6000,2);" (call_expression "FUN_00040e00(param_1,0x6000,2)" identifier (argument_list "(param_1,0x6000,2)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);" (call_expression "FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2)" identifier (argument_list "(param_1 + 2,(param_3 - param_2) + -2,2)" ( (binary_expression "param_1 + 2" identifier + number_literal) , (binary_expression "(param_3 - param_2) + -2" (parenthesized_expression "(param_3 - param_2)" ( (binary_expression "param_3 - param_2" identifier - identifier) )) + number_literal) , number_literal ))) ;) (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 { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT) , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0004b270(int param_1,int param_2,int param_3)\n\n{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004b270(int param_1,int param_2,int param_3)" (identifier "FUN_0004b270") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  FUN_00040e00(param_1,0x6000,2);\n  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);\n  return;\n}" ({ "{") (expression_statement "FUN_00040e00(param_1,0x6000,2);" (call_expression "FUN_00040e00(param_1,0x6000,2)" (identifier "FUN_00040e00") (argument_list "(param_1,0x6000,2)" (( "(") (identifier "param_1") (, ",") (number_literal "0x6000") (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);" (call_expression "FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2)" (identifier "FUN_00040e00") (argument_list "(param_1 + 2,(param_3 - param_2) + -2,2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) (, ",") (binary_expression "(param_3 - param_2) + -2" (parenthesized_expression "(param_3 - param_2)" (( "(") (binary_expression "param_3 - param_2" (identifier "param_3") (- "-") (identifier "param_2")) () ")")) (+ "+") (number_literal "-2")) (, ",") (number_literal "2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1
               (char *var_2,type_1 var_4,type_1 var_3,type_2 *frag,type_3 *to_symbol)

{
  var_1(var_2,0x6000,2);
  var_1(var_2 + 2,(var_3 - var_4) - 2,2);
  return;
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)) (number_literal)))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  FUN_00040e00(param_1,0x6000,2);
  FUN_00040e00(param_1 + 2,(param_3 - param_2) + -2,2);
  return;
}

