
void set_current_options(char *bitmap)

{
  undefined4 *puVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined4 *puVar6;
  int iVar7;
  undefined *puVar8;
  
  if (bitmap != (char *)0x0) {
    iVar3 = 0x61;
    iVar7 = 0;
    puVar5 = PTR_DAT_001445ac + -0x6434;
    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);
    puVar8 = PTR_DAT_001445ac + -0x640c;
    while( true ) {
      cVar2 = bitmap[iVar7];
      if (iVar3 == 0) {
        uVar4 = 0x2b;
        if (cVar2 != '\0') {
          uVar4 = 0x2d;
        }
        if ((code *)puVar6[1] == (code *)0x0) {
          uVar4 = 0x2d;
          if (cVar2 == '\0') {
            uVar4 = 0;
          }
          *(undefined4 *)*puVar6 = uVar4;
        }
        else {
          (*(code *)puVar6[1])(uVar4,puVar5);
        }
      }
      else {
        uVar4 = 0x2b;
        if (cVar2 != '\0') {
          uVar4 = 0x2d;
        }
        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);
      }
      if (puVar8 == (undefined *)0x0) break;
      iVar7 = iVar7 + 1;
      iVar3 = puVar6[4];
      puVar1 = puVar6 + 8;
      puVar5 = puVar8;
      puVar6 = puVar6 + 5;
      puVar8 = (undefined *)*puVar1;
    }
                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);
    return;
  }
  return;
}



void set_current_options(int param_1)

{
  undefined4 *puVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined4 *puVar6;
  int iVar7;
  undefined *puVar8;
  
  if (param_1 != 0) {
    iVar3 = 0x61;
    iVar7 = 0;
    puVar5 = PTR_DAT_001445ac + -0x6434;
    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);
    puVar8 = PTR_DAT_001445ac + -0x640c;
    while( true ) {
      cVar2 = *(char *)(param_1 + iVar7);
      if (iVar3 == 0) {
        uVar4 = 0x2b;
        if (cVar2 != '\0') {
          uVar4 = 0x2d;
        }
        if ((code *)puVar6[1] == (code *)0x0) {
          uVar4 = 0x2d;
          if (cVar2 == '\0') {
            uVar4 = 0;
          }
          *(undefined4 *)*puVar6 = uVar4;
        }
        else {
          (*(code *)puVar6[1])(uVar4,puVar5);
        }
      }
      else {
        uVar4 = 0x2b;
        if (cVar2 != '\0') {
          uVar4 = 0x2d;
        }
        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);
      }
      if (puVar8 == (undefined *)0x0) break;
      iVar7 = iVar7 + 1;
      iVar3 = puVar6[4];
      puVar1 = puVar6 + 8;
      puVar5 = puVar8;
      puVar6 = puVar6 + 5;
      puVar8 = (undefined *)*puVar1;
    }
                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);
    return;
  }
  return;
}


