
int writeargv(char **argv,FILE *f)

{
  byte bVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  byte *pbVar5;
  
  puVar2 = PTR__sch_istable_0002623c;
  if (f == (FILE *)0x0) {
    return 1;
  }
  pbVar5 = (byte *)*argv;
  do {
    if (pbVar5 == (byte *)0x0) {
      return 0;
    }
    bVar1 = *pbVar5;
    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {
      pbVar5 = pbVar5 + 1;
      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||
           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&
         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {
        return 1;
      }
      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);
      if (iVar4 == -1) {
        return 1;
      }
      bVar1 = *pbVar5;
    }
    iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);
    if (iVar4 == -1) {
      return 1;
    }
    argv = argv + 1;
    pbVar5 = (byte *)*argv;
  } while( true );
}



undefined4 FUN_000141e8(undefined4 *param_1,int param_2)

{
  byte bVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  byte *pbVar5;
  
  puVar2 = PTR__sch_istable_0002623c;
  if (param_2 == 0) {
    return 1;
  }
  pbVar5 = (byte *)*param_1;
  do {
    if (pbVar5 == (byte *)0x0) {
      return 0;
    }
    bVar1 = *pbVar5;
    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {
      pbVar5 = pbVar5 + 1;
      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||
           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&
         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {
        return 1;
      }
      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);
      if (iVar4 == -1) {
        return 1;
      }
      bVar1 = *pbVar5;
    }
    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);
    if (iVar4 == -1) {
      return 1;
    }
    param_1 = param_1 + 1;
    pbVar5 = (byte *)*param_1;
  } while( true );
}


