
int quote_string_for_make(FILE *file,char *src)

{
  char cVar1;
  char *pcVar2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  char *pcVar6;
  
  pcVar5 = (char *)0x0;
  pcVar4 = src;
  do {
    iVar3 = (int)*pcVar4;
    pcVar6 = pcVar5;
    if (iVar3 == 9) {
LAB_000205e4:
      if (src < pcVar4) {
        cVar1 = pcVar4[-1];
        pcVar2 = pcVar4;
        while (cVar1 == '\\') {
          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));
          if (file != (FILE *)0x0) {
            (*(code *)PTR_putc_000b65b4)(0x5c,file);
          }
          if (src == pcVar2 + -1) break;
          cVar1 = pcVar2[-2];
          pcVar2 = pcVar2 + -1;
        }
      }
      if (iVar3 == 0) {
        return (int)pcVar6;
      }
      if (file != (FILE *)0x0) {
        (*(code *)PTR_putc_000b65b4)(0x5c,file);
      }
LAB_000205b4:
      pcVar5 = pcVar6 + 1;
    }
    else {
      if (9 < iVar3) {
        if (iVar3 == 0x20) goto LAB_000205e4;
        if (iVar3 != 0x24) goto LAB_000205b8;
        if (file != (FILE *)0x0) {
          (*(code *)PTR_putc_000b65b4)(0x24,file);
        }
        goto LAB_000205b4;
      }
      if (iVar3 == 0) goto LAB_000205e4;
    }
LAB_000205b8:
    if (file != (FILE *)0x0) {
      (*(code *)PTR_putc_000b65b4)(iVar3,file);
    }
    pcVar5 = pcVar5 + 1;
    pcVar4 = pcVar4 + 1;
  } while( true );
}



char * FUN_00020520(int param_1,char *param_2)

{
  char cVar1;
  char *pcVar2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  char *pcVar6;
  
  pcVar5 = (char *)0x0;
  pcVar4 = param_2;
  do {
    iVar3 = (int)*pcVar4;
    pcVar6 = pcVar5;
    if (iVar3 == 9) {
LAB_000205e4:
      if (param_2 < pcVar4) {
        cVar1 = pcVar4[-1];
        pcVar2 = pcVar4;
        while (cVar1 == '\\') {
          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));
          if (param_1 != 0) {
            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);
          }
          if (param_2 == pcVar2 + -1) break;
          cVar1 = pcVar2[-2];
          pcVar2 = pcVar2 + -1;
        }
      }
      if (iVar3 == 0) {
        return pcVar6;
      }
      if (param_1 != 0) {
        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);
      }
LAB_000205b4:
      pcVar5 = pcVar6 + 1;
    }
    else {
      if (9 < iVar3) {
        if (iVar3 == 0x20) goto LAB_000205e4;
        if (iVar3 != 0x24) goto LAB_000205b8;
        if (param_1 != 0) {
          (*(code *)PTR_putc_000b65b4)(0x24,param_1);
        }
        goto LAB_000205b4;
      }
      if (iVar3 == 0) goto LAB_000205e4;
    }
LAB_000205b8:
    if (param_1 != 0) {
      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);
    }
    pcVar5 = pcVar5 + 1;
    pcVar4 = pcVar4 + 1;
  } while( true );
}


