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

char get_absolute_expression_and_terminator(long *val_pointer)

{
  char *pcVar1;
  offsetT oVar2;
  expressionS exp;
  
  oVar2 = get_absolute_expr(&exp);
  *val_pointer = oVar2;
  pcVar1 = input_line_pointer;
  input_line_pointer = input_line_pointer + 1;
  return *pcVar1;
}



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

undefined1 FUN_00031d50(undefined4 *param_1)

{
  undefined1 *puVar1;
  undefined4 uVar2;
  
  uVar2 = FUN_0002b010();
  *param_1 = uVar2;
  puVar1 = DAT_000848f0;
  DAT_000848f0 = DAT_000848f0 + 1;
  return *puVar1;
}


PUSH EBX
CALL 0x00016020
ADD EBX,0x492aa
SUB ESP,0x18
MOV EAX,ESP
CALL 0x0002b010
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [EDX],EAX
LEA EDX,[EBX + 0x98f0]
MOV EAX,dword ptr [EDX]
LEA ECX,[EAX + 0x1]
MOV dword ptr [EDX],ECX
MOVZX EAX,byte ptr [EAX]
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined1 FUN_00031d50(undefined4 *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}\n\n" comment (function_definition "undefined1 FUN_00031d50(undefined4 *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}" type_identifier (function_declarator "FUN_00031d50(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = FUN_0002b010();" (assignment_expression "uVar2 = FUN_0002b010()" identifier = (call_expression "FUN_0002b010()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar1 = DAT_000848f0;" (assignment_expression "puVar1 = DAT_000848f0" identifier = identifier) ;) (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (return_statement "return *puVar1;" return (pointer_expression "*puVar1" * identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar get_absolute_expression_and_terminator(long *val_pointer)\n\n{\n  char *pcVar1;\n  offsetT oVar2;\n  expressionS exp;\n  \n  oVar2 = get_absolute_expr(&exp);\n  *val_pointer = oVar2;\n  pcVar1 = input_line_pointer;\n  input_line_pointer = input_line_pointer + 1;\n  return *pcVar1;\n}\n\n" comment comment (function_definition "char get_absolute_expression_and_terminator(long *val_pointer)\n\n{\n  char *pcVar1;\n  offsetT oVar2;\n  expressionS exp;\n  \n  oVar2 = get_absolute_expr(&exp);\n  *val_pointer = oVar2;\n  pcVar1 = input_line_pointer;\n  input_line_pointer = input_line_pointer + 1;\n  return *pcVar1;\n}" primitive_type (function_declarator "get_absolute_expression_and_terminator(long *val_pointer)" identifier (parameter_list "(long *val_pointer)" ( (parameter_declaration "long *val_pointer" (sized_type_specifier "long" long) (pointer_declarator "*val_pointer" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  offsetT oVar2;\n  expressionS exp;\n  \n  oVar2 = get_absolute_expr(&exp);\n  *val_pointer = oVar2;\n  pcVar1 = input_line_pointer;\n  input_line_pointer = input_line_pointer + 1;\n  return *pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "offsetT oVar2;" type_identifier identifier ;) (declaration "expressionS exp;" type_identifier identifier ;) (expression_statement "oVar2 = get_absolute_expr(&exp);" (assignment_expression "oVar2 = get_absolute_expr(&exp)" identifier = (call_expression "get_absolute_expr(&exp)" identifier (argument_list "(&exp)" ( (pointer_expression "&exp" & identifier) )))) ;) (expression_statement "*val_pointer = oVar2;" (assignment_expression "*val_pointer = oVar2" (pointer_expression "*val_pointer" * identifier) = identifier) ;) (expression_statement "pcVar1 = input_line_pointer;" (assignment_expression "pcVar1 = input_line_pointer" identifier = identifier) ;) (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (return_statement "return *pcVar1;" return (pointer_expression "*pcVar1" * identifier) ;) })))
(translation_unit "undefined1 FUN_00031d50(undefined4 *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}\n\n" (function_definition "undefined1 FUN_00031d50(undefined4 *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}" type_identifier (function_declarator "FUN_00031d50(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = FUN_0002b010();" (assignment_expression "uVar2 = FUN_0002b010()" identifier = (call_expression "FUN_0002b010()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar1 = DAT_000848f0;" (assignment_expression "puVar1 = DAT_000848f0" identifier = identifier) ;) (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (return_statement "return *puVar1;" return (pointer_expression "*puVar1" * identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (return_statement return (pointer_expression * IDENT) ;) })))
(function_definition "undefined1 FUN_00031d50(undefined4 *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}" (type_identifier "undefined1") (function_declarator "FUN_00031d50(undefined4 *param_1)" (identifier "FUN_00031d50") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = FUN_0002b010();\n  *param_1 = uVar2;\n  puVar1 = DAT_000848f0;\n  DAT_000848f0 = DAT_000848f0 + 1;\n  return *puVar1;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = FUN_0002b010();" (assignment_expression "uVar2 = FUN_0002b010()" (identifier "uVar2") (= "=") (call_expression "FUN_0002b010()" (identifier "FUN_0002b010") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1 = DAT_000848f0;" (assignment_expression "puVar1 = DAT_000848f0" (identifier "puVar1") (= "=") (identifier "DAT_000848f0")) (; ";")) (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" (identifier "DAT_000848f0") (= "=") (binary_expression "DAT_000848f0 + 1" (identifier "DAT_000848f0") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return *puVar1;" (return "return") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (} "}")))

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

char function_1(long *val_pointer)

{
  char *pcVar1;
  type_1 oVar2;
  type_2 exp;
  
  oVar2 = var_1(&exp);
  *val_pointer = oVar2;
  pcVar1 = var_2;
  var_2 = var_2 + 1;
  return *pcVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (pointer_expression argument: (identifier))))))

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

undefined1 MASKED(undefined4 *param_1)

{
  undefined1 *puVar1;
  undefined4 uVar2;
  
  uVar2 = FUN_0002b010();
  *param_1 = uVar2;
  puVar1 = DAT_000848f0;
  DAT_000848f0 = DAT_000848f0 + 1;
  return *puVar1;
}

