
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

char * __regparm3 get_mri_string(int terminator,int *len)

{
  byte *pbVar1;
  byte bVar2;
  byte *pbVar3;
  int iVar4;
  byte *pbVar5;
  
  bVar2 = *input_line_pointer;
  pbVar1 = (byte *)input_line_pointer;
  if (bVar2 == 0x20) {
    pbVar1 = (byte *)(input_line_pointer + 1);
    bVar2 = input_line_pointer[1];
  }
  if (bVar2 == 0x27) {
    pbVar3 = pbVar1 + 1;
    input_line_pointer = (char *)pbVar3;
    while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {
      while( true ) {
        pbVar3 = pbVar5 + 1;
        bVar2 = *input_line_pointer;
        input_line_pointer = (char *)((byte *)input_line_pointer + 1);
        *pbVar5 = bVar2;
        if (bVar2 != 0x27) break;
        bVar2 = *input_line_pointer;
        if (bVar2 != 0x27) goto LAB_00018718;
        input_line_pointer = input_line_pointer + 1;
        bVar2 = *input_line_pointer;
        pbVar5 = pbVar3;
        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;
      }
    }
LAB_00018718:
    iVar4 = (int)pbVar3 - (int)pbVar1;
    if (bVar2 == 0x20) {
      input_line_pointer = input_line_pointer + 1;
      *len = iVar4;
      return (char *)pbVar1;
    }
LAB_000186af:
    *len = iVar4;
    return (char *)pbVar1;
  }
  input_line_pointer = (char *)pbVar1;
  if ((terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0')) {
    do {
      input_line_pointer = (char *)((byte *)input_line_pointer + 1);
      if (*input_line_pointer == terminator) break;
    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');
    pbVar3 = (byte *)input_line_pointer;
    if (input_line_pointer <= pbVar1) {
LAB_000186ad:
      iVar4 = (int)pbVar3 - (int)pbVar1;
      goto LAB_000186af;
    }
    do {
      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;
      pbVar3 = pbVar3 + -1;
    } while (pbVar3 != pbVar1);
  }
  *len = 0;
  return (char *)pbVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 FUN_00018610(int param_1,int *param_2)

{
  byte bVar1;
  byte *pbVar2;
  byte *pbVar3;
  int iVar4;
  byte *pbVar5;
  
  bVar1 = *DAT_00089978;
  if (bVar1 == 0x20) {
    bVar1 = DAT_00089978[1];
    DAT_00089978 = DAT_00089978 + 1;
  }
  pbVar2 = DAT_00089978;
  if (bVar1 == 0x27) {
    pbVar3 = DAT_00089978 + 1;
    DAT_00089978 = pbVar3;
    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {
      while( true ) {
        pbVar3 = pbVar5 + 1;
        bVar1 = *DAT_00089978;
        DAT_00089978 = DAT_00089978 + 1;
        *pbVar5 = bVar1;
        if (bVar1 != 0x27) break;
        bVar1 = *DAT_00089978;
        if (bVar1 != 0x27) goto LAB_00018718;
        DAT_00089978 = DAT_00089978 + 1;
        bVar1 = *DAT_00089978;
        pbVar5 = pbVar3;
        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;
      }
    }
LAB_00018718:
    iVar4 = (int)pbVar3 - (int)pbVar2;
    if (bVar1 == 0x20) {
      DAT_00089978 = DAT_00089978 + 1;
      *param_2 = iVar4;
      return;
    }
LAB_000186af:
    *param_2 = iVar4;
    return;
  }
  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {
    do {
      pbVar2 = pbVar2 + 1;
      if ((char)*pbVar2 == param_1) break;
    } while ((&DAT_000802c0)[*pbVar2] == '\0');
    pbVar3 = pbVar2;
    if (pbVar2 <= DAT_00089978) {
LAB_000186ad:
      iVar4 = (int)pbVar3 - (int)DAT_00089978;
      DAT_00089978 = pbVar2;
      goto LAB_000186af;
    }
    do {
      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;
      pbVar3 = pbVar3 + -1;
    } while (pbVar3 != DAT_00089978);
  }
  DAT_00089978 = pbVar2;
  *param_2 = 0;
  return;
}


CALL 0x00019a25
ADD ECX,0x679eb
PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x8
LEA ESI,[ECX + 0x9978]
MOV dword ptr [ESP],EDX
MOV EAX,dword ptr [ESI]
MOVZX EDX,byte ptr [EAX]
CMP DL,0x20
JNZ 0x00018642
LEA EBX,[EAX + 0x1]
MOV dword ptr [ESI],EBX
MOVZX EDX,byte ptr [EAX + 0x1]
MOV EAX,EBX
CMP DL,0x27
JZ 0x000186d0
MOVSX EBX,DL
CMP EBP,EBX
JZ 0x000186c0
LEA EDI,[ECX + 0x2c0]
MOVZX EDX,DL
LEA ECX,[EAX + 0x1]
CMP byte ptr [EDI + EDX*0x1],0x0
JNZ 0x000186c0
MOV dword ptr [ESP + 0x4],EAX
JMP 0x0001867c
MOVZX EAX,BL
ADD ECX,0x1
CMP byte ptr [EDI + EAX*0x1],0x0
JNZ 0x00018687
MOV dword ptr [ESI],ECX
MOVSX EBX,byte ptr [ECX]
MOV EDX,ECX
CMP EBX,EBP
JNZ 0x00018670
MOV EAX,dword ptr [ESP + 0x4]
CMP EDX,EAX
JA 0x0001869f
JMP 0x000186ad
SUB EDX,0x1
CMP EDX,EAX
JZ 0x000186c0
MOVZX ECX,byte ptr [EDX + -0x1]
CMP CL,0x20
JZ 0x00018698
CMP CL,0x9
JZ 0x00018698
SUB EDX,EAX
MOV EDI,dword ptr [ESP]
MOV dword ptr [EDI],EDX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [ESP]
XOR EDX,EDX
MOV dword ptr [EDI],EDX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EAX + 0x1]
LEA EDI,[ECX + 0x2c0]
MOV dword ptr [ESI],EDX
MOV EBX,EDX
LEA ESI,[ESI]
MOVZX EBP,byte ptr [EBX]
CMP byte ptr [EDI + EBP*0x1],0x0
MOV ECX,EBP
JNZ 0x00018718
LEA ECX,[EBX + 0x1]
ADD EDX,0x1
MOV dword ptr [ESI],ECX
MOVZX ECX,byte ptr [EBX]
MOV byte ptr [EDX + -0x1],CL
MOV EBX,dword ptr [ESI]
CMP CL,0x27
JNZ 0x000186e0
MOVZX ECX,byte ptr [EBX]
CMP CL,0x27
JNZ 0x00018718
ADD EBX,0x1
MOV dword ptr [ESI],EBX
MOVZX EBP,byte ptr [EBX]
CMP byte ptr [EDI + EBP*0x1],0x0
MOV ECX,EBP
JZ 0x000186eb
SUB EDX,EAX
CMP CL,0x20
JNZ 0x000186af
MOV EDI,dword ptr [ESP]
ADD EBX,0x1
MOV dword ptr [ESI],EBX
MOV dword ptr [EDI],EDX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid __regparm3 FUN_00018610(int param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00018610(int param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018610(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (if_statement "if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" if (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" { (expression_statement "bVar1 = DAT_00089978[1];" (assignment_expression "bVar1 = DAT_00089978[1]" identifier = (subscript_expression "DAT_00089978[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar2 = DAT_00089978;" (assignment_expression "pbVar2 = DAT_00089978" identifier = identifier) ;) (if_statement "if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }" if (parenthesized_expression "(bVar1 == 0x27)" ( (binary_expression "bVar1 == 0x27" identifier == number_literal) )) (compound_statement "{\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }" { (expression_statement "pbVar3 = DAT_00089978 + 1;" (assignment_expression "pbVar3 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "DAT_00089978 = pbVar3;" (assignment_expression "DAT_00089978 = pbVar3" identifier = identifier) ;) (while_statement "while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }" while (parenthesized_expression "(bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0')" ( (comma_expression "bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0'" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) , (comma_expression "pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0'" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) , (binary_expression "(&DAT_000802c0)[bVar1] == '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')))) )) (compound_statement "{\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }" { (while_statement "while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }" { (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar5 = bVar1;" (assignment_expression "*pbVar5 = bVar1" (pointer_expression "*pbVar5" * identifier) = identifier) ;) (if_statement "if (bVar1 != 0x27) break;" if (parenthesized_expression "(bVar1 != 0x27)" ( (binary_expression "bVar1 != 0x27" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (if_statement "if (bVar1 != 0x27) goto LAB_00018718;" if (parenthesized_expression "(bVar1 != 0x27)" ( (binary_expression "bVar1 != 0x27" identifier != number_literal) )) (goto_statement "goto LAB_00018718;" goto statement_identifier ;)) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) ;) (if_statement "if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;" if (parenthesized_expression "((&DAT_000802c0)[bVar1] != '\0')" ( (binary_expression "(&DAT_000802c0)[bVar1] != '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00018718;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;" statement_identifier : (expression_statement "iVar4 = (int)pbVar3 - (int)pbVar2;" (assignment_expression "iVar4 = (int)pbVar3 - (int)pbVar2" identifier = (binary_expression "(int)pbVar3 - (int)pbVar2" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (if_statement "if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }" if (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }" { (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_000186af:\n    *param_2 = iVar4;" statement_identifier : (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;)) (return_statement "return;" return ;) })) (if_statement "if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }" if (parenthesized_expression "((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0'))" ( (binary_expression "(param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')" (parenthesized_expression "(param_1 != (char)bVar1)" ( (binary_expression "param_1 != (char)bVar1" identifier != (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) )) && (parenthesized_expression "((&DAT_000802c0)[bVar1] == '\0')" ( (binary_expression "(&DAT_000802c0)[bVar1] == '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }" { (do_statement "do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');" do (compound_statement "{\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    }" { (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((char)*pbVar2 == param_1) break;" if (parenthesized_expression "((char)*pbVar2 == param_1)" ( (binary_expression "(char)*pbVar2 == param_1" (cast_expression "(char)*pbVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar2" * identifier)) == identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "((&DAT_000802c0)[*pbVar2] == '\0')" ( (binary_expression "(&DAT_000802c0)[*pbVar2] == '\0'" (subscript_expression "(&DAT_000802c0)[*pbVar2]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ (pointer_expression "*pbVar2" * identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pbVar3 = pbVar2;" (assignment_expression "pbVar3 = pbVar2" identifier = identifier) ;) (if_statement "if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }" if (parenthesized_expression "(pbVar2 <= DAT_00089978)" ( (binary_expression "pbVar2 <= DAT_00089978" identifier <= identifier) )) (compound_statement "{\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }" { (labeled_statement "LAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;" statement_identifier : (expression_statement "iVar4 = (int)pbVar3 - (int)DAT_00089978;" (assignment_expression "iVar4 = (int)pbVar3 - (int)DAT_00089978" identifier = (binary_expression "(int)pbVar3 - (int)DAT_00089978" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_00089978" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "DAT_00089978 = pbVar2;" (assignment_expression "DAT_00089978 = pbVar2" identifier = identifier) ;) (goto_statement "goto LAB_000186af;" goto statement_identifier ;) })) (do_statement "do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);" do (compound_statement "{\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    }" { (if_statement "if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;" if (parenthesized_expression "((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9))" ( (binary_expression "(pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)" (parenthesized_expression "(pbVar3[-1] != 0x20)" ( (binary_expression "pbVar3[-1] != 0x20" (subscript_expression "pbVar3[-1]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(pbVar3[-1] != 9)" ( (binary_expression "pbVar3[-1] != 9" (subscript_expression "pbVar3[-1]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_000186ad;" goto statement_identifier ;)) (expression_statement "pbVar3 = pbVar3 + -1;" (assignment_expression "pbVar3 = pbVar3 + -1" identifier = (binary_expression "pbVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar3 != DAT_00089978)" ( (binary_expression "pbVar3 != DAT_00089978" identifier != identifier) )) ;) })) (expression_statement "DAT_00089978 = pbVar2;" (assignment_expression "DAT_00089978 = pbVar2" identifier = identifier) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nchar * __regparm3 get_mri_string(int terminator,int *len)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar2 = *input_line_pointer;\n  pbVar1 = (byte *)input_line_pointer;\n  if (bVar2 == 0x20) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n  }\n  if (bVar2 == 0x27) {\n    pbVar3 = pbVar1 + 1;\n    input_line_pointer = (char *)pbVar3;\n    while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar1;\n    if (bVar2 == 0x20) {\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }\nLAB_000186af:\n    *len = iVar4;\n    return (char *)pbVar1;\n  }\n  input_line_pointer = (char *)pbVar1;\n  if ((terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0')) {\n    do {\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');\n    pbVar3 = (byte *)input_line_pointer;\n    if (input_line_pointer <= pbVar1) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != pbVar1);\n  }\n  *len = 0;\n  return (char *)pbVar1;\n}\n\n" comment (function_definition "char * __regparm3 get_mri_string(int terminator,int *len)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar2 = *input_line_pointer;\n  pbVar1 = (byte *)input_line_pointer;\n  if (bVar2 == 0x20) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n  }\n  if (bVar2 == 0x27) {\n    pbVar3 = pbVar1 + 1;\n    input_line_pointer = (char *)pbVar3;\n    while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar1;\n    if (bVar2 == 0x20) {\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }\nLAB_000186af:\n    *len = iVar4;\n    return (char *)pbVar1;\n  }\n  input_line_pointer = (char *)pbVar1;\n  if ((terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0')) {\n    do {\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');\n    pbVar3 = (byte *)input_line_pointer;\n    if (input_line_pointer <= pbVar1) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != pbVar1);\n  }\n  *len = 0;\n  return (char *)pbVar1;\n}" primitive_type (pointer_declarator "* __regparm3 get_mri_string(int terminator,int *len)" * (ERROR "__regparm3" identifier) (function_declarator "get_mri_string(int terminator,int *len)" identifier (parameter_list "(int terminator,int *len)" ( (parameter_declaration "int terminator" primitive_type identifier) , (parameter_declaration "int *len" primitive_type (pointer_declarator "*len" * identifier)) )))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar2 = *input_line_pointer;\n  pbVar1 = (byte *)input_line_pointer;\n  if (bVar2 == 0x20) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n  }\n  if (bVar2 == 0x27) {\n    pbVar3 = pbVar1 + 1;\n    input_line_pointer = (char *)pbVar3;\n    while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar1;\n    if (bVar2 == 0x20) {\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }\nLAB_000186af:\n    *len = iVar4;\n    return (char *)pbVar1;\n  }\n  input_line_pointer = (char *)pbVar1;\n  if ((terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0')) {\n    do {\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');\n    pbVar3 = (byte *)input_line_pointer;\n    if (input_line_pointer <= pbVar1) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != pbVar1);\n  }\n  *len = 0;\n  return (char *)pbVar1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "pbVar1 = (byte *)input_line_pointer;" (assignment_expression "pbVar1 = (byte *)input_line_pointer" identifier = (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (bVar2 == 0x20) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n  }" { (expression_statement "pbVar1 = (byte *)(input_line_pointer + 1);" (assignment_expression "pbVar1 = (byte *)(input_line_pointer + 1)" identifier = (cast_expression "(byte *)(input_line_pointer + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(input_line_pointer + 1)" ( (binary_expression "input_line_pointer + 1" identifier + number_literal) )))) ;) (expression_statement "bVar2 = input_line_pointer[1];" (assignment_expression "bVar2 = input_line_pointer[1]" identifier = (subscript_expression "input_line_pointer[1]" identifier [ number_literal ])) ;) })) (if_statement "if (bVar2 == 0x27) {\n    pbVar3 = pbVar1 + 1;\n    input_line_pointer = (char *)pbVar3;\n    while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar1;\n    if (bVar2 == 0x20) {\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }\nLAB_000186af:\n    *len = iVar4;\n    return (char *)pbVar1;\n  }" if (parenthesized_expression "(bVar2 == 0x27)" ( (binary_expression "bVar2 == 0x27" identifier == number_literal) )) (compound_statement "{\n    pbVar3 = pbVar1 + 1;\n    input_line_pointer = (char *)pbVar3;\n    while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar1;\n    if (bVar2 == 0x20) {\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }\nLAB_000186af:\n    *len = iVar4;\n    return (char *)pbVar1;\n  }" { (expression_statement "pbVar3 = pbVar1 + 1;" (assignment_expression "pbVar3 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) (expression_statement "input_line_pointer = (char *)pbVar3;" (assignment_expression "input_line_pointer = (char *)pbVar3" identifier = (cast_expression "(char *)pbVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }" while (parenthesized_expression "(bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0')" ( (comma_expression "bVar2 = *input_line_pointer, pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0'" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) , (comma_expression "pbVar5 = pbVar3, is_end_of_line[bVar2] == '\0'" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) , (binary_expression "is_end_of_line[bVar2] == '\0'" (subscript_expression "is_end_of_line[bVar2]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')))) )) (compound_statement "{\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }\n    }" { (while_statement "while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar3 = pbVar5 + 1;\n        bVar2 = *input_line_pointer;\n        input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n        *pbVar5 = bVar2;\n        if (bVar2 != 0x27) break;\n        bVar2 = *input_line_pointer;\n        if (bVar2 != 0x27) goto LAB_00018718;\n        input_line_pointer = input_line_pointer + 1;\n        bVar2 = *input_line_pointer;\n        pbVar5 = pbVar3;\n        if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;\n      }" { (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "input_line_pointer = (char *)((byte *)input_line_pointer + 1);" (assignment_expression "input_line_pointer = (char *)((byte *)input_line_pointer + 1)" identifier = (cast_expression "(char *)((byte *)input_line_pointer + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)input_line_pointer + 1)" ( (binary_expression "(byte *)input_line_pointer + 1" (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "*pbVar5 = bVar2;" (assignment_expression "*pbVar5 = bVar2" (pointer_expression "*pbVar5" * identifier) = identifier) ;) (if_statement "if (bVar2 != 0x27) break;" if (parenthesized_expression "(bVar2 != 0x27)" ( (binary_expression "bVar2 != 0x27" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (if_statement "if (bVar2 != 0x27) goto LAB_00018718;" if (parenthesized_expression "(bVar2 != 0x27)" ( (binary_expression "bVar2 != 0x27" identifier != number_literal) )) (goto_statement "goto LAB_00018718;" goto statement_identifier ;)) (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) ;) (if_statement "if (is_end_of_line[bVar2] != '\0') goto LAB_00018718;" if (parenthesized_expression "(is_end_of_line[bVar2] != '\0')" ( (binary_expression "is_end_of_line[bVar2] != '\0'" (subscript_expression "is_end_of_line[bVar2]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00018718;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar1;" statement_identifier : (expression_statement "iVar4 = (int)pbVar3 - (int)pbVar1;" (assignment_expression "iVar4 = (int)pbVar3 - (int)pbVar1" identifier = (binary_expression "(int)pbVar3 - (int)pbVar1" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (if_statement "if (bVar2 == 0x20) {\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n      input_line_pointer = input_line_pointer + 1;\n      *len = iVar4;\n      return (char *)pbVar1;\n    }" { (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "*len = iVar4;" (assignment_expression "*len = iVar4" (pointer_expression "*len" * identifier) = identifier) ;) (return_statement "return (char *)pbVar1;" return (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (labeled_statement "LAB_000186af:\n    *len = iVar4;" statement_identifier : (expression_statement "*len = iVar4;" (assignment_expression "*len = iVar4" (pointer_expression "*len" * identifier) = identifier) ;)) (return_statement "return (char *)pbVar1;" return (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "input_line_pointer = (char *)pbVar1;" (assignment_expression "input_line_pointer = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0')) {\n    do {\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');\n    pbVar3 = (byte *)input_line_pointer;\n    if (input_line_pointer <= pbVar1) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != pbVar1);\n  }" if (parenthesized_expression "((terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0'))" ( (binary_expression "(terminator != (char)bVar2) && (is_end_of_line[bVar2] == '\0')" (parenthesized_expression "(terminator != (char)bVar2)" ( (binary_expression "terminator != (char)bVar2" identifier != (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) && (parenthesized_expression "(is_end_of_line[bVar2] == '\0')" ( (binary_expression "is_end_of_line[bVar2] == '\0'" (subscript_expression "is_end_of_line[bVar2]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    do {\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');\n    pbVar3 = (byte *)input_line_pointer;\n    if (input_line_pointer <= pbVar1) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != pbVar1);\n  }" { (do_statement "do {\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    } while (is_end_of_line[(byte)*input_line_pointer] == '\0');" do (compound_statement "{\n      input_line_pointer = (char *)((byte *)input_line_pointer + 1);\n      if (*input_line_pointer == terminator) break;\n    }" { (expression_statement "input_line_pointer = (char *)((byte *)input_line_pointer + 1);" (assignment_expression "input_line_pointer = (char *)((byte *)input_line_pointer + 1)" identifier = (cast_expression "(char *)((byte *)input_line_pointer + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)input_line_pointer + 1)" ( (binary_expression "(byte *)input_line_pointer + 1" (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (if_statement "if (*input_line_pointer == terminator) break;" if (parenthesized_expression "(*input_line_pointer == terminator)" ( (binary_expression "*input_line_pointer == terminator" (pointer_expression "*input_line_pointer" * identifier) == identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(is_end_of_line[(byte)*input_line_pointer] == '\0')" ( (binary_expression "is_end_of_line[(byte)*input_line_pointer] == '\0'" (subscript_expression "is_end_of_line[(byte)*input_line_pointer]" identifier [ (binary_expression "(byte)*input_line_pointer" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pbVar3 = (byte *)input_line_pointer;" (assignment_expression "pbVar3 = (byte *)input_line_pointer" identifier = (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (input_line_pointer <= pbVar1) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }" if (parenthesized_expression "(input_line_pointer <= pbVar1)" ( (binary_expression "input_line_pointer <= pbVar1" identifier <= identifier) )) (compound_statement "{\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;\n      goto LAB_000186af;\n    }" { (labeled_statement "LAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)pbVar1;" statement_identifier : (expression_statement "iVar4 = (int)pbVar3 - (int)pbVar1;" (assignment_expression "iVar4 = (int)pbVar3 - (int)pbVar1" identifier = (binary_expression "(int)pbVar3 - (int)pbVar1" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (goto_statement "goto LAB_000186af;" goto statement_identifier ;) })) (do_statement "do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != pbVar1);" do (compound_statement "{\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    }" { (if_statement "if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;" if (parenthesized_expression "((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9))" ( (binary_expression "(pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)" (parenthesized_expression "(pbVar3[-1] != 0x20)" ( (binary_expression "pbVar3[-1] != 0x20" (subscript_expression "pbVar3[-1]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(pbVar3[-1] != 9)" ( (binary_expression "pbVar3[-1] != 9" (subscript_expression "pbVar3[-1]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_000186ad;" goto statement_identifier ;)) (expression_statement "pbVar3 = pbVar3 + -1;" (assignment_expression "pbVar3 = pbVar3 + -1" identifier = (binary_expression "pbVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar3 != pbVar1)" ( (binary_expression "pbVar3 != pbVar1" identifier != identifier) )) ;) })) (expression_statement "*len = 0;" (assignment_expression "*len = 0" (pointer_expression "*len" * identifier) = number_literal) ;) (return_statement "return (char *)pbVar1;" return (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "void __regparm3 FUN_00018610(int param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00018610(int param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018610(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (if_statement "if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" if (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" { (expression_statement "bVar1 = DAT_00089978[1];" (assignment_expression "bVar1 = DAT_00089978[1]" identifier = (subscript_expression "DAT_00089978[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar2 = DAT_00089978;" (assignment_expression "pbVar2 = DAT_00089978" identifier = identifier) ;) (if_statement "if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }" if (parenthesized_expression "(bVar1 == 0x27)" ( (binary_expression "bVar1 == 0x27" identifier == number_literal) )) (compound_statement "{\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }" { (expression_statement "pbVar3 = DAT_00089978 + 1;" (assignment_expression "pbVar3 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "DAT_00089978 = pbVar3;" (assignment_expression "DAT_00089978 = pbVar3" identifier = identifier) ;) (while_statement "while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }" while (parenthesized_expression "(bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0')" ( (comma_expression "bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0'" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) , (comma_expression "pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0'" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) , (binary_expression "(&DAT_000802c0)[bVar1] == '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')))) )) (compound_statement "{\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }" { (while_statement "while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }" { (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar5 = bVar1;" (assignment_expression "*pbVar5 = bVar1" (pointer_expression "*pbVar5" * identifier) = identifier) ;) (if_statement "if (bVar1 != 0x27) break;" if (parenthesized_expression "(bVar1 != 0x27)" ( (binary_expression "bVar1 != 0x27" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (if_statement "if (bVar1 != 0x27) goto LAB_00018718;" if (parenthesized_expression "(bVar1 != 0x27)" ( (binary_expression "bVar1 != 0x27" identifier != number_literal) )) (goto_statement "goto LAB_00018718;" goto statement_identifier ;)) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) ;) (if_statement "if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;" if (parenthesized_expression "((&DAT_000802c0)[bVar1] != '\0')" ( (binary_expression "(&DAT_000802c0)[bVar1] != '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00018718;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;" statement_identifier : (expression_statement "iVar4 = (int)pbVar3 - (int)pbVar2;" (assignment_expression "iVar4 = (int)pbVar3 - (int)pbVar2" identifier = (binary_expression "(int)pbVar3 - (int)pbVar2" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (if_statement "if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }" if (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }" { (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_000186af:\n    *param_2 = iVar4;" statement_identifier : (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;)) (return_statement "return;" return ;) })) (if_statement "if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }" if (parenthesized_expression "((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0'))" ( (binary_expression "(param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')" (parenthesized_expression "(param_1 != (char)bVar1)" ( (binary_expression "param_1 != (char)bVar1" identifier != (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) )) && (parenthesized_expression "((&DAT_000802c0)[bVar1] == '\0')" ( (binary_expression "(&DAT_000802c0)[bVar1] == '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }" { (do_statement "do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');" do (compound_statement "{\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    }" { (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((char)*pbVar2 == param_1) break;" if (parenthesized_expression "((char)*pbVar2 == param_1)" ( (binary_expression "(char)*pbVar2 == param_1" (cast_expression "(char)*pbVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar2" * identifier)) == identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "((&DAT_000802c0)[*pbVar2] == '\0')" ( (binary_expression "(&DAT_000802c0)[*pbVar2] == '\0'" (subscript_expression "(&DAT_000802c0)[*pbVar2]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ (pointer_expression "*pbVar2" * identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pbVar3 = pbVar2;" (assignment_expression "pbVar3 = pbVar2" identifier = identifier) ;) (if_statement "if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }" if (parenthesized_expression "(pbVar2 <= DAT_00089978)" ( (binary_expression "pbVar2 <= DAT_00089978" identifier <= identifier) )) (compound_statement "{\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }" { (labeled_statement "LAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;" statement_identifier : (expression_statement "iVar4 = (int)pbVar3 - (int)DAT_00089978;" (assignment_expression "iVar4 = (int)pbVar3 - (int)DAT_00089978" identifier = (binary_expression "(int)pbVar3 - (int)DAT_00089978" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_00089978" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "DAT_00089978 = pbVar2;" (assignment_expression "DAT_00089978 = pbVar2" identifier = identifier) ;) (goto_statement "goto LAB_000186af;" goto statement_identifier ;) })) (do_statement "do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);" do (compound_statement "{\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    }" { (if_statement "if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;" if (parenthesized_expression "((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9))" ( (binary_expression "(pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)" (parenthesized_expression "(pbVar3[-1] != 0x20)" ( (binary_expression "pbVar3[-1] != 0x20" (subscript_expression "pbVar3[-1]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(pbVar3[-1] != 9)" ( (binary_expression "pbVar3[-1] != 9" (subscript_expression "pbVar3[-1]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_000186ad;" goto statement_identifier ;)) (expression_statement "pbVar3 = pbVar3 + -1;" (assignment_expression "pbVar3 = pbVar3 + -1" identifier = (binary_expression "pbVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar3 != DAT_00089978)" ( (binary_expression "pbVar3 != DAT_00089978" identifier != identifier) )) ;) })) (expression_statement "DAT_00089978 = pbVar2;" (assignment_expression "DAT_00089978 = pbVar2" identifier = identifier) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')))) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) == IDENT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) == (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00018610(int param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018610(int param_1,int *param_2)" (identifier "FUN_00018610") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  bVar1 = *DAT_00089978;\n  if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  pbVar2 = DAT_00089978;\n  if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }\n  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }\n  DAT_00089978 = pbVar2;\n  *param_2 = 0;\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" (identifier "bVar1") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (if_statement "if (bVar1 == 0x20) {\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x20)" (( "(") (binary_expression "bVar1 == 0x20" (identifier "bVar1") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    bVar1 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" ({ "{") (expression_statement "bVar1 = DAT_00089978[1];" (assignment_expression "bVar1 = DAT_00089978[1]" (identifier "bVar1") (= "=") (subscript_expression "DAT_00089978[1]" (identifier "DAT_00089978") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" (identifier "DAT_00089978") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pbVar2 = DAT_00089978;" (assignment_expression "pbVar2 = DAT_00089978" (identifier "pbVar2") (= "=") (identifier "DAT_00089978")) (; ";")) (if_statement "if (bVar1 == 0x27) {\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x27)" (( "(") (binary_expression "bVar1 == 0x27" (identifier "bVar1") (== "==") (number_literal "0x27")) () ")")) (compound_statement "{\n    pbVar3 = DAT_00089978 + 1;\n    DAT_00089978 = pbVar3;\n    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }\nLAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;\n    if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }\nLAB_000186af:\n    *param_2 = iVar4;\n    return;\n  }" ({ "{") (expression_statement "pbVar3 = DAT_00089978 + 1;" (assignment_expression "pbVar3 = DAT_00089978 + 1" (identifier "pbVar3") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_00089978 = pbVar3;" (assignment_expression "DAT_00089978 = pbVar3" (identifier "DAT_00089978") (= "=") (identifier "pbVar3")) (; ";")) (while_statement "while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }" (while "while") (parenthesized_expression "(bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0')" (( "(") (comma_expression "bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0'" (assignment_expression "bVar1 = *DAT_00089978" (identifier "bVar1") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (, ",") (comma_expression "pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0'" (assignment_expression "pbVar5 = pbVar3" (identifier "pbVar5") (= "=") (identifier "pbVar3")) (, ",") (binary_expression "(&DAT_000802c0)[bVar1] == '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" (( "(") (pointer_expression "&DAT_000802c0" (& "&") (identifier "DAT_000802c0")) () ")")) ([ "[") (identifier "bVar1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))))) () ")")) (compound_statement "{\n      while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pbVar3 = pbVar5 + 1;\n        bVar1 = *DAT_00089978;\n        DAT_00089978 = DAT_00089978 + 1;\n        *pbVar5 = bVar1;\n        if (bVar1 != 0x27) break;\n        bVar1 = *DAT_00089978;\n        if (bVar1 != 0x27) goto LAB_00018718;\n        DAT_00089978 = DAT_00089978 + 1;\n        bVar1 = *DAT_00089978;\n        pbVar5 = pbVar3;\n        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;\n      }" ({ "{") (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" (identifier "bVar1") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" (identifier "DAT_00089978") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar5 = bVar1;" (assignment_expression "*pbVar5 = bVar1" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (= "=") (identifier "bVar1")) (; ";")) (if_statement "if (bVar1 != 0x27) break;" (if "if") (parenthesized_expression "(bVar1 != 0x27)" (( "(") (binary_expression "bVar1 != 0x27" (identifier "bVar1") (!= "!=") (number_literal "0x27")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" (identifier "bVar1") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (if_statement "if (bVar1 != 0x27) goto LAB_00018718;" (if "if") (parenthesized_expression "(bVar1 != 0x27)" (( "(") (binary_expression "bVar1 != 0x27" (identifier "bVar1") (!= "!=") (number_literal "0x27")) () ")")) (goto_statement "goto LAB_00018718;" (goto "goto") (statement_identifier "LAB_00018718") (; ";"))) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" (identifier "DAT_00089978") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *DAT_00089978;" (assignment_expression "bVar1 = *DAT_00089978" (identifier "bVar1") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" (identifier "pbVar5") (= "=") (identifier "pbVar3")) (; ";")) (if_statement "if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;" (if "if") (parenthesized_expression "((&DAT_000802c0)[bVar1] != '\0')" (( "(") (binary_expression "(&DAT_000802c0)[bVar1] != '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" (( "(") (pointer_expression "&DAT_000802c0" (& "&") (identifier "DAT_000802c0")) () ")")) ([ "[") (identifier "bVar1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00018718;" (goto "goto") (statement_identifier "LAB_00018718") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00018718:\n    iVar4 = (int)pbVar3 - (int)pbVar2;" (statement_identifier "LAB_00018718") (: ":") (expression_statement "iVar4 = (int)pbVar3 - (int)pbVar2;" (assignment_expression "iVar4 = (int)pbVar3 - (int)pbVar2" (identifier "iVar4") (= "=") (binary_expression "(int)pbVar3 - (int)pbVar2" (cast_expression "(int)pbVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar3")) (- "-") (cast_expression "(int)pbVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar2")))) (; ";"))) (if_statement "if (bVar1 == 0x20) {\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }" (if "if") (parenthesized_expression "(bVar1 == 0x20)" (( "(") (binary_expression "bVar1 == 0x20" (identifier "bVar1") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      DAT_00089978 = DAT_00089978 + 1;\n      *param_2 = iVar4;\n      return;\n    }" ({ "{") (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" (identifier "DAT_00089978") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_000186af:\n    *param_2 = iVar4;" (statement_identifier "LAB_000186af") (: ":") (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar4")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }" (if "if") (parenthesized_expression "((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0'))" (( "(") (binary_expression "(param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')" (parenthesized_expression "(param_1 != (char)bVar1)" (( "(") (binary_expression "param_1 != (char)bVar1" (identifier "param_1") (!= "!=") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1"))) () ")")) (&& "&&") (parenthesized_expression "((&DAT_000802c0)[bVar1] == '\0')" (( "(") (binary_expression "(&DAT_000802c0)[bVar1] == '\0'" (subscript_expression "(&DAT_000802c0)[bVar1]" (parenthesized_expression "(&DAT_000802c0)" (( "(") (pointer_expression "&DAT_000802c0" (& "&") (identifier "DAT_000802c0")) () ")")) ([ "[") (identifier "bVar1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');\n    pbVar3 = pbVar2;\n    if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }\n    do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);\n  }" ({ "{") (do_statement "do {\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    } while ((&DAT_000802c0)[*pbVar2] == '\0');" (do "do") (compound_statement "{\n      pbVar2 = pbVar2 + 1;\n      if ((char)*pbVar2 == param_1) break;\n    }" ({ "{") (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" (identifier "pbVar2") (= "=") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((char)*pbVar2 == param_1) break;" (if "if") (parenthesized_expression "((char)*pbVar2 == param_1)" (( "(") (binary_expression "(char)*pbVar2 == param_1" (cast_expression "(char)*pbVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2"))) (== "==") (identifier "param_1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "((&DAT_000802c0)[*pbVar2] == '\0')" (( "(") (binary_expression "(&DAT_000802c0)[*pbVar2] == '\0'" (subscript_expression "(&DAT_000802c0)[*pbVar2]" (parenthesized_expression "(&DAT_000802c0)" (( "(") (pointer_expression "&DAT_000802c0" (& "&") (identifier "DAT_000802c0")) () ")")) ([ "[") (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "pbVar3 = pbVar2;" (assignment_expression "pbVar3 = pbVar2" (identifier "pbVar3") (= "=") (identifier "pbVar2")) (; ";")) (if_statement "if (pbVar2 <= DAT_00089978) {\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }" (if "if") (parenthesized_expression "(pbVar2 <= DAT_00089978)" (( "(") (binary_expression "pbVar2 <= DAT_00089978" (identifier "pbVar2") (<= "<=") (identifier "DAT_00089978")) () ")")) (compound_statement "{\nLAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;\n      DAT_00089978 = pbVar2;\n      goto LAB_000186af;\n    }" ({ "{") (labeled_statement "LAB_000186ad:\n      iVar4 = (int)pbVar3 - (int)DAT_00089978;" (statement_identifier "LAB_000186ad") (: ":") (expression_statement "iVar4 = (int)pbVar3 - (int)DAT_00089978;" (assignment_expression "iVar4 = (int)pbVar3 - (int)DAT_00089978" (identifier "iVar4") (= "=") (binary_expression "(int)pbVar3 - (int)DAT_00089978" (cast_expression "(int)pbVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar3")) (- "-") (cast_expression "(int)DAT_00089978" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00089978")))) (; ";"))) (expression_statement "DAT_00089978 = pbVar2;" (assignment_expression "DAT_00089978 = pbVar2" (identifier "DAT_00089978") (= "=") (identifier "pbVar2")) (; ";")) (goto_statement "goto LAB_000186af;" (goto "goto") (statement_identifier "LAB_000186af") (; ";")) (} "}"))) (do_statement "do {\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    } while (pbVar3 != DAT_00089978);" (do "do") (compound_statement "{\n      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;\n      pbVar3 = pbVar3 + -1;\n    }" ({ "{") (if_statement "if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;" (if "if") (parenthesized_expression "((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9))" (( "(") (binary_expression "(pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)" (parenthesized_expression "(pbVar3[-1] != 0x20)" (( "(") (binary_expression "pbVar3[-1] != 0x20" (subscript_expression "pbVar3[-1]" (identifier "pbVar3") ([ "[") (number_literal "-1") (] "]")) (!= "!=") (number_literal "0x20")) () ")")) (&& "&&") (parenthesized_expression "(pbVar3[-1] != 9)" (( "(") (binary_expression "pbVar3[-1] != 9" (subscript_expression "pbVar3[-1]" (identifier "pbVar3") ([ "[") (number_literal "-1") (] "]")) (!= "!=") (number_literal "9")) () ")"))) () ")")) (goto_statement "goto LAB_000186ad;" (goto "goto") (statement_identifier "LAB_000186ad") (; ";"))) (expression_statement "pbVar3 = pbVar3 + -1;" (assignment_expression "pbVar3 = pbVar3 + -1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + -1" (identifier "pbVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar3 != DAT_00089978)" (( "(") (binary_expression "pbVar3 != DAT_00089978" (identifier "pbVar3") (!= "!=") (identifier "DAT_00089978")) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_00089978 = pbVar2;" (assignment_expression "DAT_00089978 = pbVar2" (identifier "DAT_00089978") (= "=") (identifier "pbVar2")) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

char * __regparm3 function_1(int var_5,int *len)

{
  type_1 *var_3;
  type_1 var_1;
  type_1 *var_6;
  int iVar4;
  type_1 *var_4;
  
  var_1 = *var_2;
  var_3 = (type_1 *)var_2;
  if (var_1 == 0x20) {
    var_3 = (type_1 *)(var_2 + 1);
    var_1 = var_2[1];
  }
  if (var_1 == 0x27) {
    var_6 = var_3 + 1;
    var_2 = (char *)var_6;
    while (var_1 = *var_2, var_4 = var_6, is_end_of_line[var_1] == '\0') {
      while( true ) {
        var_6 = var_4 + 1;
        var_1 = *var_2;
        var_2 = (char *)((type_1 *)var_2 + 1);
        *var_4 = var_1;
        if (var_1 != 0x27) break;
        var_1 = *var_2;
        if (var_1 != 0x27) goto LAB_00018718;
        var_2 = var_2 + 1;
        var_1 = *var_2;
        var_4 = var_6;
        if (is_end_of_line[var_1] != '\0') goto LAB_00018718;
      }
    }
LAB_00018718:
    iVar4 = (int)var_6 - (int)var_3;
    if (var_1 == 0x20) {
      var_2 = var_2 + 1;
      *len = iVar4;
      return (char *)var_3;
    }
LAB_000186af:
    *len = iVar4;
    return (char *)var_3;
  }
  var_2 = (char *)var_3;
  if ((var_5 != (char)var_1) && (is_end_of_line[var_1] == '\0')) {
    do {
      var_2 = (char *)((type_1 *)var_2 + 1);
      if (*var_2 == var_5) break;
    } while (is_end_of_line[(type_1)*var_2] == '\0');
    var_6 = (type_1 *)var_2;
    if (var_2 <= var_3) {
LAB_000186ad:
      iVar4 = (int)var_6 - (int)var_3;
      goto LAB_000186af;
    }
    do {
      if ((var_6[-1] != 0x20) && (var_6[-1] != 9)) goto LAB_000186ad;
      var_6 = var_6 + -1;
    } while (var_6 != var_3);
  }
  *len = 0;
  return (char *)var_3;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (break_statement))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier))) (goto_statement label: (statement_identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 MASKED(int param_1,int *param_2)

{
  byte bVar1;
  byte *pbVar2;
  byte *pbVar3;
  int iVar4;
  byte *pbVar5;
  
  bVar1 = *DAT_00089978;
  if (bVar1 == 0x20) {
    bVar1 = DAT_00089978[1];
    DAT_00089978 = DAT_00089978 + 1;
  }
  pbVar2 = DAT_00089978;
  if (bVar1 == 0x27) {
    pbVar3 = DAT_00089978 + 1;
    DAT_00089978 = pbVar3;
    while (bVar1 = *DAT_00089978, pbVar5 = pbVar3, (&DAT_000802c0)[bVar1] == '\0') {
      while( true ) {
        pbVar3 = pbVar5 + 1;
        bVar1 = *DAT_00089978;
        DAT_00089978 = DAT_00089978 + 1;
        *pbVar5 = bVar1;
        if (bVar1 != 0x27) break;
        bVar1 = *DAT_00089978;
        if (bVar1 != 0x27) goto LAB_00018718;
        DAT_00089978 = DAT_00089978 + 1;
        bVar1 = *DAT_00089978;
        pbVar5 = pbVar3;
        if ((&DAT_000802c0)[bVar1] != '\0') goto LAB_00018718;
      }
    }
LAB_00018718:
    iVar4 = (int)pbVar3 - (int)pbVar2;
    if (bVar1 == 0x20) {
      DAT_00089978 = DAT_00089978 + 1;
      *param_2 = iVar4;
      return;
    }
LAB_000186af:
    *param_2 = iVar4;
    return;
  }
  if ((param_1 != (char)bVar1) && ((&DAT_000802c0)[bVar1] == '\0')) {
    do {
      pbVar2 = pbVar2 + 1;
      if ((char)*pbVar2 == param_1) break;
    } while ((&DAT_000802c0)[*pbVar2] == '\0');
    pbVar3 = pbVar2;
    if (pbVar2 <= DAT_00089978) {
LAB_000186ad:
      iVar4 = (int)pbVar3 - (int)DAT_00089978;
      DAT_00089978 = pbVar2;
      goto LAB_000186af;
    }
    do {
      if ((pbVar3[-1] != 0x20) && (pbVar3[-1] != 9)) goto LAB_000186ad;
      pbVar3 = pbVar3 + -1;
    } while (pbVar3 != DAT_00089978);
  }
  DAT_00089978 = pbVar2;
  *param_2 = 0;
  return;
}