lui gp,0x2
addiu gp,gp,-0x6118
addu gp,gp,t9
beq a1,zero,0x0001432c
_nop
addiu sp,sp,-0x40
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw s6,0x34(sp)
sw ra,0x3c(sp)
sw s7,0x38(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
lw s0,0x0(a0)
beq s0,zero,0x00014324
_or s6,a0,zero
lw s3,-0x7e94(gp)
li s2,-0x1
li s4,0x27
or s1,a1,zero
lb s7,0x0(s0)
bne s7,zero,0x00014294
_li s5,0x22
b 0x00014300
_lw t9,-0x7f2c(gp)
beq s7,v1,0x000142c0
_nop
beq s7,s4,0x000142c0
_nop
beq s7,s5,0x000142c0
_nop
lw t9,-0x7f2c(gp)
or a0,s7,zero
jalr t9
_or a1,s1,zero
beq v0,s2,0x000142d0
_lw gp,0x10(sp)
lb s7,0x0(s0)
beq s7,zero,0x00014300
_lw t9,-0x7f2c(gp)
andi v0,s7,0xff
lw t9,-0x7f2c(gp)
sll v0,v0,0x1
addiu s0,s0,0x1
addu v0,s3,v0
li a0,0x5c
or a1,s1,zero
lhu v0,0x0(v0)
andi v0,v0,0x40
beq v0,zero,0x00014258
_li v1,0x5c
jalr t9
_nop
bne v0,s2,0x00014270
_lw gp,0x10(sp)
li v0,0x1
lw ra,0x3c(sp)
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
li a0,0xa
jalr t9
_or a1,s1,zero
beq v0,s2,0x000142d0
_lw gp,0x10(sp)
addiu s6,s6,0x4
lw s0,0x0(s6)
bne s0,zero,0x00014244
_nop
b 0x000142d4
_or v0,zero,zero
jr ra
_li v0,0x1
(translation_unit "undefined4 FUN_000141e8(undefined4 *param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_000141e8(undefined4 *param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}" type_identifier (function_declarator "FUN_000141e8(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "puVar2 = PTR__sch_istable_0002623c;" (assignment_expression "puVar2 = PTR__sch_istable_0002623c" identifier = identifier) ;) (if_statement "if (param_2 == 0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar5 = (byte *)*param_1;" (assignment_expression "pbVar5 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (do_statement "do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );" do (compound_statement "{\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  }" { (if_statement "if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pbVar5 == (byte *)0x0)" ( (binary_expression "pbVar5 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (while_statement "while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" while (parenthesized_expression "(iVar4 = (int)(char)bVar1, iVar4 != 0)" ( (comma_expression "iVar4 = (int)(char)bVar1, iVar4 != 0" (assignment_expression "iVar4 = (int)(char)bVar1" identifier = (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) , (binary_expression "iVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }" if (parenthesized_expression "((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1))" ( (binary_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)" (parenthesized_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22))" ( (binary_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)" (parenthesized_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27))" ( (binary_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)" (parenthesized_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c))" ( (binary_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)" (parenthesized_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0)" ( (binary_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0" (parenthesized_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40)" ( (binary_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40" (pointer_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(puVar2 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (uint)bVar1 * 2)" ( (binary_expression "puVar2 + (uint)bVar1 * 2" identifier + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) || (parenthesized_expression "(iVar4 == 0x5c)" ( (binary_expression "iVar4 == 0x5c" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x27)" ( (binary_expression "iVar4 == 0x27" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x22)" ( (binary_expression "iVar4 == 0x22" identifier == number_literal) ))) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)" ( (comma_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1" (assignment_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(0x5c,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,param_2)" ( number_literal , identifier )))) , (binary_expression "iVar3 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(iVar4,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == -1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) })) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(10,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,param_2)" ( number_literal , identifier )))) ;) (if_statement "if (iVar4 == -1) {\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = (byte *)*param_1;" (assignment_expression "pbVar5 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int writeargv(char **argv,FILE *f)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (f == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*argv;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar5 = (byte *)*argv;\n  } while( true );\n}\n\n" (function_definition "int writeargv(char **argv,FILE *f)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (f == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*argv;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar5 = (byte *)*argv;\n  } while( true );\n}" primitive_type (function_declarator "writeargv(char **argv,FILE *f)" identifier (parameter_list "(char **argv,FILE *f)" ( (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "FILE *f" type_identifier (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (f == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*argv;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar5 = (byte *)*argv;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "puVar2 = PTR__sch_istable_0002623c;" (assignment_expression "puVar2 = PTR__sch_istable_0002623c" identifier = identifier) ;) (if_statement "if (f == (FILE *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(f == (FILE *)0x0)" ( (binary_expression "f == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar5 = (byte *)*argv;" (assignment_expression "pbVar5 = (byte *)*argv" identifier = (cast_expression "(byte *)*argv" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*argv" * identifier))) ;) (do_statement "do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar5 = (byte *)*argv;\n  } while( true );" do (compound_statement "{\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar5 = (byte *)*argv;\n  }" { (if_statement "if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pbVar5 == (byte *)0x0)" ( (binary_expression "pbVar5 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (while_statement "while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" while (parenthesized_expression "(iVar4 = (int)(char)bVar1, iVar4 != 0)" ( (comma_expression "iVar4 = (int)(char)bVar1, iVar4 != 0" (assignment_expression "iVar4 = (int)(char)bVar1" identifier = (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) , (binary_expression "iVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)) {\n        return 1;\n      }" if (parenthesized_expression "((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1))" ( (binary_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)" (parenthesized_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22))" ( (binary_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)" (parenthesized_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27))" ( (binary_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)" (parenthesized_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c))" ( (binary_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)" (parenthesized_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0)" ( (binary_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0" (parenthesized_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40)" ( (binary_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40" (pointer_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(puVar2 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (uint)bVar1 * 2)" ( (binary_expression "puVar2 + (uint)bVar1 * 2" identifier + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) || (parenthesized_expression "(iVar4 == 0x5c)" ( (binary_expression "iVar4 == 0x5c" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x27)" ( (binary_expression "iVar4 == 0x27" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x22)" ( (binary_expression "iVar4 == 0x22" identifier == number_literal) ))) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1)" ( (comma_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f), iVar3 == -1" (assignment_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,f)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(0x5c,f)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,f)" ( number_literal , identifier )))) , (binary_expression "iVar3 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,f)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(iVar4,f)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,f)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == -1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) })) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(10,f);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(10,f)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(10,f)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,f)" ( number_literal , identifier )))) ;) (if_statement "if (iVar4 == -1) {\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "argv = argv + 1;" (assignment_expression "argv = argv + 1" identifier = (binary_expression "argv + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = (byte *)*argv;" (assignment_expression "pbVar5 = (byte *)*argv" identifier = (cast_expression "(byte *)*argv" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*argv" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_000141e8(undefined4 *param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_000141e8(undefined4 *param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}" type_identifier (function_declarator "FUN_000141e8(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "puVar2 = PTR__sch_istable_0002623c;" (assignment_expression "puVar2 = PTR__sch_istable_0002623c" identifier = identifier) ;) (if_statement "if (param_2 == 0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar5 = (byte *)*param_1;" (assignment_expression "pbVar5 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (do_statement "do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );" do (compound_statement "{\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  }" { (if_statement "if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pbVar5 == (byte *)0x0)" ( (binary_expression "pbVar5 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (while_statement "while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" while (parenthesized_expression "(iVar4 = (int)(char)bVar1, iVar4 != 0)" ( (comma_expression "iVar4 = (int)(char)bVar1, iVar4 != 0" (assignment_expression "iVar4 = (int)(char)bVar1" identifier = (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) , (binary_expression "iVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }" if (parenthesized_expression "((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1))" ( (binary_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)" (parenthesized_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22))" ( (binary_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)" (parenthesized_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27))" ( (binary_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)" (parenthesized_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c))" ( (binary_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)" (parenthesized_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0)" ( (binary_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0" (parenthesized_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40)" ( (binary_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40" (pointer_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(puVar2 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (uint)bVar1 * 2)" ( (binary_expression "puVar2 + (uint)bVar1 * 2" identifier + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) || (parenthesized_expression "(iVar4 == 0x5c)" ( (binary_expression "iVar4 == 0x5c" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x27)" ( (binary_expression "iVar4 == 0x27" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x22)" ( (binary_expression "iVar4 == 0x22" identifier == number_literal) ))) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)" ( (comma_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1" (assignment_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(0x5c,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x5c,param_2)" ( number_literal , identifier )))) , (binary_expression "iVar3 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(iVar4,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == -1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) })) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2)" identifier = (call_expression "(*(code *)PTR_fputc_000261a4)(10,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" ( (pointer_expression "*(code *)PTR_fputc_000261a4" * (cast_expression "(code *)PTR_fputc_000261a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,param_2)" ( number_literal , identifier )))) ;) (if_statement "if (iVar4 == -1) {\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = (byte *)*param_1;" (assignment_expression "pbVar5 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) & LIT) )) != LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (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 == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_000141e8(undefined4 *param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_000141e8(undefined4 *param_1,int param_2)" (identifier "FUN_000141e8") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  byte *pbVar5;\n  \n  puVar2 = PTR__sch_istable_0002623c;\n  if (param_2 == 0) {\n    return 1;\n  }\n  pbVar5 = (byte *)*param_1;\n  do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (expression_statement "puVar2 = PTR__sch_istable_0002623c;" (assignment_expression "puVar2 = PTR__sch_istable_0002623c" (identifier "puVar2") (= "=") (identifier "PTR__sch_istable_0002623c")) (; ";")) (if_statement "if (param_2 == 0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pbVar5 = (byte *)*param_1;" (assignment_expression "pbVar5 = (byte *)*param_1" (identifier "pbVar5") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (do_statement "do {\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  } while( true );" (do "do") (compound_statement "{\n    if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }\n    bVar1 = *pbVar5;\n    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }\n    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);\n    if (iVar4 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar5 = (byte *)*param_1;\n  }" ({ "{") (if_statement "if (pbVar5 == (byte *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(pbVar5 == (byte *)0x0)" (( "(") (binary_expression "pbVar5 == (byte *)0x0" (identifier "pbVar5") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" (identifier "bVar1") (= "=") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5"))) (; ";")) (while_statement "while (iVar4 = (int)(char)bVar1, iVar4 != 0) {\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" (while "while") (parenthesized_expression "(iVar4 = (int)(char)bVar1, iVar4 != 0)" (( "(") (comma_expression "iVar4 = (int)(char)bVar1, iVar4 != 0" (assignment_expression "iVar4 = (int)(char)bVar1" (identifier "iVar4") (= "=") (cast_expression "(int)(char)bVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      pbVar5 = pbVar5 + 1;\n      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);\n      if (iVar4 == -1) {\n        return 1;\n      }\n      bVar1 = *pbVar5;\n    }" ({ "{") (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }" (if "if") (parenthesized_expression "((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1))" (( "(") (binary_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&\n         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)" (parenthesized_expression "(((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22))" (( "(") (binary_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)) || (iVar4 == 0x22)" (parenthesized_expression "((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27))" (( "(") (binary_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||\n           (iVar4 == 0x27)" (parenthesized_expression "(((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c))" (( "(") (binary_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)" (parenthesized_expression "((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0)" (( "(") (binary_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0" (parenthesized_expression "(*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40)" (( "(") (binary_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40" (pointer_expression "*(ushort *)(puVar2 + (uint)bVar1 * 2)" (* "*") (cast_expression "(ushort *)(puVar2 + (uint)bVar1 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + (uint)bVar1 * 2)" (( "(") (binary_expression "puVar2 + (uint)bVar1 * 2" (identifier "puVar2") (+ "+") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0x5c)" (( "(") (binary_expression "iVar4 == 0x5c" (identifier "iVar4") (== "==") (number_literal "0x5c")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0x27)" (( "(") (binary_expression "iVar4 == 0x27" (identifier "iVar4") (== "==") (number_literal "0x27")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0x22)" (( "(") (binary_expression "iVar4 == 0x22" (identifier "iVar4") (== "==") (number_literal "0x22")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1" (assignment_expression "iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_fputc_000261a4)(0x5c,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" (( "(") (pointer_expression "*(code *)PTR_fputc_000261a4" (* "*") (cast_expression "(code *)PTR_fputc_000261a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000261a4"))) () ")")) (argument_list "(0x5c,param_2)" (( "(") (number_literal "0x5c") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_fputc_000261a4)(iVar4,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" (( "(") (pointer_expression "*(code *)PTR_fputc_000261a4" (* "*") (cast_expression "(code *)PTR_fputc_000261a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000261a4"))) () ")")) (argument_list "(iVar4,param_2)" (( "(") (identifier "iVar4") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar4 == -1) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" (identifier "bVar1") (= "=") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5"))) (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_fputc_000261a4)(10,param_2)" (parenthesized_expression "(*(code *)PTR_fputc_000261a4)" (( "(") (pointer_expression "*(code *)PTR_fputc_000261a4" (* "*") (cast_expression "(code *)PTR_fputc_000261a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000261a4"))) () ")")) (argument_list "(10,param_2)" (( "(") (number_literal "10") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar4 == -1) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = (byte *)*param_1;" (assignment_expression "pbVar5 = (byte *)*param_1" (identifier "pbVar5") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

int function_1(char **var_6,type_1 *var_1)

{
  type_2 bVar1;
  type_3 *var_4;
  int var_5;
  int var_3;
  type_2 *var_2;
  
  var_4 = PTR__sch_istable_0002623c;
  if (var_1 == (type_1 *)0x0) {
    return 1;
  }
  var_2 = (type_2 *)*var_6;
  do {
    if (var_2 == (type_2 *)0x0) {
      return 0;
    }
    bVar1 = *var_2;
    while (var_3 = (int)(char)bVar1, var_3 != 0) {
      var_2 = var_2 + 1;
      if ((((((*(type_4 *)(var_4 + (type_5)bVar1 * 2) & 0x40) != 0) || (var_3 == 0x5c)) ||
           (var_3 == 0x27)) || (var_3 == 0x22)) &&
         (var_5 = (*(type_6 *)PTR_fputc_000261a4)(0x5c,var_1), var_5 == -1)) {
        return 1;
      }
      var_3 = (*(type_6 *)PTR_fputc_000261a4)(var_3,var_1);
      if (var_3 == -1) {
        return 1;
      }
      bVar1 = *var_2;
    }
    var_3 = (*(type_6 *)PTR_fputc_000261a4)(10,var_1);
    if (var_3 == -1) {
      return 1;
    }
    var_6 = var_6 + 1;
    var_2 = (type_2 *)*var_6;
  } while( true );
}


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

undefined4 MASKED(undefined4 *param_1,int param_2)

{
  byte bVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  byte *pbVar5;
  
  puVar2 = PTR__sch_istable_0002623c;
  if (param_2 == 0) {
    return 1;
  }
  pbVar5 = (byte *)*param_1;
  do {
    if (pbVar5 == (byte *)0x0) {
      return 0;
    }
    bVar1 = *pbVar5;
    while (iVar4 = (int)(char)bVar1, iVar4 != 0) {
      pbVar5 = pbVar5 + 1;
      if ((((((*(ushort *)(puVar2 + (uint)bVar1 * 2) & 0x40) != 0) || (iVar4 == 0x5c)) ||
           (iVar4 == 0x27)) || (iVar4 == 0x22)) &&
         (iVar3 = (*(code *)PTR_fputc_000261a4)(0x5c,param_2), iVar3 == -1)) {
        return 1;
      }
      iVar4 = (*(code *)PTR_fputc_000261a4)(iVar4,param_2);
      if (iVar4 == -1) {
        return 1;
      }
      bVar1 = *pbVar5;
    }
    iVar4 = (*(code *)PTR_fputc_000261a4)(10,param_2);
    if (iVar4 == -1) {
      return 1;
    }
    param_1 = param_1 + 1;
    pbVar5 = (byte *)*param_1;
  } while( true );
}

