
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 add_line_number(COLUMN *p)

{
  char *pcVar1;
  int iVar2;
  char *pcVar3;
  char *pcVar4;
  
  iVar2 = __sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number);
  line_number = line_number + 1;
  pcVar3 = number_buff + (iVar2 - chars_per_number);
  pcVar1 = pcVar3 + chars_per_number;
  if (0 < chars_per_number) {
    do {
      pcVar4 = pcVar3 + 1;
      (*(code *)p->fp)((int)*pcVar3);
      pcVar3 = pcVar4;
    } while (pcVar4 != pcVar1);
  }
  if (columns < 2) {
    (*(code *)p->fp)((int)number_separator);
    if (number_separator == '\t') {
      output_position =
           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;
    }
  }
  else if (number_separator == '\t') {
    iVar2 = (number_width - chars_per_number) + -1;
    if (0 < number_width - chars_per_number) {
      do {
        iVar2 = iVar2 + -1;
        (*(code *)p->fp)(0x20);
      } while (iVar2 != -1);
    }
  }
  else {
    (*(code *)p->fp)((int)number_separator);
  }
  if ((truncate_lines != false) && (parallel_files == false)) {
    input_position = input_position + number_width;
  }
  return;
}



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

void __regparm3 FUN_000140b0(undefined4 *param_1)