lui gp,0x9
addiu gp,gp,-0x4c80
addu gp,gp,t9
beq a0,zero,0x000c12c8
_nop
addiu sp,sp,-0x38
lw a1,-0x7f94(gp)
li v1,0x61
sw s2,0x24(sp)
addiu a1,a1,-0x6434
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw s5,0x30(sp)
li s5,0x2b
sw s4,0x2c(sp)
li s4,0x2d
sw s3,0x28(sp)
or s3,a0,zero
sw s1,0x20(sp)
or s1,zero,zero
sw ra,0x34(sp)
lw s0,-0x6ae8(gp)
lw s2,-0x7f94(gp)
addiu s0,s0,0x8
b 0x000c1250
_addiu s2,s2,-0x640c
or a1,s5,zero
jalr t9
_movn a1,s4,v0
lw gp,0x10(sp)
addiu s0,s0,0x14
beq s2,zero,0x000c1288
_addiu s1,s1,0x1
or a1,s2,zero
lw v1,-0x4(s0)
lw s2,0xc(s0)
addu v0,s3,s1
lw t9,-0x7e28(gp)
or a0,v1,zero
bne v1,zero,0x000c1228
_lb v0,0x0(v0)
lw t9,0x4(s0)
or a0,s5,zero
beq t9,zero,0x000c12b4
_movn a0,s4,v0
jalr t9
_addiu s0,s0,0x14
lw gp,0x10(sp)
bne s2,zero,0x000c1244
_addiu s1,s1,0x1
addu a0,s3,s1
lw ra,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)
lw t9,-0x6ad8(gp)
jr t9
_addiu sp,sp,0x38
or v1,s4,zero
lw a0,0x0(s0)
movz v1,zero,v0
b 0x000c1238
_sw v1,0x0(a0)
jr ra
_nop
(translation_unit "void set_current_options(int param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_current_options(int param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_current_options(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (if_statement "if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }" { (expression_statement "iVar3 = 0x61;" (assignment_expression "iVar3 = 0x61" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = PTR_DAT_001445ac + -0x6434;" (assignment_expression "puVar5 = PTR_DAT_001445ac + -0x6434" identifier = (binary_expression "PTR_DAT_001445ac + -0x6434" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);" (assignment_expression "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8)" identifier = (cast_expression "(undefined4 *)(PTR_o_options_00145a58 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_o_options_00145a58 + 8)" ( (binary_expression "PTR_o_options_00145a58 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar8 = PTR_DAT_001445ac + -0x640c;" (assignment_expression "puVar8 = PTR_DAT_001445ac + -0x640c" identifier = (binary_expression "PTR_DAT_001445ac + -0x640c" identifier + number_literal)) ;) (while_statement "while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" { (expression_statement "cVar2 = *(char *)(param_1 + iVar7);" (assignment_expression "cVar2 = *(char *)(param_1 + iVar7)" identifier = (pointer_expression "*(char *)(param_1 + iVar7)" * (cast_expression "(char *)(param_1 + iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar7)" ( (binary_expression "param_1 + iVar7" identifier + identifier) ))))) ;) (if_statement "if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }" { (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar4 = 0x2d;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) })) (if_statement "if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" if (parenthesized_expression "((code *)puVar6[1] == (code *)0x0)" ( (binary_expression "(code *)puVar6[1] == (code *)0x0" (cast_expression "(code *)puVar6[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ])) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) (if_statement "if (cVar2 == '\0') {\n            uVar4 = 0;\n          }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = 0;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)*puVar6 = uVar4;" (assignment_expression "*(undefined4 *)*puVar6 = uVar4" (pointer_expression "*(undefined4 *)*puVar6" * (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) = identifier) ;) }) (else_clause "else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" else (compound_statement "{\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" { (expression_statement "(*(code *)puVar6[1])(uVar4,puVar5);" (call_expression "(*(code *)puVar6[1])(uVar4,puVar5)" (parenthesized_expression "(*(code *)puVar6[1])" ( (pointer_expression "*(code *)puVar6[1]" * (cast_expression "(code *)puVar6[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) )) (argument_list "(uVar4,puVar5)" ( identifier , identifier ))) ;) }))) }) (else_clause "else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" else (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" { (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar4 = 0x2d;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) })) (expression_statement "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4);" (call_expression "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4)" (parenthesized_expression "(*(code *)PTR_change_flag_00144718)" ( (pointer_expression "*(code *)PTR_change_flag_00144718" * (cast_expression "(code *)PTR_change_flag_00144718" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,uVar4)" ( identifier , identifier ))) ;) }))) (if_statement "if (puVar8 == (undefined *)0x0) break;" if (parenthesized_expression "(puVar8 == (undefined *)0x0)" ( (binary_expression "puVar8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = puVar6[4];" (assignment_expression "iVar3 = puVar6[4]" identifier = (subscript_expression "puVar6[4]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = puVar6 + 8;" (assignment_expression "puVar1 = puVar6 + 8" identifier = (binary_expression "puVar6 + 8" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 5;" (assignment_expression "puVar6 = puVar6 + 5" identifier = (binary_expression "puVar6 + 5" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined *)*puVar1;" (assignment_expression "puVar8 = (undefined *)*puVar1" identifier = (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) comment comment (expression_statement "(*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);" (call_expression "(*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_set_posix_options_00145a68)" ( (pointer_expression "*(code *)PTR_set_posix_options_00145a68" * (cast_expression "(code *)PTR_set_posix_options_00145a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + iVar7 + 1)" ( (binary_expression "param_1 + iVar7 + 1" (binary_expression "param_1 + iVar7" identifier + identifier) + number_literal) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void set_current_options(char *bitmap)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (bitmap != (char *)0x0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_current_options(char *bitmap)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (bitmap != (char *)0x0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_current_options(char *bitmap)" identifier (parameter_list "(char *bitmap)" ( (parameter_declaration "char *bitmap" primitive_type (pointer_declarator "*bitmap" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (bitmap != (char *)0x0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (if_statement "if (bitmap != (char *)0x0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);\n    return;\n  }" if (parenthesized_expression "(bitmap != (char *)0x0)" ( (binary_expression "bitmap != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);\n    return;\n  }" { (expression_statement "iVar3 = 0x61;" (assignment_expression "iVar3 = 0x61" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = PTR_DAT_001445ac + -0x6434;" (assignment_expression "puVar5 = PTR_DAT_001445ac + -0x6434" identifier = (binary_expression "PTR_DAT_001445ac + -0x6434" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);" (assignment_expression "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8)" identifier = (cast_expression "(undefined4 *)(PTR_o_options_00145a58 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_o_options_00145a58 + 8)" ( (binary_expression "PTR_o_options_00145a58 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar8 = PTR_DAT_001445ac + -0x640c;" (assignment_expression "puVar8 = PTR_DAT_001445ac + -0x640c" identifier = (binary_expression "PTR_DAT_001445ac + -0x640c" identifier + number_literal)) ;) (while_statement "while( true ) {\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      cVar2 = bitmap[iVar7];\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" { (expression_statement "cVar2 = bitmap[iVar7];" (assignment_expression "cVar2 = bitmap[iVar7]" identifier = (subscript_expression "bitmap[iVar7]" identifier [ identifier ])) ;) (if_statement "if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }" { (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar4 = 0x2d;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) })) (if_statement "if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" if (parenthesized_expression "((code *)puVar6[1] == (code *)0x0)" ( (binary_expression "(code *)puVar6[1] == (code *)0x0" (cast_expression "(code *)puVar6[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ])) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) (if_statement "if (cVar2 == '\0') {\n            uVar4 = 0;\n          }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = 0;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)*puVar6 = uVar4;" (assignment_expression "*(undefined4 *)*puVar6 = uVar4" (pointer_expression "*(undefined4 *)*puVar6" * (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) = identifier) ;) }) (else_clause "else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" else (compound_statement "{\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" { (expression_statement "(*(code *)puVar6[1])(uVar4,puVar5);" (call_expression "(*(code *)puVar6[1])(uVar4,puVar5)" (parenthesized_expression "(*(code *)puVar6[1])" ( (pointer_expression "*(code *)puVar6[1]" * (cast_expression "(code *)puVar6[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) )) (argument_list "(uVar4,puVar5)" ( identifier , identifier ))) ;) }))) }) (else_clause "else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" else (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" { (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar4 = 0x2d;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) })) (expression_statement "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4);" (call_expression "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4)" (parenthesized_expression "(*(code *)PTR_change_flag_00144718)" ( (pointer_expression "*(code *)PTR_change_flag_00144718" * (cast_expression "(code *)PTR_change_flag_00144718" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,uVar4)" ( identifier , identifier ))) ;) }))) (if_statement "if (puVar8 == (undefined *)0x0) break;" if (parenthesized_expression "(puVar8 == (undefined *)0x0)" ( (binary_expression "puVar8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = puVar6[4];" (assignment_expression "iVar3 = puVar6[4]" identifier = (subscript_expression "puVar6[4]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = puVar6 + 8;" (assignment_expression "puVar1 = puVar6 + 8" identifier = (binary_expression "puVar6 + 8" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 5;" (assignment_expression "puVar6 = puVar6 + 5" identifier = (binary_expression "puVar6 + 5" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined *)*puVar1;" (assignment_expression "puVar8 = (undefined *)*puVar1" identifier = (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) comment comment (expression_statement "(*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1);" (call_expression "(*(code *)PTR_set_posix_options_00145a68)(bitmap + iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_set_posix_options_00145a68)" ( (pointer_expression "*(code *)PTR_set_posix_options_00145a68" * (cast_expression "(code *)PTR_set_posix_options_00145a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(bitmap + iVar7 + 1)" ( (binary_expression "bitmap + iVar7 + 1" (binary_expression "bitmap + iVar7" identifier + identifier) + number_literal) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void set_current_options(int param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_current_options(int param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_current_options(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (if_statement "if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }" { (expression_statement "iVar3 = 0x61;" (assignment_expression "iVar3 = 0x61" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = PTR_DAT_001445ac + -0x6434;" (assignment_expression "puVar5 = PTR_DAT_001445ac + -0x6434" identifier = (binary_expression "PTR_DAT_001445ac + -0x6434" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);" (assignment_expression "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8)" identifier = (cast_expression "(undefined4 *)(PTR_o_options_00145a58 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_o_options_00145a58 + 8)" ( (binary_expression "PTR_o_options_00145a58 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar8 = PTR_DAT_001445ac + -0x640c;" (assignment_expression "puVar8 = PTR_DAT_001445ac + -0x640c" identifier = (binary_expression "PTR_DAT_001445ac + -0x640c" identifier + number_literal)) ;) (while_statement "while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" { (expression_statement "cVar2 = *(char *)(param_1 + iVar7);" (assignment_expression "cVar2 = *(char *)(param_1 + iVar7)" identifier = (pointer_expression "*(char *)(param_1 + iVar7)" * (cast_expression "(char *)(param_1 + iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar7)" ( (binary_expression "param_1 + iVar7" identifier + identifier) ))))) ;) (if_statement "if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }" { (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar4 = 0x2d;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) })) (if_statement "if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" if (parenthesized_expression "((code *)puVar6[1] == (code *)0x0)" ( (binary_expression "(code *)puVar6[1] == (code *)0x0" (cast_expression "(code *)puVar6[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ])) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) (if_statement "if (cVar2 == '\0') {\n            uVar4 = 0;\n          }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = 0;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)*puVar6 = uVar4;" (assignment_expression "*(undefined4 *)*puVar6 = uVar4" (pointer_expression "*(undefined4 *)*puVar6" * (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) = identifier) ;) }) (else_clause "else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" else (compound_statement "{\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" { (expression_statement "(*(code *)puVar6[1])(uVar4,puVar5);" (call_expression "(*(code *)puVar6[1])(uVar4,puVar5)" (parenthesized_expression "(*(code *)puVar6[1])" ( (pointer_expression "*(code *)puVar6[1]" * (cast_expression "(code *)puVar6[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) )) (argument_list "(uVar4,puVar5)" ( identifier , identifier ))) ;) }))) }) (else_clause "else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" else (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" { (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar4 = 0x2d;\n        }" { (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" identifier = number_literal) ;) })) (expression_statement "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4);" (call_expression "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4)" (parenthesized_expression "(*(code *)PTR_change_flag_00144718)" ( (pointer_expression "*(code *)PTR_change_flag_00144718" * (cast_expression "(code *)PTR_change_flag_00144718" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,uVar4)" ( identifier , identifier ))) ;) }))) (if_statement "if (puVar8 == (undefined *)0x0) break;" if (parenthesized_expression "(puVar8 == (undefined *)0x0)" ( (binary_expression "puVar8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = puVar6[4];" (assignment_expression "iVar3 = puVar6[4]" identifier = (subscript_expression "puVar6[4]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = puVar6 + 8;" (assignment_expression "puVar1 = puVar6 + 8" identifier = (binary_expression "puVar6 + 8" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 5;" (assignment_expression "puVar6 = puVar6 + 5" identifier = (binary_expression "puVar6 + 5" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined *)*puVar1;" (assignment_expression "puVar8 = (undefined *)*puVar1" identifier = (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) (expression_statement "(*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);" (call_expression "(*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_set_posix_options_00145a68)" ( (pointer_expression "*(code *)PTR_set_posix_options_00145a68" * (cast_expression "(code *)PTR_set_posix_options_00145a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + iVar7 + 1)" ( (binary_expression "param_1 + iVar7 + 1" (binary_expression "param_1 + iVar7" identifier + identifier) + number_literal) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (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 == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void set_current_options(int param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "set_current_options(int param_1)" (identifier "set_current_options") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (if_statement "if (param_1 != 0) {\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = 0x61;\n    iVar7 = 0;\n    puVar5 = PTR_DAT_001445ac + -0x6434;\n    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);\n    puVar8 = PTR_DAT_001445ac + -0x640c;\n    while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }\n                    \n                    \n    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);\n    return;\n  }" ({ "{") (expression_statement "iVar3 = 0x61;" (assignment_expression "iVar3 = 0x61" (identifier "iVar3") (= "=") (number_literal "0x61")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = PTR_DAT_001445ac + -0x6434;" (assignment_expression "puVar5 = PTR_DAT_001445ac + -0x6434" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_001445ac + -0x6434" (identifier "PTR_DAT_001445ac") (+ "+") (number_literal "-0x6434"))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);" (assignment_expression "puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(PTR_o_options_00145a58 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_o_options_00145a58 + 8)" (( "(") (binary_expression "PTR_o_options_00145a58 + 8" (identifier "PTR_o_options_00145a58") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "puVar8 = PTR_DAT_001445ac + -0x640c;" (assignment_expression "puVar8 = PTR_DAT_001445ac + -0x640c" (identifier "puVar8") (= "=") (binary_expression "PTR_DAT_001445ac + -0x640c" (identifier "PTR_DAT_001445ac") (+ "+") (number_literal "-0x640c"))) (; ";")) (while_statement "while( true ) {\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      cVar2 = *(char *)(param_1 + iVar7);\n      if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }\n      if (puVar8 == (undefined *)0x0) break;\n      iVar7 = iVar7 + 1;\n      iVar3 = puVar6[4];\n      puVar1 = puVar6 + 8;\n      puVar5 = puVar8;\n      puVar6 = puVar6 + 5;\n      puVar8 = (undefined *)*puVar1;\n    }" ({ "{") (expression_statement "cVar2 = *(char *)(param_1 + iVar7);" (assignment_expression "cVar2 = *(char *)(param_1 + iVar7)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(param_1 + iVar7)" (* "*") (cast_expression "(char *)(param_1 + iVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar7)" (( "(") (binary_expression "param_1 + iVar7" (identifier "param_1") (+ "+") (identifier "iVar7")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }\n      else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }\n      }" ({ "{") (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" (identifier "uVar4") (= "=") (number_literal "0x2b")) (; ";")) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          uVar4 = 0x2d;\n        }" ({ "{") (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" (identifier "uVar4") (= "=") (number_literal "0x2d")) (; ";")) (} "}"))) (if_statement "if ((code *)puVar6[1] == (code *)0x0) {\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }\n        else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" (if "if") (parenthesized_expression "((code *)puVar6[1] == (code *)0x0)" (( "(") (binary_expression "(code *)puVar6[1] == (code *)0x0" (cast_expression "(code *)puVar6[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar4 = 0x2d;\n          if (cVar2 == '\0') {\n            uVar4 = 0;\n          }\n          *(undefined4 *)*puVar6 = uVar4;\n        }" ({ "{") (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" (identifier "uVar4") (= "=") (number_literal "0x2d")) (; ";")) (if_statement "if (cVar2 == '\0') {\n            uVar4 = 0;\n          }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar4 = 0;\n          }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)*puVar6 = uVar4;" (assignment_expression "*(undefined4 *)*puVar6 = uVar4" (pointer_expression "*(undefined4 *)*puVar6" (* "*") (cast_expression "(undefined4 *)*puVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (= "=") (identifier "uVar4")) (; ";")) (} "}")) (else_clause "else {\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" (else "else") (compound_statement "{\n          (*(code *)puVar6[1])(uVar4,puVar5);\n        }" ({ "{") (expression_statement "(*(code *)puVar6[1])(uVar4,puVar5);" (call_expression "(*(code *)puVar6[1])(uVar4,puVar5)" (parenthesized_expression "(*(code *)puVar6[1])" (( "(") (pointer_expression "*(code *)puVar6[1]" (* "*") (cast_expression "(code *)puVar6[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")))) () ")")) (argument_list "(uVar4,puVar5)" (( "(") (identifier "uVar4") (, ",") (identifier "puVar5") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" (else "else") (compound_statement "{\n        uVar4 = 0x2b;\n        if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }\n        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);\n      }" ({ "{") (expression_statement "uVar4 = 0x2b;" (assignment_expression "uVar4 = 0x2b" (identifier "uVar4") (= "=") (number_literal "0x2b")) (; ";")) (if_statement "if (cVar2 != '\0') {\n          uVar4 = 0x2d;\n        }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          uVar4 = 0x2d;\n        }" ({ "{") (expression_statement "uVar4 = 0x2d;" (assignment_expression "uVar4 = 0x2d" (identifier "uVar4") (= "=") (number_literal "0x2d")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4);" (call_expression "(*(code *)PTR_change_flag_00144718)(iVar3,uVar4)" (parenthesized_expression "(*(code *)PTR_change_flag_00144718)" (( "(") (pointer_expression "*(code *)PTR_change_flag_00144718" (* "*") (cast_expression "(code *)PTR_change_flag_00144718" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_change_flag_00144718"))) () ")")) (argument_list "(iVar3,uVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}")))) (if_statement "if (puVar8 == (undefined *)0x0) break;" (if "if") (parenthesized_expression "(puVar8 == (undefined *)0x0)" (( "(") (binary_expression "puVar8 == (undefined *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = puVar6[4];" (assignment_expression "iVar3 = puVar6[4]" (identifier "iVar3") (= "=") (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar1 = puVar6 + 8;" (assignment_expression "puVar1 = puVar6 + 8" (identifier "puVar1") (= "=") (binary_expression "puVar6 + 8" (identifier "puVar6") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" (identifier "puVar5") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puVar6 = puVar6 + 5;" (assignment_expression "puVar6 = puVar6 + 5" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 5" (identifier "puVar6") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "puVar8 = (undefined *)*puVar1;" (assignment_expression "puVar8 = (undefined *)*puVar1" (identifier "puVar8") (= "=") (cast_expression "(undefined *)*puVar1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);" (call_expression "(*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_set_posix_options_00145a68)" (( "(") (pointer_expression "*(code *)PTR_set_posix_options_00145a68" (* "*") (cast_expression "(code *)PTR_set_posix_options_00145a68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_set_posix_options_00145a68"))) () ")")) (argument_list "(param_1 + iVar7 + 1)" (( "(") (binary_expression "param_1 + iVar7 + 1" (binary_expression "param_1 + iVar7" (identifier "param_1") (+ "+") (identifier "iVar7")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) arguments: (argument_list (identifier) (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))) (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: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))))))) (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 (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) (return_statement))) (return_statement))))

void MASKED(int param_1)

{
  undefined4 *puVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined4 *puVar6;
  int iVar7;
  undefined *puVar8;
  
  if (param_1 != 0) {
    iVar3 = 0x61;
    iVar7 = 0;
    puVar5 = PTR_DAT_001445ac + -0x6434;
    puVar6 = (undefined4 *)(PTR_o_options_00145a58 + 8);
    puVar8 = PTR_DAT_001445ac + -0x640c;
    while( true ) {
      cVar2 = *(char *)(param_1 + iVar7);
      if (iVar3 == 0) {
        uVar4 = 0x2b;
        if (cVar2 != '\0') {
          uVar4 = 0x2d;
        }
        if ((code *)puVar6[1] == (code *)0x0) {
          uVar4 = 0x2d;
          if (cVar2 == '\0') {
            uVar4 = 0;
          }
          *(undefined4 *)*puVar6 = uVar4;
        }
        else {
          (*(code *)puVar6[1])(uVar4,puVar5);
        }
      }
      else {
        uVar4 = 0x2b;
        if (cVar2 != '\0') {
          uVar4 = 0x2d;
        }
        (*(code *)PTR_change_flag_00144718)(iVar3,uVar4);
      }
      if (puVar8 == (undefined *)0x0) break;
      iVar7 = iVar7 + 1;
      iVar3 = puVar6[4];
      puVar1 = puVar6 + 8;
      puVar5 = puVar8;
      puVar6 = puVar6 + 5;
      puVar8 = (undefined *)*puVar1;
    }
                    /* WARNING: Could not recover jumptable at 0x000c12ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_set_posix_options_00145a68)(param_1 + iVar7 + 1);
    return;
  }
  return;
}