lui gp,0xa
addiu gp,gp,-0x28a0
addu gp,gp,t9
addiu sp,sp,-0x40
sw s8,0x38(sp)
or s8,zero,zero
sw s6,0x30(sp)
li s6,0x9
sw s5,0x2c(sp)
li s5,0x20
sw s7,0x34(sp)
or s7,a0,zero
sw s4,0x28(sp)
or s4,a1,zero
sw s3,0x24(sp)
or s3,a1,zero
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lb s2,0x0(s4)
beq s2,s6,0x000205e4
_or s0,s4,zero
slti v0,s2,0xa
bne v0,zero,0x000205dc
_nop
beq s2,s5,0x000205e4
_li v0,0x24
bne s2,v0,0x000205b8
_nop
beq s7,zero,0x000205b4
_lw t9,-0x76cc(gp)
li a0,0x24
jalr t9
_or a1,s7,zero
lw gp,0x10(sp)
addiu s8,s8,0x1
beq s7,zero,0x000205d0
_lw t9,-0x76cc(gp)
or a1,s7,zero
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
addiu s8,s8,0x1
b 0x00020574
_addiu s4,s4,0x1
bne s2,zero,0x000205b8
_nop
sltu v0,s3,s4
beq v0,zero,0x00020640
_nop
lb v1,-0x1(s4)
li v0,0x5c
bne v1,v0,0x00020640
_nop
addu s1,s8,s4
b 0x00020618
_addiu s1,s1,0x1
lb v1,-0x1(s0)
bne v1,v0,0x00020640
_nop
subu s8,s1,s0
lw t9,-0x76cc(gp)
beq s7,zero,0x00020638
_addiu s0,s0,-0x1
li a0,0x5c
jalr t9
_or a1,s7,zero
lw gp,0x10(sp)
bne s3,s0,0x0002060c
_li v0,0x5c
beq s2,zero,0x00020664
_lw ra,0x3c(sp)
beq s7,zero,0x000205b4
_lw t9,-0x76cc(gp)
li a0,0x5c
jalr t9
_or a1,s7,zero
b 0x000205b4
_lw gp,0x10(sp)
or v0,s8,zero
lw s8,0x38(sp)
lw s7,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "char * FUN_00020520(int param_1,char *param_2)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}\n\n" (function_definition "char * FUN_00020520(int param_1,char *param_2)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" primitive_type (pointer_declarator "* FUN_00020520(int param_1,char *param_2)" * (function_declarator "FUN_00020520(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = param_2;" (assignment_expression "pcVar4 = param_2" identifier = identifier) ;) (do_statement "do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );" do (compound_statement "{\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "iVar3 = (int)*pcVar4;" (assignment_expression "iVar3 = (int)*pcVar4" identifier = (cast_expression "(int)*pcVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar4" * identifier))) ;) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" identifier = identifier) ;) (if_statement "if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" if (parenthesized_expression "(iVar3 == 9)" ( (binary_expression "iVar3 == 9" identifier == number_literal) )) (compound_statement "{\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }" { (labeled_statement "LAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" statement_identifier : (if_statement "if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" if (parenthesized_expression "(param_2 < pcVar4)" ( (binary_expression "param_2 < pcVar4" identifier < identifier) )) (compound_statement "{\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" { (expression_statement "cVar1 = pcVar4[-1];" (assignment_expression "cVar1 = pcVar4[-1]" identifier = (subscript_expression "pcVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = pcVar4;" (assignment_expression "pcVar2 = pcVar4" identifier = identifier) ;) (while_statement "while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" while (parenthesized_expression "(cVar1 == '\\')" ( (binary_expression "cVar1 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" { (expression_statement "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));" (assignment_expression "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" identifier = (binary_expression "pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" identifier + (cast_expression "(int)(pcVar5 + (1 - (int)pcVar2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar5 + (1 - (int)pcVar2))" ( (binary_expression "pcVar5 + (1 - (int)pcVar2)" identifier + (parenthesized_expression "(1 - (int)pcVar2)" ( (binary_expression "1 - (int)pcVar2" number_literal - (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (if_statement "if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,param_1)" ( number_literal , identifier ))) ;) })) (if_statement "if (param_2 == pcVar2 + -1) break;" if (parenthesized_expression "(param_2 == pcVar2 + -1)" ( (binary_expression "param_2 == pcVar2 + -1" identifier == (binary_expression "pcVar2 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "cVar1 = pcVar2[-2];" (assignment_expression "cVar1 = pcVar2[-2]" identifier = (subscript_expression "pcVar2[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) })) }))) (if_statement "if (iVar3 == 0) {\n        return pcVar6;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return pcVar6;\n      }" { (return_statement "return pcVar6;" return identifier ;) })) (if_statement "if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,param_1)" ( number_literal , identifier ))) ;) })) (labeled_statement "LAB_000205b4:\n      pcVar5 = pcVar6 + 1;" statement_identifier : (expression_statement "pcVar5 = pcVar6 + 1;" (assignment_expression "pcVar5 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" else (compound_statement "{\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" { (if_statement "if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }" if (parenthesized_expression "(9 < iVar3)" ( (binary_expression "9 < iVar3" number_literal < identifier) )) (compound_statement "{\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }" { (if_statement "if (iVar3 == 0x20) goto LAB_000205e4;" if (parenthesized_expression "(iVar3 == 0x20)" ( (binary_expression "iVar3 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_000205e4;" goto statement_identifier ;)) (if_statement "if (iVar3 != 0x24) goto LAB_000205b8;" if (parenthesized_expression "(iVar3 != 0x24)" ( (binary_expression "iVar3 != 0x24" identifier != number_literal) )) (goto_statement "goto LAB_000205b8;" goto statement_identifier ;)) (if_statement "if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x24,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x24,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x24,param_1)" ( number_literal , identifier ))) ;) })) (goto_statement "goto LAB_000205b4;" goto statement_identifier ;) })) (if_statement "if (iVar3 == 0) goto LAB_000205e4;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000205e4;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" statement_identifier : (if_statement "if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(iVar3,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(iVar3,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,param_1)" ( identifier , identifier ))) ;) }))) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int quote_string_for_make(FILE *file,char *src)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = src;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}\n\n" (function_definition "int quote_string_for_make(FILE *file,char *src)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = src;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" primitive_type (function_declarator "quote_string_for_make(FILE *file,char *src)" identifier (parameter_list "(FILE *file,char *src)" ( (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) , (parameter_declaration "char *src" primitive_type (pointer_declarator "*src" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = src;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = src;" (assignment_expression "pcVar4 = src" identifier = identifier) ;) (do_statement "do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );" do (compound_statement "{\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "iVar3 = (int)*pcVar4;" (assignment_expression "iVar3 = (int)*pcVar4" identifier = (cast_expression "(int)*pcVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar4" * identifier))) ;) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" identifier = identifier) ;) (if_statement "if (iVar3 == 9) {\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" if (parenthesized_expression "(iVar3 == 9)" ( (binary_expression "iVar3 == 9" identifier == number_literal) )) (compound_statement "{\nLAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return (int)pcVar6;\n      }\n      if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }" { (labeled_statement "LAB_000205e4:\n      if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" statement_identifier : (if_statement "if (src < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" if (parenthesized_expression "(src < pcVar4)" ( (binary_expression "src < pcVar4" identifier < identifier) )) (compound_statement "{\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" { (expression_statement "cVar1 = pcVar4[-1];" (assignment_expression "cVar1 = pcVar4[-1]" identifier = (subscript_expression "pcVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = pcVar4;" (assignment_expression "pcVar2 = pcVar4" identifier = identifier) ;) (while_statement "while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" while (parenthesized_expression "(cVar1 == '\\')" ( (binary_expression "cVar1 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }\n          if (src == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" { (expression_statement "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));" (assignment_expression "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" identifier = (binary_expression "pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" identifier + (cast_expression "(int)(pcVar5 + (1 - (int)pcVar2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar5 + (1 - (int)pcVar2))" ( (binary_expression "pcVar5 + (1 - (int)pcVar2)" identifier + (parenthesized_expression "(1 - (int)pcVar2)" ( (binary_expression "1 - (int)pcVar2" number_literal - (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (if_statement "if (file != (FILE *)0x0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }" if (parenthesized_expression "(file != (FILE *)0x0)" ( (binary_expression "file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_putc_000b65b4)(0x5c,file);\n          }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,file);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,file)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,file)" ( number_literal , identifier ))) ;) })) (if_statement "if (src == pcVar2 + -1) break;" if (parenthesized_expression "(src == pcVar2 + -1)" ( (binary_expression "src == pcVar2 + -1" identifier == (binary_expression "pcVar2 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "cVar1 = pcVar2[-2];" (assignment_expression "cVar1 = pcVar2[-2]" identifier = (subscript_expression "pcVar2[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) })) }))) (if_statement "if (iVar3 == 0) {\n        return (int)pcVar6;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return (int)pcVar6;\n      }" { (return_statement "return (int)pcVar6;" return (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (if_statement "if (file != (FILE *)0x0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }" if (parenthesized_expression "(file != (FILE *)0x0)" ( (binary_expression "file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_putc_000b65b4)(0x5c,file);\n      }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,file);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,file)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,file)" ( number_literal , identifier ))) ;) })) (labeled_statement "LAB_000205b4:\n      pcVar5 = pcVar6 + 1;" statement_identifier : (expression_statement "pcVar5 = pcVar6 + 1;" (assignment_expression "pcVar5 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" else (compound_statement "{\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" { (if_statement "if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }" if (parenthesized_expression "(9 < iVar3)" ( (binary_expression "9 < iVar3" number_literal < identifier) )) (compound_statement "{\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }\n        goto LAB_000205b4;\n      }" { (if_statement "if (iVar3 == 0x20) goto LAB_000205e4;" if (parenthesized_expression "(iVar3 == 0x20)" ( (binary_expression "iVar3 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_000205e4;" goto statement_identifier ;)) (if_statement "if (iVar3 != 0x24) goto LAB_000205b8;" if (parenthesized_expression "(iVar3 != 0x24)" ( (binary_expression "iVar3 != 0x24" identifier != number_literal) )) (goto_statement "goto LAB_000205b8;" goto statement_identifier ;)) (if_statement "if (file != (FILE *)0x0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }" if (parenthesized_expression "(file != (FILE *)0x0)" ( (binary_expression "file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*(code *)PTR_putc_000b65b4)(0x24,file);\n        }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x24,file);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x24,file)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x24,file)" ( number_literal , identifier ))) ;) })) (goto_statement "goto LAB_000205b4;" goto statement_identifier ;) })) (if_statement "if (iVar3 == 0) goto LAB_000205e4;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000205e4;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000205b8:\n    if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }" statement_identifier : (if_statement "if (file != (FILE *)0x0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }" if (parenthesized_expression "(file != (FILE *)0x0)" ( (binary_expression "file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_putc_000b65b4)(iVar3,file);\n    }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(iVar3,file);" (call_expression "(*(code *)PTR_putc_000b65b4)(iVar3,file)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,file)" ( identifier , identifier ))) ;) }))) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "char * FUN_00020520(int param_1,char *param_2)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}\n\n" (function_definition "char * FUN_00020520(int param_1,char *param_2)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" primitive_type (pointer_declarator "* FUN_00020520(int param_1,char *param_2)" * (function_declarator "FUN_00020520(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = param_2;" (assignment_expression "pcVar4 = param_2" identifier = identifier) ;) (do_statement "do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );" do (compound_statement "{\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "iVar3 = (int)*pcVar4;" (assignment_expression "iVar3 = (int)*pcVar4" identifier = (cast_expression "(int)*pcVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar4" * identifier))) ;) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" identifier = identifier) ;) (if_statement "if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" if (parenthesized_expression "(iVar3 == 9)" ( (binary_expression "iVar3 == 9" identifier == number_literal) )) (compound_statement "{\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }" { (labeled_statement "LAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" statement_identifier : (if_statement "if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" if (parenthesized_expression "(param_2 < pcVar4)" ( (binary_expression "param_2 < pcVar4" identifier < identifier) )) (compound_statement "{\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" { (expression_statement "cVar1 = pcVar4[-1];" (assignment_expression "cVar1 = pcVar4[-1]" identifier = (subscript_expression "pcVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = pcVar4;" (assignment_expression "pcVar2 = pcVar4" identifier = identifier) ;) (while_statement "while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" while (parenthesized_expression "(cVar1 == '\\')" ( (binary_expression "cVar1 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" { (expression_statement "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));" (assignment_expression "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" identifier = (binary_expression "pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" identifier + (cast_expression "(int)(pcVar5 + (1 - (int)pcVar2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar5 + (1 - (int)pcVar2))" ( (binary_expression "pcVar5 + (1 - (int)pcVar2)" identifier + (parenthesized_expression "(1 - (int)pcVar2)" ( (binary_expression "1 - (int)pcVar2" number_literal - (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (if_statement "if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,param_1)" ( number_literal , identifier ))) ;) })) (if_statement "if (param_2 == pcVar2 + -1) break;" if (parenthesized_expression "(param_2 == pcVar2 + -1)" ( (binary_expression "param_2 == pcVar2 + -1" identifier == (binary_expression "pcVar2 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "cVar1 = pcVar2[-2];" (assignment_expression "cVar1 = pcVar2[-2]" identifier = (subscript_expression "pcVar2[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) })) }))) (if_statement "if (iVar3 == 0) {\n        return pcVar6;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return pcVar6;\n      }" { (return_statement "return pcVar6;" return identifier ;) })) (if_statement "if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,param_1)" ( number_literal , identifier ))) ;) })) (labeled_statement "LAB_000205b4:\n      pcVar5 = pcVar6 + 1;" statement_identifier : (expression_statement "pcVar5 = pcVar6 + 1;" (assignment_expression "pcVar5 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" else (compound_statement "{\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" { (if_statement "if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }" if (parenthesized_expression "(9 < iVar3)" ( (binary_expression "9 < iVar3" number_literal < identifier) )) (compound_statement "{\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }" { (if_statement "if (iVar3 == 0x20) goto LAB_000205e4;" if (parenthesized_expression "(iVar3 == 0x20)" ( (binary_expression "iVar3 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_000205e4;" goto statement_identifier ;)) (if_statement "if (iVar3 != 0x24) goto LAB_000205b8;" if (parenthesized_expression "(iVar3 != 0x24)" ( (binary_expression "iVar3 != 0x24" identifier != number_literal) )) (goto_statement "goto LAB_000205b8;" goto statement_identifier ;)) (if_statement "if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(0x24,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x24,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x24,param_1)" ( number_literal , identifier ))) ;) })) (goto_statement "goto LAB_000205b4;" goto statement_identifier ;) })) (if_statement "if (iVar3 == 0) goto LAB_000205e4;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000205e4;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" statement_identifier : (if_statement "if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" { (expression_statement "(*(code *)PTR_putc_000b65b4)(iVar3,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(iVar3,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" ( (pointer_expression "*(code *)PTR_putc_000b65b4" * (cast_expression "(code *)PTR_putc_000b65b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,param_1)" ( identifier , identifier ))) ;) }))) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "char * FUN_00020520(int param_1,char *param_2)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" (primitive_type "char") (pointer_declarator "* FUN_00020520(int param_1,char *param_2)" (* "*") (function_declarator "FUN_00020520(int param_1,char *param_2)" (identifier "FUN_00020520") (parameter_list "(int param_1,char *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  char *pcVar6;\n  \n  pcVar5 = (char *)0x0;\n  pcVar4 = param_2;\n  do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" (identifier "pcVar5") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar4 = param_2;" (assignment_expression "pcVar4 = param_2" (identifier "pcVar4") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    iVar3 = (int)*pcVar4;\n    pcVar6 = pcVar5;\n    if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }\nLAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }\n    pcVar5 = pcVar5 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "iVar3 = (int)*pcVar4;" (assignment_expression "iVar3 = (int)*pcVar4" (identifier "iVar3") (= "=") (cast_expression "(int)*pcVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")))) (; ";")) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" (identifier "pcVar6") (= "=") (identifier "pcVar5")) (; ";")) (if_statement "if (iVar3 == 9) {\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }\n    else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" (if "if") (parenthesized_expression "(iVar3 == 9)" (( "(") (binary_expression "iVar3 == 9" (identifier "iVar3") (== "==") (number_literal "9")) () ")")) (compound_statement "{\nLAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }\n      if (iVar3 == 0) {\n        return pcVar6;\n      }\n      if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }\nLAB_000205b4:\n      pcVar5 = pcVar6 + 1;\n    }" ({ "{") (labeled_statement "LAB_000205e4:\n      if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" (statement_identifier "LAB_000205e4") (: ":") (if_statement "if (param_2 < pcVar4) {\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" (if "if") (parenthesized_expression "(param_2 < pcVar4)" (( "(") (binary_expression "param_2 < pcVar4" (identifier "param_2") (< "<") (identifier "pcVar4")) () ")")) (compound_statement "{\n        cVar1 = pcVar4[-1];\n        pcVar2 = pcVar4;\n        while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }\n      }" ({ "{") (expression_statement "cVar1 = pcVar4[-1];" (assignment_expression "cVar1 = pcVar4[-1]" (identifier "cVar1") (= "=") (subscript_expression "pcVar4[-1]" (identifier "pcVar4") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "pcVar2 = pcVar4;" (assignment_expression "pcVar2 = pcVar4" (identifier "pcVar2") (= "=") (identifier "pcVar4")) (; ";")) (while_statement "while (cVar1 == '\\') {\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" (while "while") (parenthesized_expression "(cVar1 == '\\')" (( "(") (binary_expression "cVar1 == '\\'" (identifier "cVar1") (== "==") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'"))) () ")")) (compound_statement "{\n          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));\n          if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }\n          if (param_2 == pcVar2 + -1) break;\n          cVar1 = pcVar2[-2];\n          pcVar2 = pcVar2 + -1;\n        }" ({ "{") (expression_statement "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));" (assignment_expression "pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" (identifier "pcVar6") (= "=") (binary_expression "pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2))" (identifier "pcVar4") (+ "+") (cast_expression "(int)(pcVar5 + (1 - (int)pcVar2))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar5 + (1 - (int)pcVar2))" (( "(") (binary_expression "pcVar5 + (1 - (int)pcVar2)" (identifier "pcVar5") (+ "+") (parenthesized_expression "(1 - (int)pcVar2)" (( "(") (binary_expression "1 - (int)pcVar2" (number_literal "1") (- "-") (cast_expression "(int)pcVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar2"))) () ")"))) () ")"))))) (; ";")) (if_statement "if (param_1 != 0) {\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n          }" ({ "{") (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" (( "(") (pointer_expression "*(code *)PTR_putc_000b65b4" (* "*") (cast_expression "(code *)PTR_putc_000b65b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putc_000b65b4"))) () ")")) (argument_list "(0x5c,param_1)" (( "(") (number_literal "0x5c") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == pcVar2 + -1) break;" (if "if") (parenthesized_expression "(param_2 == pcVar2 + -1)" (( "(") (binary_expression "param_2 == pcVar2 + -1" (identifier "param_2") (== "==") (binary_expression "pcVar2 + -1" (identifier "pcVar2") (+ "+") (number_literal "-1"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "cVar1 = pcVar2[-2];" (assignment_expression "cVar1 = pcVar2[-2]" (identifier "cVar1") (= "=") (subscript_expression "pcVar2[-2]" (identifier "pcVar2") ([ "[") (number_literal "-2") (] "]"))) (; ";")) (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + -1" (identifier "pcVar2") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (iVar3 == 0) {\n        return pcVar6;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return pcVar6;\n      }" ({ "{") (return_statement "return pcVar6;" (return "return") (identifier "pcVar6") (; ";")) (} "}"))) (if_statement "if (param_1 != 0) {\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);\n      }" ({ "{") (expression_statement "(*(code *)PTR_putc_000b65b4)(0x5c,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x5c,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" (( "(") (pointer_expression "*(code *)PTR_putc_000b65b4" (* "*") (cast_expression "(code *)PTR_putc_000b65b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putc_000b65b4"))) () ")")) (argument_list "(0x5c,param_1)" (( "(") (number_literal "0x5c") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_000205b4:\n      pcVar5 = pcVar6 + 1;" (statement_identifier "LAB_000205b4") (: ":") (expression_statement "pcVar5 = pcVar6 + 1;" (assignment_expression "pcVar5 = pcVar6 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (else_clause "else {\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" (else "else") (compound_statement "{\n      if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }\n      if (iVar3 == 0) goto LAB_000205e4;\n    }" ({ "{") (if_statement "if (9 < iVar3) {\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }" (if "if") (parenthesized_expression "(9 < iVar3)" (( "(") (binary_expression "9 < iVar3" (number_literal "9") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n        if (iVar3 == 0x20) goto LAB_000205e4;\n        if (iVar3 != 0x24) goto LAB_000205b8;\n        if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }\n        goto LAB_000205b4;\n      }" ({ "{") (if_statement "if (iVar3 == 0x20) goto LAB_000205e4;" (if "if") (parenthesized_expression "(iVar3 == 0x20)" (( "(") (binary_expression "iVar3 == 0x20" (identifier "iVar3") (== "==") (number_literal "0x20")) () ")")) (goto_statement "goto LAB_000205e4;" (goto "goto") (statement_identifier "LAB_000205e4") (; ";"))) (if_statement "if (iVar3 != 0x24) goto LAB_000205b8;" (if "if") (parenthesized_expression "(iVar3 != 0x24)" (( "(") (binary_expression "iVar3 != 0x24" (identifier "iVar3") (!= "!=") (number_literal "0x24")) () ")")) (goto_statement "goto LAB_000205b8;" (goto "goto") (statement_identifier "LAB_000205b8") (; ";"))) (if_statement "if (param_1 != 0) {\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_putc_000b65b4)(0x24,param_1);\n        }" ({ "{") (expression_statement "(*(code *)PTR_putc_000b65b4)(0x24,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(0x24,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" (( "(") (pointer_expression "*(code *)PTR_putc_000b65b4" (* "*") (cast_expression "(code *)PTR_putc_000b65b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putc_000b65b4"))) () ")")) (argument_list "(0x24,param_1)" (( "(") (number_literal "0x24") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_000205b4;" (goto "goto") (statement_identifier "LAB_000205b4") (; ";")) (} "}"))) (if_statement "if (iVar3 == 0) goto LAB_000205e4;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000205e4;" (goto "goto") (statement_identifier "LAB_000205e4") (; ";"))) (} "}")))) (labeled_statement "LAB_000205b8:\n    if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" (statement_identifier "LAB_000205b8") (: ":") (if_statement "if (param_1 != 0) {\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);\n    }" ({ "{") (expression_statement "(*(code *)PTR_putc_000b65b4)(iVar3,param_1);" (call_expression "(*(code *)PTR_putc_000b65b4)(iVar3,param_1)" (parenthesized_expression "(*(code *)PTR_putc_000b65b4)" (( "(") (pointer_expression "*(code *)PTR_putc_000b65b4" (* "*") (cast_expression "(code *)PTR_putc_000b65b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putc_000b65b4"))) () ")")) (argument_list "(iVar3,param_1)" (( "(") (identifier "iVar3") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) 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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (break_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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true))))))

char * MASKED(int param_1,char *param_2)

{
  char cVar1;
  char *pcVar2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  char *pcVar6;
  
  pcVar5 = (char *)0x0;
  pcVar4 = param_2;
  do {
    iVar3 = (int)*pcVar4;
    pcVar6 = pcVar5;
    if (iVar3 == 9) {
LAB_000205e4:
      if (param_2 < pcVar4) {
        cVar1 = pcVar4[-1];
        pcVar2 = pcVar4;
        while (cVar1 == '\\') {
          pcVar6 = pcVar4 + (int)(pcVar5 + (1 - (int)pcVar2));
          if (param_1 != 0) {
            (*(code *)PTR_putc_000b65b4)(0x5c,param_1);
          }
          if (param_2 == pcVar2 + -1) break;
          cVar1 = pcVar2[-2];
          pcVar2 = pcVar2 + -1;
        }
      }
      if (iVar3 == 0) {
        return pcVar6;
      }
      if (param_1 != 0) {
        (*(code *)PTR_putc_000b65b4)(0x5c,param_1);
      }
LAB_000205b4:
      pcVar5 = pcVar6 + 1;
    }
    else {
      if (9 < iVar3) {
        if (iVar3 == 0x20) goto LAB_000205e4;
        if (iVar3 != 0x24) goto LAB_000205b8;
        if (param_1 != 0) {
          (*(code *)PTR_putc_000b65b4)(0x24,param_1);
        }
        goto LAB_000205b4;
      }
      if (iVar3 == 0) goto LAB_000205e4;
    }
LAB_000205b8:
    if (param_1 != 0) {
      (*(code *)PTR_putc_000b65b4)(iVar3,param_1);
    }
    pcVar5 = pcVar5 + 1;
    pcVar4 = pcVar4 + 1;
  } while( true );
}