{
  char *pcVar1;
  int iVar2;
  char *pcVar3;
  char *pcVar4;
  
  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);
  DAT_00028238 = DAT_00028238 + 1;
  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);
  pcVar1 = pcVar3 + DAT_00028128;
  if (0 < DAT_00028128) {
    do {
      pcVar4 = pcVar3 + 1;
      (*(code *)*param_1)((int)*pcVar3);
      pcVar3 = pcVar4;
    } while (pcVar4 != pcVar1);
  }
  if (DAT_00028148 < 2) {
    (*(code *)*param_1)((int)DAT_00028138);
    if (DAT_00028138 == '\t') {
      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;
    }
  }
  else if (DAT_00028138 == '\t') {
    iVar2 = (DAT_00028230 - DAT_00028128) + -1;
    if (0 < DAT_00028230 - DAT_00028128) {
      do {
        iVar2 = iVar2 + -1;
        (*(code *)*param_1)(0x20);
      } while (iVar2 != -1);
    }
  }
  else {
    (*(code *)*param_1)((int)DAT_00028138);
  }
  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {
    DAT_0002825c = DAT_0002825c + DAT_00028230;
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00012eb0
ADD EBX,0x13f45
SUB ESP,0x14
LEA EAX,[EBX + 0xffff8063]
PUSH dword ptr [EBX + 0x238]
PUSH dword ptr [EBX + 0x128]
PUSH EAX
PUSH -0x1
PUSH 0x1
PUSH dword ptr [EBX + 0x22c]
CALL 0x00012480
MOV EDX,dword ptr [EBX + 0x128]
ADD dword ptr [EBX + 0x238],0x1
ADD ESP,0x20
SUB EAX,EDX
ADD EAX,dword ptr [EBX + 0x22c]
LEA EBP,[EAX + EDX*0x1]
MOV ESI,EAX
TEST EDX,EDX
JLE 0x00014124
LEA ESI,[ESI]
NOP
ADD ESI,0x1
MOVSX EAX,byte ptr [ESI + -0x1]
SUB ESP,0xc
PUSH EAX
CALL dword ptr [EDI]
ADD ESP,0x10
CMP ESI,EBP
JNZ 0x00014110
CMP dword ptr [EBX + 0x148],0x1
MOVSX EAX,byte ptr [EBX + 0x138]
JLE 0x000141a0
CMP AL,0x9
JZ 0x00014170
SUB ESP,0xc
PUSH EAX
CALL dword ptr [EDI]
ADD ESP,0x10
CMP byte ptr [EBX + 0x275],0x0
JZ 0x0001415f
CMP byte ptr [EBX + 0x287],0x0
JNZ 0x0001415f
MOV EAX,dword ptr [EBX + 0x230]
ADD dword ptr [EBX + 0x25c],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0x230]
SUB EAX,dword ptr [EBX + 0x128]
LEA ESI,[EAX + -0x1]
TEST EAX,EAX
JLE 0x00014141
LEA ESI,[ESI]
NOP
SUB ESP,0xc
SUB ESI,0x1
PUSH 0x20
CALL dword ptr [EDI]
ADD ESP,0x10
CMP ESI,-0x1
JNZ 0x00014188
JMP 0x00014141
SUB ESP,0xc
PUSH EAX
CALL dword ptr [EDI]
ADD ESP,0x10
CMP byte ptr [EBX + 0x138],0x9
JNZ 0x00014141
MOV ESI,dword ptr [EBX + 0x260]
MOV ECX,dword ptr [EBX + 0x14c]
MOV EAX,ESI
CDQ
IDIV ECX
SUB ECX,EDX
LEA EAX,[ECX + ESI*0x1]
MOV dword ptr [EBX + 0x260],EAX
JMP 0x00014141
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000140b0(undefined4 *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000140b0(undefined4 *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000140b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);" (assignment_expression "iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" identifier = (call_expression "__sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" identifier (argument_list "(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00020063" & identifier) , identifier , identifier )))) ;) (expression_statement "DAT_00028238 = DAT_00028238 + 1;" (assignment_expression "DAT_00028238 = DAT_00028238 + 1" identifier = (binary_expression "DAT_00028238 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);" (assignment_expression "pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c)" identifier = (cast_expression "(char *)((iVar2 - DAT_00028128) + DAT_0002822c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar2 - DAT_00028128) + DAT_0002822c)" ( (binary_expression "(iVar2 - DAT_00028128) + DAT_0002822c" (parenthesized_expression "(iVar2 - DAT_00028128)" ( (binary_expression "iVar2 - DAT_00028128" identifier - identifier) )) + identifier) )))) ;) (expression_statement "pcVar1 = pcVar3 + DAT_00028128;" (assignment_expression "pcVar1 = pcVar3 + DAT_00028128" identifier = (binary_expression "pcVar3 + DAT_00028128" identifier + identifier)) ;) (if_statement "if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" if (parenthesized_expression "(0 < DAT_00028128)" ( (binary_expression "0 < DAT_00028128" number_literal < identifier) )) (compound_statement "{\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" { (do_statement "do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);" do (compound_statement "{\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    }" { (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)*param_1)((int)*pcVar3);" (call_expression "(*(code *)*param_1)((int)*pcVar3)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "((int)*pcVar3)" ( (cast_expression "(int)*pcVar3" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar3" * identifier)) ))) ;) (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar4 != pcVar1)" ( (binary_expression "pcVar4 != pcVar1" identifier != identifier) )) ;) })) (if_statement "if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" if (parenthesized_expression "(DAT_00028148 < 2)" ( (binary_expression "DAT_00028148 < 2" identifier < number_literal) )) (compound_statement "{\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }" { (expression_statement "(*(code *)*param_1)((int)DAT_00028138);" (call_expression "(*(code *)*param_1)((int)DAT_00028138)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "((int)DAT_00028138)" ( (cast_expression "(int)DAT_00028138" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (if_statement "if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }" if (parenthesized_expression "(DAT_00028138 == '\t')" ( (binary_expression "DAT_00028138 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }" { (expression_statement "DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;" (assignment_expression "DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260" identifier = (binary_expression "(DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260" (parenthesized_expression "(DAT_0002814c - DAT_00028260 % DAT_0002814c)" ( (binary_expression "DAT_0002814c - DAT_00028260 % DAT_0002814c" identifier - (binary_expression "DAT_00028260 % DAT_0002814c" identifier % identifier)) )) + identifier)) ;) })) }) (else_clause "else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" else (if_statement "if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" if (parenthesized_expression "(DAT_00028138 == '\t')" ( (binary_expression "DAT_00028138 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }" { (expression_statement "iVar2 = (DAT_00028230 - DAT_00028128) + -1;" (assignment_expression "iVar2 = (DAT_00028230 - DAT_00028128) + -1" identifier = (binary_expression "(DAT_00028230 - DAT_00028128) + -1" (parenthesized_expression "(DAT_00028230 - DAT_00028128)" ( (binary_expression "DAT_00028230 - DAT_00028128" identifier - identifier) )) + number_literal)) ;) (if_statement "if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }" if (parenthesized_expression "(0 < DAT_00028230 - DAT_00028128)" ( (binary_expression "0 < DAT_00028230 - DAT_00028128" number_literal < (binary_expression "DAT_00028230 - DAT_00028128" identifier - identifier)) )) (compound_statement "{\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }" { (do_statement "do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);" do (compound_statement "{\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      }" { (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)*param_1)(0x20);" (call_expression "(*(code *)*param_1)(0x20)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(0x20)" ( number_literal ))) ;) }) while (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) ;) })) }) (else_clause "else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" else (compound_statement "{\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" { (expression_statement "(*(code *)*param_1)((int)DAT_00028138);" (call_expression "(*(code *)*param_1)((int)DAT_00028138)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "((int)DAT_00028138)" ( (cast_expression "(int)DAT_00028138" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }))))) (if_statement "if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }" if (parenthesized_expression "((DAT_00028275 != '\0') && (DAT_00028287 == '\0'))" ( (binary_expression "(DAT_00028275 != '\0') && (DAT_00028287 == '\0')" (parenthesized_expression "(DAT_00028275 != '\0')" ( (binary_expression "DAT_00028275 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(DAT_00028287 == '\0')" ( (binary_expression "DAT_00028287 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }" { (expression_statement "DAT_0002825c = DAT_0002825c + DAT_00028230;" (assignment_expression "DAT_0002825c = DAT_0002825c + DAT_00028230" identifier = (binary_expression "DAT_0002825c + DAT_00028230" identifier + identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid __regparm3 add_line_number(COLUMN *p)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number);\n  line_number = line_number + 1;\n  pcVar3 = number_buff + (iVar2 - chars_per_number);\n  pcVar1 = pcVar3 + chars_per_number;\n  if (0 < chars_per_number) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (columns < 2) {\n    (*(code *)p->fp)((int)number_separator);\n    if (number_separator == '\t') {\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }\n  }\n  else if (number_separator == '\t') {\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)p->fp)((int)number_separator);\n  }\n  if ((truncate_lines != false) && (parallel_files == false)) {\n    input_position = input_position + number_width;\n  }\n  return;\n}\n\n" comment comment (function_definition "void __regparm3 add_line_number(COLUMN *p)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number);\n  line_number = line_number + 1;\n  pcVar3 = number_buff + (iVar2 - chars_per_number);\n  pcVar1 = pcVar3 + chars_per_number;\n  if (0 < chars_per_number) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (columns < 2) {\n    (*(code *)p->fp)((int)number_separator);\n    if (number_separator == '\t') {\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }\n  }\n  else if (number_separator == '\t') {\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)p->fp)((int)number_separator);\n  }\n  if ((truncate_lines != false) && (parallel_files == false)) {\n    input_position = input_position + number_width;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "add_line_number(COLUMN *p)" identifier (parameter_list "(COLUMN *p)" ( (parameter_declaration "COLUMN *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number);\n  line_number = line_number + 1;\n  pcVar3 = number_buff + (iVar2 - chars_per_number);\n  pcVar1 = pcVar3 + chars_per_number;\n  if (0 < chars_per_number) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (columns < 2) {\n    (*(code *)p->fp)((int)number_separator);\n    if (number_separator == '\t') {\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }\n  }\n  else if (number_separator == '\t') {\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)p->fp)((int)number_separator);\n  }\n  if ((truncate_lines != false) && (parallel_files == false)) {\n    input_position = input_position + number_width;\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "iVar2 = __sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number);" (assignment_expression "iVar2 = __sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number)" identifier = (call_expression "__sprintf_chk(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number)" identifier (argument_list "(number_buff,1,0xffffffff,&DAT_00020063,chars_per_number,line_number)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00020063" & identifier) , identifier , identifier )))) ;) (expression_statement "line_number = line_number + 1;" (assignment_expression "line_number = line_number + 1" identifier = (binary_expression "line_number + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = number_buff + (iVar2 - chars_per_number);" (assignment_expression "pcVar3 = number_buff + (iVar2 - chars_per_number)" identifier = (binary_expression "number_buff + (iVar2 - chars_per_number)" identifier + (parenthesized_expression "(iVar2 - chars_per_number)" ( (binary_expression "iVar2 - chars_per_number" identifier - identifier) )))) ;) (expression_statement "pcVar1 = pcVar3 + chars_per_number;" (assignment_expression "pcVar1 = pcVar3 + chars_per_number" identifier = (binary_expression "pcVar3 + chars_per_number" identifier + identifier)) ;) (if_statement "if (0 < chars_per_number) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" if (parenthesized_expression "(0 < chars_per_number)" ( (binary_expression "0 < chars_per_number" number_literal < identifier) )) (compound_statement "{\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" { (do_statement "do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);" do (compound_statement "{\n      pcVar4 = pcVar3 + 1;\n      (*(code *)p->fp)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    }" { (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)p->fp)((int)*pcVar3);" (call_expression "(*(code *)p->fp)((int)*pcVar3)" (parenthesized_expression "(*(code *)p->fp)" ( (pointer_expression "*(code *)p->fp" * (cast_expression "(code *)p->fp" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->fp" identifier -> field_identifier))) )) (argument_list "((int)*pcVar3)" ( (cast_expression "(int)*pcVar3" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar3" * identifier)) ))) ;) (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar4 != pcVar1)" ( (binary_expression "pcVar4 != pcVar1" identifier != identifier) )) ;) })) (if_statement "if (columns < 2) {\n    (*(code *)p->fp)((int)number_separator);\n    if (number_separator == '\t') {\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }\n  }\n  else if (number_separator == '\t') {\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)p->fp)((int)number_separator);\n  }" if (parenthesized_expression "(columns < 2)" ( (binary_expression "columns < 2" identifier < number_literal) )) (compound_statement "{\n    (*(code *)p->fp)((int)number_separator);\n    if (number_separator == '\t') {\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }\n  }" { (expression_statement "(*(code *)p->fp)((int)number_separator);" (call_expression "(*(code *)p->fp)((int)number_separator)" (parenthesized_expression "(*(code *)p->fp)" ( (pointer_expression "*(code *)p->fp" * (cast_expression "(code *)p->fp" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->fp" identifier -> field_identifier))) )) (argument_list "((int)number_separator)" ( (cast_expression "(int)number_separator" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (if_statement "if (number_separator == '\t') {\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }" if (parenthesized_expression "(number_separator == '\t')" ( (binary_expression "number_separator == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n      output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;\n    }" { (expression_statement "output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position;" (assignment_expression "output_position =\n           (chars_per_output_tab - output_position % chars_per_output_tab) + output_position" identifier = (binary_expression "(chars_per_output_tab - output_position % chars_per_output_tab) + output_position" (parenthesized_expression "(chars_per_output_tab - output_position % chars_per_output_tab)" ( (binary_expression "chars_per_output_tab - output_position % chars_per_output_tab" identifier - (binary_expression "output_position % chars_per_output_tab" identifier % identifier)) )) + identifier)) ;) })) }) (else_clause "else if (number_separator == '\t') {\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)p->fp)((int)number_separator);\n  }" else (if_statement "if (number_separator == '\t') {\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)p->fp)((int)number_separator);\n  }" if (parenthesized_expression "(number_separator == '\t')" ( (binary_expression "number_separator == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = (number_width - chars_per_number) + -1;\n    if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }\n  }" { (expression_statement "iVar2 = (number_width - chars_per_number) + -1;" (assignment_expression "iVar2 = (number_width - chars_per_number) + -1" identifier = (binary_expression "(number_width - chars_per_number) + -1" (parenthesized_expression "(number_width - chars_per_number)" ( (binary_expression "number_width - chars_per_number" identifier - identifier) )) + number_literal)) ;) (if_statement "if (0 < number_width - chars_per_number) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }" if (parenthesized_expression "(0 < number_width - chars_per_number)" ( (binary_expression "0 < number_width - chars_per_number" number_literal < (binary_expression "number_width - chars_per_number" identifier - identifier)) )) (compound_statement "{\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);\n    }" { (do_statement "do {\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      } while (iVar2 != -1);" do (compound_statement "{\n        iVar2 = iVar2 + -1;\n        (*(code *)p->fp)(0x20);\n      }" { (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)p->fp)(0x20);" (call_expression "(*(code *)p->fp)(0x20)" (parenthesized_expression "(*(code *)p->fp)" ( (pointer_expression "*(code *)p->fp" * (cast_expression "(code *)p->fp" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->fp" identifier -> field_identifier))) )) (argument_list "(0x20)" ( number_literal ))) ;) }) while (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) ;) })) }) (else_clause "else {\n    (*(code *)p->fp)((int)number_separator);\n  }" else (compound_statement "{\n    (*(code *)p->fp)((int)number_separator);\n  }" { (expression_statement "(*(code *)p->fp)((int)number_separator);" (call_expression "(*(code *)p->fp)((int)number_separator)" (parenthesized_expression "(*(code *)p->fp)" ( (pointer_expression "*(code *)p->fp" * (cast_expression "(code *)p->fp" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->fp" identifier -> field_identifier))) )) (argument_list "((int)number_separator)" ( (cast_expression "(int)number_separator" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }))))) (if_statement "if ((truncate_lines != false) && (parallel_files == false)) {\n    input_position = input_position + number_width;\n  }" if (parenthesized_expression "((truncate_lines != false) && (parallel_files == false))" ( (binary_expression "(truncate_lines != false) && (parallel_files == false)" (parenthesized_expression "(truncate_lines != false)" ( (binary_expression "truncate_lines != false" identifier != false) )) && (parenthesized_expression "(parallel_files == false)" ( (binary_expression "parallel_files == false" identifier == false) ))) )) (compound_statement "{\n    input_position = input_position + number_width;\n  }" { (expression_statement "input_position = input_position + number_width;" (assignment_expression "input_position = input_position + number_width" identifier = (binary_expression "input_position + number_width" identifier + identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000140b0(undefined4 *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000140b0(undefined4 *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000140b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);" (assignment_expression "iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" identifier = (call_expression "__sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" identifier (argument_list "(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00020063" & identifier) , identifier , identifier )))) ;) (expression_statement "DAT_00028238 = DAT_00028238 + 1;" (assignment_expression "DAT_00028238 = DAT_00028238 + 1" identifier = (binary_expression "DAT_00028238 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);" (assignment_expression "pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c)" identifier = (cast_expression "(char *)((iVar2 - DAT_00028128) + DAT_0002822c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar2 - DAT_00028128) + DAT_0002822c)" ( (binary_expression "(iVar2 - DAT_00028128) + DAT_0002822c" (parenthesized_expression "(iVar2 - DAT_00028128)" ( (binary_expression "iVar2 - DAT_00028128" identifier - identifier) )) + identifier) )))) ;) (expression_statement "pcVar1 = pcVar3 + DAT_00028128;" (assignment_expression "pcVar1 = pcVar3 + DAT_00028128" identifier = (binary_expression "pcVar3 + DAT_00028128" identifier + identifier)) ;) (if_statement "if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" if (parenthesized_expression "(0 < DAT_00028128)" ( (binary_expression "0 < DAT_00028128" number_literal < identifier) )) (compound_statement "{\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" { (do_statement "do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);" do (compound_statement "{\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    }" { (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)*param_1)((int)*pcVar3);" (call_expression "(*(code *)*param_1)((int)*pcVar3)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "((int)*pcVar3)" ( (cast_expression "(int)*pcVar3" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar3" * identifier)) ))) ;) (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar4 != pcVar1)" ( (binary_expression "pcVar4 != pcVar1" identifier != identifier) )) ;) })) (if_statement "if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" if (parenthesized_expression "(DAT_00028148 < 2)" ( (binary_expression "DAT_00028148 < 2" identifier < number_literal) )) (compound_statement "{\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }" { (expression_statement "(*(code *)*param_1)((int)DAT_00028138);" (call_expression "(*(code *)*param_1)((int)DAT_00028138)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "((int)DAT_00028138)" ( (cast_expression "(int)DAT_00028138" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (if_statement "if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }" if (parenthesized_expression "(DAT_00028138 == '\t')" ( (binary_expression "DAT_00028138 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }" { (expression_statement "DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;" (assignment_expression "DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260" identifier = (binary_expression "(DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260" (parenthesized_expression "(DAT_0002814c - DAT_00028260 % DAT_0002814c)" ( (binary_expression "DAT_0002814c - DAT_00028260 % DAT_0002814c" identifier - (binary_expression "DAT_00028260 % DAT_0002814c" identifier % identifier)) )) + identifier)) ;) })) }) (else_clause "else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" else (if_statement "if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" if (parenthesized_expression "(DAT_00028138 == '\t')" ( (binary_expression "DAT_00028138 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }" { (expression_statement "iVar2 = (DAT_00028230 - DAT_00028128) + -1;" (assignment_expression "iVar2 = (DAT_00028230 - DAT_00028128) + -1" identifier = (binary_expression "(DAT_00028230 - DAT_00028128) + -1" (parenthesized_expression "(DAT_00028230 - DAT_00028128)" ( (binary_expression "DAT_00028230 - DAT_00028128" identifier - identifier) )) + number_literal)) ;) (if_statement "if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }" if (parenthesized_expression "(0 < DAT_00028230 - DAT_00028128)" ( (binary_expression "0 < DAT_00028230 - DAT_00028128" number_literal < (binary_expression "DAT_00028230 - DAT_00028128" identifier - identifier)) )) (compound_statement "{\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }" { (do_statement "do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);" do (compound_statement "{\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      }" { (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)*param_1)(0x20);" (call_expression "(*(code *)*param_1)(0x20)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(0x20)" ( number_literal ))) ;) }) while (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) ;) })) }) (else_clause "else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" else (compound_statement "{\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" { (expression_statement "(*(code *)*param_1)((int)DAT_00028138);" (call_expression "(*(code *)*param_1)((int)DAT_00028138)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "((int)DAT_00028138)" ( (cast_expression "(int)DAT_00028138" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }))))) (if_statement "if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }" if (parenthesized_expression "((DAT_00028275 != '\0') && (DAT_00028287 == '\0'))" ( (binary_expression "(DAT_00028275 != '\0') && (DAT_00028287 == '\0')" (parenthesized_expression "(DAT_00028275 != '\0')" ( (binary_expression "DAT_00028275 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(DAT_00028287 == '\0')" ( (binary_expression "DAT_00028287 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }" { (expression_statement "DAT_0002825c = DAT_0002825c + DAT_00028230;" (assignment_expression "DAT_0002825c = DAT_0002825c + DAT_00028230" identifier = (binary_expression "DAT_0002825c + DAT_00028230" identifier + identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - (binary_expression IDENT % IDENT)) )) + IDENT)) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000140b0(undefined4 *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000140b0(undefined4 *param_1)" (identifier "FUN_000140b0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);\n  DAT_00028238 = DAT_00028238 + 1;\n  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);\n  pcVar1 = pcVar3 + DAT_00028128;\n  if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }\n  if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }\n  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);" (assignment_expression "iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" (identifier "iVar2") (= "=") (call_expression "__sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" (identifier "__sprintf_chk") (argument_list "(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238)" (( "(") (identifier "DAT_0002822c") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&DAT_00020063" (& "&") (identifier "DAT_00020063")) (, ",") (identifier "DAT_00028128") (, ",") (identifier "DAT_00028238") () ")")))) (; ";")) (expression_statement "DAT_00028238 = DAT_00028238 + 1;" (assignment_expression "DAT_00028238 = DAT_00028238 + 1" (identifier "DAT_00028238") (= "=") (binary_expression "DAT_00028238 + 1" (identifier "DAT_00028238") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);" (assignment_expression "pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c)" (identifier "pcVar3") (= "=") (cast_expression "(char *)((iVar2 - DAT_00028128) + DAT_0002822c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar2 - DAT_00028128) + DAT_0002822c)" (( "(") (binary_expression "(iVar2 - DAT_00028128) + DAT_0002822c" (parenthesized_expression "(iVar2 - DAT_00028128)" (( "(") (binary_expression "iVar2 - DAT_00028128" (identifier "iVar2") (- "-") (identifier "DAT_00028128")) () ")")) (+ "+") (identifier "DAT_0002822c")) () ")")))) (; ";")) (expression_statement "pcVar1 = pcVar3 + DAT_00028128;" (assignment_expression "pcVar1 = pcVar3 + DAT_00028128" (identifier "pcVar1") (= "=") (binary_expression "pcVar3 + DAT_00028128" (identifier "pcVar3") (+ "+") (identifier "DAT_00028128"))) (; ";")) (if_statement "if (0 < DAT_00028128) {\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" (if "if") (parenthesized_expression "(0 < DAT_00028128)" (( "(") (binary_expression "0 < DAT_00028128" (number_literal "0") (< "<") (identifier "DAT_00028128")) () ")")) (compound_statement "{\n    do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);\n  }" ({ "{") (do_statement "do {\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    } while (pcVar4 != pcVar1);" (do "do") (compound_statement "{\n      pcVar4 = pcVar3 + 1;\n      (*(code *)*param_1)((int)*pcVar3);\n      pcVar3 = pcVar4;\n    }" ({ "{") (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)*param_1)((int)*pcVar3);" (call_expression "(*(code *)*param_1)((int)*pcVar3)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "((int)*pcVar3)" (( "(") (cast_expression "(int)*pcVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) () ")"))) (; ";")) (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" (identifier "pcVar3") (= "=") (identifier "pcVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar4 != pcVar1)" (( "(") (binary_expression "pcVar4 != pcVar1" (identifier "pcVar4") (!= "!=") (identifier "pcVar1")) () ")")) (; ";")) (} "}"))) (if_statement "if (DAT_00028148 < 2) {\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }\n  else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" (if "if") (parenthesized_expression "(DAT_00028148 < 2)" (( "(") (binary_expression "DAT_00028148 < 2" (identifier "DAT_00028148") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    (*(code *)*param_1)((int)DAT_00028138);\n    if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }\n  }" ({ "{") (expression_statement "(*(code *)*param_1)((int)DAT_00028138);" (call_expression "(*(code *)*param_1)((int)DAT_00028138)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "((int)DAT_00028138)" (( "(") (cast_expression "(int)DAT_00028138" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00028138")) () ")"))) (; ";")) (if_statement "if (DAT_00028138 == '\t') {\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }" (if "if") (parenthesized_expression "(DAT_00028138 == '\t')" (( "(") (binary_expression "DAT_00028138 == '\t'" (identifier "DAT_00028138") (== "==") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")")) (compound_statement "{\n      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;\n    }" ({ "{") (expression_statement "DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;" (assignment_expression "DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260" (identifier "DAT_00028260") (= "=") (binary_expression "(DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260" (parenthesized_expression "(DAT_0002814c - DAT_00028260 % DAT_0002814c)" (( "(") (binary_expression "DAT_0002814c - DAT_00028260 % DAT_0002814c" (identifier "DAT_0002814c") (- "-") (binary_expression "DAT_00028260 % DAT_0002814c" (identifier "DAT_00028260") (% "%") (identifier "DAT_0002814c"))) () ")")) (+ "+") (identifier "DAT_00028260"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" (else "else") (if_statement "if (DAT_00028138 == '\t') {\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }\n  else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" (if "if") (parenthesized_expression "(DAT_00028138 == '\t')" (( "(") (binary_expression "DAT_00028138 == '\t'" (identifier "DAT_00028138") (== "==") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")")) (compound_statement "{\n    iVar2 = (DAT_00028230 - DAT_00028128) + -1;\n    if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }\n  }" ({ "{") (expression_statement "iVar2 = (DAT_00028230 - DAT_00028128) + -1;" (assignment_expression "iVar2 = (DAT_00028230 - DAT_00028128) + -1" (identifier "iVar2") (= "=") (binary_expression "(DAT_00028230 - DAT_00028128) + -1" (parenthesized_expression "(DAT_00028230 - DAT_00028128)" (( "(") (binary_expression "DAT_00028230 - DAT_00028128" (identifier "DAT_00028230") (- "-") (identifier "DAT_00028128")) () ")")) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (0 < DAT_00028230 - DAT_00028128) {\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }" (if "if") (parenthesized_expression "(0 < DAT_00028230 - DAT_00028128)" (( "(") (binary_expression "0 < DAT_00028230 - DAT_00028128" (number_literal "0") (< "<") (binary_expression "DAT_00028230 - DAT_00028128" (identifier "DAT_00028230") (- "-") (identifier "DAT_00028128"))) () ")")) (compound_statement "{\n      do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);\n    }" ({ "{") (do_statement "do {\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      } while (iVar2 != -1);" (do "do") (compound_statement "{\n        iVar2 = iVar2 + -1;\n        (*(code *)*param_1)(0x20);\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(*(code *)*param_1)(0x20);" (call_expression "(*(code *)*param_1)(0x20)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != -1)" (( "(") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" (else "else") (compound_statement "{\n    (*(code *)*param_1)((int)DAT_00028138);\n  }" ({ "{") (expression_statement "(*(code *)*param_1)((int)DAT_00028138);" (call_expression "(*(code *)*param_1)((int)DAT_00028138)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "((int)DAT_00028138)" (( "(") (cast_expression "(int)DAT_00028138" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00028138")) () ")"))) (; ";")) (} "}")))))) (if_statement "if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }" (if "if") (parenthesized_expression "((DAT_00028275 != '\0') && (DAT_00028287 == '\0'))" (( "(") (binary_expression "(DAT_00028275 != '\0') && (DAT_00028287 == '\0')" (parenthesized_expression "(DAT_00028275 != '\0')" (( "(") (binary_expression "DAT_00028275 != '\0'" (identifier "DAT_00028275") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_00028287 == '\0')" (( "(") (binary_expression "DAT_00028287 == '\0'" (identifier "DAT_00028287") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    DAT_0002825c = DAT_0002825c + DAT_00028230;\n  }" ({ "{") (expression_statement "DAT_0002825c = DAT_0002825c + DAT_00028230;" (assignment_expression "DAT_0002825c = DAT_0002825c + DAT_00028230" (identifier "DAT_0002825c") (= "=") (binary_expression "DAT_0002825c + DAT_00028230" (identifier "DAT_0002825c") (+ "+") (identifier "DAT_00028230"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 function_1(type_1 *p)

{
  char *var_8;
  int var_4;
  char *var_6;
  char *var_7;
  
  var_4 = var_1(var_3,1,0xffffffff,&DAT_00020063,var_5,var_2);
  var_2 = var_2 + 1;
  var_6 = var_3 + (var_4 - var_5);
  var_8 = var_6 + var_5;
  if (0 < var_5) {
    do {
      var_7 = var_6 + 1;
      (*(type_2 *)p->fp)((int)*var_6);
      var_6 = var_7;
    } while (var_7 != var_8);
  }
  if (var_9 < 2) {
    (*(type_2 *)p->fp)((int)var_10);
    if (var_10 == '\t') {
      var_12 =
           (var_11 - var_12 % var_11) + var_12;
    }
  }
  else if (var_10 == '\t') {
    var_4 = (var_13 - var_5) + -1;
    if (0 < var_13 - var_5) {
      do {
        var_4 = var_4 + -1;
        (*(type_2 *)p->fp)(0x20);
      } while (var_4 != -1);
    }
  }
  else {
    (*(type_2 *)p->fp)((int)var_10);
  }
  if ((var_14 != false) && (var_15 == false)) {
    var_16 = var_16 + var_13;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier) (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) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) right: (identifier))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

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

void __regparm3 MASKED(undefined4 *param_1)

{
  char *pcVar1;
  int iVar2;
  char *pcVar3;
  char *pcVar4;
  
  iVar2 = __sprintf_chk(DAT_0002822c,1,0xffffffff,&DAT_00020063,DAT_00028128,DAT_00028238);
  DAT_00028238 = DAT_00028238 + 1;
  pcVar3 = (char *)((iVar2 - DAT_00028128) + DAT_0002822c);
  pcVar1 = pcVar3 + DAT_00028128;
  if (0 < DAT_00028128) {
    do {
      pcVar4 = pcVar3 + 1;
      (*(code *)*param_1)((int)*pcVar3);
      pcVar3 = pcVar4;
    } while (pcVar4 != pcVar1);
  }
  if (DAT_00028148 < 2) {
    (*(code *)*param_1)((int)DAT_00028138);
    if (DAT_00028138 == '\t') {
      DAT_00028260 = (DAT_0002814c - DAT_00028260 % DAT_0002814c) + DAT_00028260;
    }
  }
  else if (DAT_00028138 == '\t') {
    iVar2 = (DAT_00028230 - DAT_00028128) + -1;
    if (0 < DAT_00028230 - DAT_00028128) {
      do {
        iVar2 = iVar2 + -1;
        (*(code *)*param_1)(0x20);
      } while (iVar2 != -1);
    }
  }
  else {
    (*(code *)*param_1)((int)DAT_00028138);
  }
  if ((DAT_00028275 != '\0') && (DAT_00028287 == '\0')) {
    DAT_0002825c = DAT_0002825c + DAT_00028230;
  }
  return;
}

