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

int __regparm3 get_line_sb(sb *line,int in_macro)

{
  char *pcVar1;
  int iVar2;
  int in_stack_ffffffe4;
  
  if (input_line_pointer[-1] == '\n') {
    bump_line_counters();
  }
  if ((input_line_pointer < buffer_limit) ||
     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)) {
    pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);
    sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);
    input_line_pointer = pcVar1 + 1;
    iVar2 = (int)*pcVar1;
  }
  else {
    iVar2 = 0;
  }
  return iVar2;
}



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

int __regparm3 FUN_0002b810(undefined4 param_1)

{
  char *pcVar1;
  int iVar2;
  
  if (DAT_0007cf30[-1] == '\n') {
    FUN_00024e50();
  }
  if ((DAT_0007cf30 < DAT_0007cad8) ||
     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {
    pcVar1 = (char *)FUN_0002b6a0();
    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);
    DAT_0007cf30 = pcVar1 + 1;
    iVar2 = (int)*pcVar1;
  }
  else {
    iVar2 = 0;
  }
  return iVar2;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00016030
ADD EBX,0x487e3
SUB ESP,0xc
LEA ESI,[EBX + 0x8f30]
MOV EAX,dword ptr [ESI]
CMP byte ptr [EAX + -0x1],0xa
JZ 0x0002b888
CMP dword ptr [EBX + 0x8ad8],EAX
JA 0x0002b854
SUB ESP,0xc
PUSH ESI
CALL 0x00024b90
ADD ESP,0x10
MOV dword ptr [EBX + 0x8ad8],EAX
TEST EAX,EAX
JZ 0x0002b898
MOV EAX,dword ptr [ESI]
MOV ECX,EBP
XOR EDX,EDX
CALL 0x0002b6a0
SUB ESP,0x4
MOV EBP,EAX
MOV EAX,dword ptr [ESI]
MOV EDX,EBP
SUB EDX,EAX
PUSH EDX
PUSH EAX
PUSH EDI
CALL 0x00033670
LEA EAX,[EBP + 0x1]
ADD ESP,0x10
MOV dword ptr [ESI],EAX
MOVSX EAX,byte ptr [EBP]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00024e50
MOV EAX,dword ptr [ESI]
JMP 0x0002b834
XOR EAX,EAX
JMP 0x0002b87c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_0002b810(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int __regparm3 FUN_0002b810(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002b810(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }" if (parenthesized_expression "(DAT_0007cf30[-1] == '\n')" ( (binary_expression "DAT_0007cf30[-1] == '\n'" (subscript_expression "DAT_0007cf30[-1]" identifier [ number_literal ]) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00024e50();\n  }" { (expression_statement "FUN_00024e50();" (call_expression "FUN_00024e50()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }" if (parenthesized_expression "((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0))" ( (binary_expression "(DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)" (parenthesized_expression "(DAT_0007cf30 < DAT_0007cad8)" ( (binary_expression "DAT_0007cf30 < DAT_0007cad8" identifier < identifier) )) || (parenthesized_expression "(DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)" ( (comma_expression "DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0" (assignment_expression "DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30)" identifier = (cast_expression "(char *)FUN_00024b90(&DAT_0007cf30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00024b90(&DAT_0007cf30)" identifier (argument_list "(&DAT_0007cf30)" ( (pointer_expression "&DAT_0007cf30" & identifier) ))))) , (binary_expression "DAT_0007cad8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }" { (expression_statement "pcVar1 = (char *)FUN_0002b6a0();" (assignment_expression "pcVar1 = (char *)FUN_0002b6a0()" identifier = (cast_expression "(char *)FUN_0002b6a0()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002b6a0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);" (call_expression "FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30)" identifier (argument_list "(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30)" ( identifier , identifier , (binary_expression "(int)pcVar1 - (int)DAT_0007cf30" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_0007cf30" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "DAT_0007cf30 = pcVar1 + 1;" (assignment_expression "DAT_0007cf30 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (int)*pcVar1;" (assignment_expression "iVar2 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) }) (else_clause "else {\n    iVar2 = 0;\n  }" else (compound_statement "{\n    iVar2 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 get_line_sb(sb *line,int in_macro)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int in_stack_ffffffe4;\n  \n  if (input_line_pointer[-1] == '\n') {\n    bump_line_counters();\n  }\n  if ((input_line_pointer < buffer_limit) ||\n     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)) {\n    pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);\n    sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);\n    input_line_pointer = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int __regparm3 get_line_sb(sb *line,int in_macro)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int in_stack_ffffffe4;\n  \n  if (input_line_pointer[-1] == '\n') {\n    bump_line_counters();\n  }\n  if ((input_line_pointer < buffer_limit) ||\n     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)) {\n    pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);\n    sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);\n    input_line_pointer = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "get_line_sb(sb *line,int in_macro)" identifier (parameter_list "(sb *line,int in_macro)" ( (parameter_declaration "sb *line" type_identifier (pointer_declarator "*line" * identifier)) , (parameter_declaration "int in_macro" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int in_stack_ffffffe4;\n  \n  if (input_line_pointer[-1] == '\n') {\n    bump_line_counters();\n  }\n  if ((input_line_pointer < buffer_limit) ||\n     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)) {\n    pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);\n    sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);\n    input_line_pointer = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_stack_ffffffe4;" primitive_type identifier ;) (if_statement "if (input_line_pointer[-1] == '\n') {\n    bump_line_counters();\n  }" if (parenthesized_expression "(input_line_pointer[-1] == '\n')" ( (binary_expression "input_line_pointer[-1] == '\n'" (subscript_expression "input_line_pointer[-1]" identifier [ number_literal ]) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n    bump_line_counters();\n  }" { (expression_statement "bump_line_counters();" (call_expression "bump_line_counters()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((input_line_pointer < buffer_limit) ||\n     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)) {\n    pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);\n    sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);\n    input_line_pointer = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }" if (parenthesized_expression "((input_line_pointer < buffer_limit) ||\n     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0))" ( (binary_expression "(input_line_pointer < buffer_limit) ||\n     (buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)" (parenthesized_expression "(input_line_pointer < buffer_limit)" ( (binary_expression "input_line_pointer < buffer_limit" identifier < identifier) )) || (parenthesized_expression "(buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0)" ( (comma_expression "buffer_limit = input_scrub_next_buffer(&input_line_pointer), buffer_limit != (char *)0x0" (assignment_expression "buffer_limit = input_scrub_next_buffer(&input_line_pointer)" identifier = (call_expression "input_scrub_next_buffer(&input_line_pointer)" identifier (argument_list "(&input_line_pointer)" ( (pointer_expression "&input_line_pointer" & identifier) )))) , (binary_expression "buffer_limit != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);\n    sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);\n    input_line_pointer = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }" { (expression_statement "pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4);" (assignment_expression "pcVar1 = _find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4)" identifier = (call_expression "_find_end_of_line(input_line_pointer,0,in_macro,in_stack_ffffffe4)" identifier (argument_list "(input_line_pointer,0,in_macro,in_stack_ffffffe4)" ( identifier , number_literal , identifier , identifier )))) ;) (expression_statement "sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer);" (call_expression "sb_add_buffer(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer)" identifier (argument_list "(line,input_line_pointer,(int)pcVar1 - (int)input_line_pointer)" ( identifier , identifier , (binary_expression "(int)pcVar1 - (int)input_line_pointer" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)input_line_pointer" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "input_line_pointer = pcVar1 + 1;" (assignment_expression "input_line_pointer = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (int)*pcVar1;" (assignment_expression "iVar2 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) }) (else_clause "else {\n    iVar2 = 0;\n  }" else (compound_statement "{\n    iVar2 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int __regparm3 FUN_0002b810(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}\n\n" (function_definition "int __regparm3 FUN_0002b810(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002b810(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }" if (parenthesized_expression "(DAT_0007cf30[-1] == '\n')" ( (binary_expression "DAT_0007cf30[-1] == '\n'" (subscript_expression "DAT_0007cf30[-1]" identifier [ number_literal ]) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00024e50();\n  }" { (expression_statement "FUN_00024e50();" (call_expression "FUN_00024e50()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }" if (parenthesized_expression "((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0))" ( (binary_expression "(DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)" (parenthesized_expression "(DAT_0007cf30 < DAT_0007cad8)" ( (binary_expression "DAT_0007cf30 < DAT_0007cad8" identifier < identifier) )) || (parenthesized_expression "(DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)" ( (comma_expression "DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0" (assignment_expression "DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30)" identifier = (cast_expression "(char *)FUN_00024b90(&DAT_0007cf30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00024b90(&DAT_0007cf30)" identifier (argument_list "(&DAT_0007cf30)" ( (pointer_expression "&DAT_0007cf30" & identifier) ))))) , (binary_expression "DAT_0007cad8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }" { (expression_statement "pcVar1 = (char *)FUN_0002b6a0();" (assignment_expression "pcVar1 = (char *)FUN_0002b6a0()" identifier = (cast_expression "(char *)FUN_0002b6a0()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002b6a0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);" (call_expression "FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30)" identifier (argument_list "(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30)" ( identifier , identifier , (binary_expression "(int)pcVar1 - (int)DAT_0007cf30" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_0007cf30" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "DAT_0007cf30 = pcVar1 + 1;" (assignment_expression "DAT_0007cf30 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (int)*pcVar1;" (assignment_expression "iVar2 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) }) (else_clause "else {\n    iVar2 = 0;\n  }" else (compound_statement "{\n    iVar2 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_0002b810(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002b810(undefined4 param_1)" (identifier "FUN_0002b810") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }\n  if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }\n  return iVar2;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (DAT_0007cf30[-1] == '\n') {\n    FUN_00024e50();\n  }" (if "if") (parenthesized_expression "(DAT_0007cf30[-1] == '\n')" (( "(") (binary_expression "DAT_0007cf30[-1] == '\n'" (subscript_expression "DAT_0007cf30[-1]" (identifier "DAT_0007cf30") ([ "[") (number_literal "-1") (] "]")) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (compound_statement "{\n    FUN_00024e50();\n  }" ({ "{") (expression_statement "FUN_00024e50();" (call_expression "FUN_00024e50()" (identifier "FUN_00024e50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if ((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }\n  else {\n    iVar2 = 0;\n  }" (if "if") (parenthesized_expression "((DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0))" (( "(") (binary_expression "(DAT_0007cf30 < DAT_0007cad8) ||\n     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)" (parenthesized_expression "(DAT_0007cf30 < DAT_0007cad8)" (( "(") (binary_expression "DAT_0007cf30 < DAT_0007cad8" (identifier "DAT_0007cf30") (< "<") (identifier "DAT_0007cad8")) () ")")) (|| "||") (parenthesized_expression "(DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)" (( "(") (comma_expression "DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0" (assignment_expression "DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30)" (identifier "DAT_0007cad8") (= "=") (cast_expression "(char *)FUN_00024b90(&DAT_0007cf30)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00024b90(&DAT_0007cf30)" (identifier "FUN_00024b90") (argument_list "(&DAT_0007cf30)" (( "(") (pointer_expression "&DAT_0007cf30" (& "&") (identifier "DAT_0007cf30")) () ")"))))) (, ",") (binary_expression "DAT_0007cad8 != (char *)0x0" (identifier "DAT_0007cad8") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    pcVar1 = (char *)FUN_0002b6a0();\n    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);\n    DAT_0007cf30 = pcVar1 + 1;\n    iVar2 = (int)*pcVar1;\n  }" ({ "{") (expression_statement "pcVar1 = (char *)FUN_0002b6a0();" (assignment_expression "pcVar1 = (char *)FUN_0002b6a0()" (identifier "pcVar1") (= "=") (cast_expression "(char *)FUN_0002b6a0()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002b6a0()" (identifier "FUN_0002b6a0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);" (call_expression "FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30)" (identifier "FUN_00033670") (argument_list "(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30)" (( "(") (identifier "param_1") (, ",") (identifier "DAT_0007cf30") (, ",") (binary_expression "(int)pcVar1 - (int)DAT_0007cf30" (cast_expression "(int)pcVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar1")) (- "-") (cast_expression "(int)DAT_0007cf30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_0007cf30"))) () ")"))) (; ";")) (expression_statement "DAT_0007cf30 = pcVar1 + 1;" (assignment_expression "DAT_0007cf30 = pcVar1 + 1" (identifier "DAT_0007cf30") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = (int)*pcVar1;" (assignment_expression "iVar2 = (int)*pcVar1" (identifier "iVar2") (= "=") (cast_expression "(int)*pcVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = 0;\n  }" (else "else") (compound_statement "{\n    iVar2 = 0;\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

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

int __regparm3 function_1(type_1 *line,int in_macro)

{
  char *var_7;
  int iVar2;
  int in_stack_ffffffe4;
  
  if (var_2[-1] == '\n') {
    var_1();
  }
  if ((var_2 < var_3) ||
     (var_3 = var_4(&var_2), var_3 != (char *)0x0)) {
    var_7 = var_5(var_2,0,in_macro,in_stack_ffffffe4);
    var_6(line,var_2,(int)var_7 - (int)var_2);
    var_2 = var_7 + 1;
    iVar2 = (int)*var_7;
  }
  else {
    iVar2 = 0;
  }
  return iVar2;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

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

int __regparm3 MASKED(undefined4 param_1)

{
  char *pcVar1;
  int iVar2;
  
  if (DAT_0007cf30[-1] == '\n') {
    FUN_00024e50();
  }
  if ((DAT_0007cf30 < DAT_0007cad8) ||
     (DAT_0007cad8 = (char *)FUN_00024b90(&DAT_0007cf30), DAT_0007cad8 != (char *)0x0)) {
    pcVar1 = (char *)FUN_0002b6a0();
    FUN_00033670(param_1,DAT_0007cf30,(int)pcVar1 - (int)DAT_0007cf30);
    DAT_0007cf30 = pcVar1 + 1;
    iVar2 = (int)*pcVar1;
  }
  else {
    iVar2 = 0;
  }
  return iVar2;
}

