
char * host_strrchr(char *s,int c)

{
  int iVar1;
  char *pcVar2;
  int *piVar3;
  uint uVar4;
  undefined *puVar5;
  code *pcVar6;
  char set [2];
  
  puVar5 = PTR___stack_chk_guard_000b2f04;
  set[0] = (char)c;
  set[1] = '\0';
  iVar1 = *(int *)PTR___stack_chk_guard_000b2f04;
  pcVar2 = host_strchr_internal(s,set,0);
  if (iVar1 == *(int *)puVar5) {
    return pcVar2;
  }
  puVar5 = PTR___stack_chk_fail_000b2ed8;
  (*(code *)PTR___stack_chk_fail_000b2ed8)();
  if (*(int *)(iVar1 + 0x14) != 0) {
    uVar4 = 0;
    do {
      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);
      uVar4 = uVar4 + 1;
      if ((void *)piVar3[2] != (void *)0x0) {
        pcVar6 = *(code **)(puVar5 + 0x92e1c);
        if (piVar3[3] != 0) {
          smemclr((void *)piVar3[2],piVar3[3]);
          if (piVar3[2] == 0) goto LAB_00020140;
          pcVar6 = *(code **)(puVar5 + 0x92e1c);
        }
        (*pcVar6)();
      }
LAB_00020140:
      if (*piVar3 != 0) {
        (**(code **)(puVar5 + 0x92e1c))();
      }
      (**(code **)(puVar5 + 0x92e1c))(piVar3);
    } while (uVar4 < *(uint *)(iVar1 + 0x14));
  }
  if (*(int *)(iVar1 + 0x18) != 0) {
    (**(code **)(puVar5 + 0x92e1c))();
  }
  if (*(int *)(iVar1 + 4) != 0) {
    (**(code **)(puVar5 + 0x92e1c))();
  }
  if (*(int *)(iVar1 + 0xc) != 0) {
    (**(code **)(puVar5 + 0x92e1c))();
  }
                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  pcVar2 = (char *)(**(code **)(puVar5 + 0x92e1c))(iVar1);
  return pcVar2;
}



void host_strrchr(undefined4 param_1,undefined1 param_2)

{
  int iVar1;
  int *piVar2;
  uint uVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined1 local_10;
  undefined1 local_f;
  int local_c;
  
  puVar4 = PTR___stack_chk_guard_000b2f04;
  local_f = 0;
  local_c = *(int *)PTR___stack_chk_guard_000b2f04;
  local_10 = param_2;
  FUN_0001fc20(param_1,&local_10,0);
  if (local_c == *(int *)puVar4) {
    return;
  }
  iVar1 = local_c;
  puVar4 = PTR___stack_chk_fail_000b2ed8;
  (*(code *)PTR___stack_chk_fail_000b2ed8)();
  if (*(int *)(iVar1 + 0x14) != 0) {
    uVar3 = 0;
    do {
      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);
      uVar3 = uVar3 + 1;
      if (piVar2[2] != 0) {
        pcVar5 = *(code **)(puVar4 + 0x92e1c);
        if (piVar2[3] != 0) {
          FUN_0001fd24();
          if (piVar2[2] == 0) goto LAB_00020140;
          pcVar5 = *(code **)(puVar4 + 0x92e1c);
        }
        (*pcVar5)();
      }
LAB_00020140:
      if (*piVar2 != 0) {
        (**(code **)(puVar4 + 0x92e1c))();
      }
      (**(code **)(puVar4 + 0x92e1c))(piVar2);
    } while (uVar3 < *(uint *)(iVar1 + 0x14));
  }
  if (*(int *)(iVar1 + 0x18) != 0) {
    (**(code **)(puVar4 + 0x92e1c))();
  }
  if (*(int *)(iVar1 + 4) != 0) {
    (**(code **)(puVar4 + 0x92e1c))();
  }
  if (*(int *)(iVar1 + 0xc) != 0) {
    (**(code **)(puVar4 + 0x92e1c))();
  }
                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar4 + 0x92e1c))(iVar1);
  return;
}


lui gp,0xa
addiu gp,gp,-0x5d0c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7fcc(gp)
or a2,zero,zero
sw s0,0x20(sp)
addiu t9,t9,-0x3e0
lw s0,-0x746c(gp)
sb a1,0x18(sp)
addiu a1,sp,0x18
sw gp,0x10(sp)
sw ra,0x24(sp)
sb zero,0x19(sp)
lw v0,0x0(s0)
sw v0,0x1c(sp)
bal 0x0001fc20
_nop
lw a0,0x1c(sp)
lw v1,0x0(s0)
bne a0,v1,0x000200e4
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7498(gp)
jalr t9
_nop
(translation_unit "void host_strrchr(undefined4 param_1,undefined1 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}\n\n" (function_definition "void host_strrchr(undefined4 param_1,undefined1 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}" primitive_type (function_declarator "host_strrchr(undefined4 param_1,undefined1 param_2)" identifier (parameter_list "(undefined4 param_1,undefined1 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined1 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 local_10;" type_identifier identifier ;) (declaration "undefined1 local_f;" type_identifier identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar4 = PTR___stack_chk_guard_000b2f04" identifier = identifier) ;) (expression_statement "local_f = 0;" (assignment_expression "local_f = 0" identifier = number_literal) ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000b2f04;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000b2f04" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b2f04" * (cast_expression "(int *)PTR___stack_chk_guard_000b2f04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" identifier = identifier) ;) (expression_statement "FUN_0001fc20(param_1,&local_10,0);" (call_expression "FUN_0001fc20(param_1,&local_10,0)" identifier (argument_list "(param_1,&local_10,0)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal ))) ;) (if_statement "if (local_c == *(int *)puVar4) {\n    return;\n  }" if (parenthesized_expression "(local_c == *(int *)puVar4)" ( (binary_expression "local_c == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_000b2ed8;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000b2ed8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" * (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));" do (compound_statement "{\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    }" { (expression_statement "piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);" (assignment_expression "piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" * (cast_expression "(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + 0x18) + uVar3 * 4)" ( (binary_expression "*(int *)(iVar1 + 0x18) + uVar3 * 4" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }" if (parenthesized_expression "(piVar2[2] != 0)" ( (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }" { (expression_statement "pcVar5 = *(code **)(puVar4 + 0x92e1c);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x92e1c)" identifier = (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) ;) (if_statement "if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }" if (parenthesized_expression "(piVar2[3] != 0)" ( (binary_expression "piVar2[3] != 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }" { (expression_statement "FUN_0001fd24();" (call_expression "FUN_0001fd24()" identifier (argument_list "()" ( ))) ;) (if_statement "if (piVar2[2] == 0) goto LAB_00020140;" if (parenthesized_expression "(piVar2[2] == 0)" ( (binary_expression "piVar2[2] == 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00020140;" goto statement_identifier ;)) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x92e1c);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x92e1c)" identifier = (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" statement_identifier : (if_statement "if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "(**(code **)(puVar4 + 0x92e1c))(piVar2);" (call_expression "(**(code **)(puVar4 + 0x92e1c))(piVar2)" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) }) while (parenthesized_expression "(uVar3 < *(uint *)(iVar1 + 0x14))" ( (binary_expression "uVar3 < *(uint *)(iVar1 + 0x14)" identifier < (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) )) ;) })) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) comment comment (expression_statement "(**(code **)(puVar4 + 0x92e1c))(iVar1);" (call_expression "(**(code **)(puVar4 + 0x92e1c))(iVar1)" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "char * host_strrchr(char *s,int c)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int *piVar3;\n  uint uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  char set [2];\n  \n  puVar5 = PTR___stack_chk_guard_000b2f04;\n  set[0] = (char)c;\n  set[1] = '\0';\n  iVar1 = *(int *)PTR___stack_chk_guard_000b2f04;\n  pcVar2 = host_strchr_internal(s,set,0);\n  if (iVar1 == *(int *)puVar5) {\n    return pcVar2;\n  }\n  puVar5 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar4 = 0;\n    do {\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    } while (uVar4 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pcVar2 = (char *)(**(code **)(puVar5 + 0x92e1c))(iVar1);\n  return pcVar2;\n}\n\n" (function_definition "char * host_strrchr(char *s,int c)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int *piVar3;\n  uint uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  char set [2];\n  \n  puVar5 = PTR___stack_chk_guard_000b2f04;\n  set[0] = (char)c;\n  set[1] = '\0';\n  iVar1 = *(int *)PTR___stack_chk_guard_000b2f04;\n  pcVar2 = host_strchr_internal(s,set,0);\n  if (iVar1 == *(int *)puVar5) {\n    return pcVar2;\n  }\n  puVar5 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar4 = 0;\n    do {\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    } while (uVar4 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pcVar2 = (char *)(**(code **)(puVar5 + 0x92e1c))(iVar1);\n  return pcVar2;\n}" primitive_type (pointer_declarator "* host_strrchr(char *s,int c)" * (function_declarator "host_strrchr(char *s,int c)" identifier (parameter_list "(char *s,int c)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "int c" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int *piVar3;\n  uint uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  char set [2];\n  \n  puVar5 = PTR___stack_chk_guard_000b2f04;\n  set[0] = (char)c;\n  set[1] = '\0';\n  iVar1 = *(int *)PTR___stack_chk_guard_000b2f04;\n  pcVar2 = host_strchr_internal(s,set,0);\n  if (iVar1 == *(int *)puVar5) {\n    return pcVar2;\n  }\n  puVar5 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar4 = 0;\n    do {\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    } while (uVar4 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pcVar2 = (char *)(**(code **)(puVar5 + 0x92e1c))(iVar1);\n  return pcVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char set [2];" primitive_type (array_declarator "set [2]" identifier [ number_literal ]) ;) (expression_statement "puVar5 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar5 = PTR___stack_chk_guard_000b2f04" identifier = identifier) ;) (expression_statement "set[0] = (char)c;" (assignment_expression "set[0] = (char)c" (subscript_expression "set[0]" identifier [ number_literal ]) = (cast_expression "(char)c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "set[1] = '\0';" (assignment_expression "set[1] = '\0'" (subscript_expression "set[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b2f04;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b2f04" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b2f04" * (cast_expression "(int *)PTR___stack_chk_guard_000b2f04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar2 = host_strchr_internal(s,set,0);" (assignment_expression "pcVar2 = host_strchr_internal(s,set,0)" identifier = (call_expression "host_strchr_internal(s,set,0)" identifier (argument_list "(s,set,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 == *(int *)puVar5) {\n    return pcVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar5)" ( (binary_expression "iVar1 == *(int *)puVar5" identifier == (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return pcVar2;\n  }" { (return_statement "return pcVar2;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_000b2ed8;" (assignment_expression "puVar5 = PTR___stack_chk_fail_000b2ed8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" * (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar4 = 0;\n    do {\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    } while (uVar4 < *(uint *)(iVar1 + 0x14));\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    do {\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    } while (uVar4 < *(uint *)(iVar1 + 0x14));\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    } while (uVar4 < *(uint *)(iVar1 + 0x14));" do (compound_statement "{\n      piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);\n      uVar4 = uVar4 + 1;\n      if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }\nLAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }\n      (**(code **)(puVar5 + 0x92e1c))(piVar3);\n    }" { (expression_statement "piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4)" * (cast_expression "(int **)(*(int *)(iVar1 + 0x18) + uVar4 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + 0x18) + uVar4 * 4)" ( (binary_expression "*(int *)(iVar1 + 0x18) + uVar4 * 4" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar4 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (if_statement "if ((void *)piVar3[2] != (void *)0x0) {\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }" if (parenthesized_expression "((void *)piVar3[2] != (void *)0x0)" ( (binary_expression "(void *)piVar3[2] != (void *)0x0" (cast_expression "(void *)piVar3[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }\n        (*pcVar6)();\n      }" { (expression_statement "pcVar6 = *(code **)(puVar5 + 0x92e1c);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x92e1c)" identifier = (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) ;) (if_statement "if (piVar3[3] != 0) {\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }" if (parenthesized_expression "(piVar3[3] != 0)" ( (binary_expression "piVar3[3] != 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          smemclr((void *)piVar3[2],piVar3[3]);\n          if (piVar3[2] == 0) goto LAB_00020140;\n          pcVar6 = *(code **)(puVar5 + 0x92e1c);\n        }" { (expression_statement "smemclr((void *)piVar3[2],piVar3[3]);" (call_expression "smemclr((void *)piVar3[2],piVar3[3])" identifier (argument_list "((void *)piVar3[2],piVar3[3])" ( (cast_expression "(void *)piVar3[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) , (subscript_expression "piVar3[3]" identifier [ number_literal ]) ))) ;) (if_statement "if (piVar3[2] == 0) goto LAB_00020140;" if (parenthesized_expression "(piVar3[2] == 0)" ( (binary_expression "piVar3[2] == 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00020140;" goto statement_identifier ;)) (expression_statement "pcVar6 = *(code **)(puVar5 + 0x92e1c);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x92e1c)" identifier = (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_00020140:\n      if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }" statement_identifier : (if_statement "if (*piVar3 != 0) {\n        (**(code **)(puVar5 + 0x92e1c))();\n      }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n        (**(code **)(puVar5 + 0x92e1c))();\n      }" { (expression_statement "(**(code **)(puVar5 + 0x92e1c))();" (call_expression "(**(code **)(puVar5 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar5 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar5 + 0x92e1c)" * (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "(**(code **)(puVar5 + 0x92e1c))(piVar3);" (call_expression "(**(code **)(puVar5 + 0x92e1c))(piVar3)" (parenthesized_expression "(**(code **)(puVar5 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar5 + 0x92e1c)" * (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier ))) ;) }) while (parenthesized_expression "(uVar4 < *(uint *)(iVar1 + 0x14))" ( (binary_expression "uVar4 < *(uint *)(iVar1 + 0x14)" identifier < (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) )) ;) })) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar5 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x92e1c))();" (call_expression "(**(code **)(puVar5 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar5 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar5 + 0x92e1c)" * (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar5 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x92e1c))();" (call_expression "(**(code **)(puVar5 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar5 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar5 + 0x92e1c)" * (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar5 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar5 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x92e1c))();" (call_expression "(**(code **)(puVar5 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar5 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar5 + 0x92e1c)" * (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) comment comment (expression_statement "pcVar2 = (char *)(**(code **)(puVar5 + 0x92e1c))(iVar1);" (assignment_expression "pcVar2 = (char *)(**(code **)(puVar5 + 0x92e1c))(iVar1)" identifier = (cast_expression "(char *)(**(code **)(puVar5 + 0x92e1c))(iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar5 + 0x92e1c))(iVar1)" (parenthesized_expression "(**(code **)(puVar5 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar5 + 0x92e1c)" * (pointer_expression "*(code **)(puVar5 + 0x92e1c)" * (cast_expression "(code **)(puVar5 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x92e1c)" ( (binary_expression "puVar5 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier ))))) ;) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "void host_strrchr(undefined4 param_1,undefined1 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    \n                    \n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}\n\n" (function_definition "void host_strrchr(undefined4 param_1,undefined1 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    \n                    \n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}" primitive_type (function_declarator "host_strrchr(undefined4 param_1,undefined1 param_2)" identifier (parameter_list "(undefined4 param_1,undefined1 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined1 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    \n                    \n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 local_10;" type_identifier identifier ;) (declaration "undefined1 local_f;" type_identifier identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar4 = PTR___stack_chk_guard_000b2f04" identifier = identifier) ;) (expression_statement "local_f = 0;" (assignment_expression "local_f = 0" identifier = number_literal) ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000b2f04;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000b2f04" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b2f04" * (cast_expression "(int *)PTR___stack_chk_guard_000b2f04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" identifier = identifier) ;) (expression_statement "FUN_0001fc20(param_1,&local_10,0);" (call_expression "FUN_0001fc20(param_1,&local_10,0)" identifier (argument_list "(param_1,&local_10,0)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal ))) ;) (if_statement "if (local_c == *(int *)puVar4) {\n    return;\n  }" if (parenthesized_expression "(local_c == *(int *)puVar4)" ( (binary_expression "local_c == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_000b2ed8;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000b2ed8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" * (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));" do (compound_statement "{\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    }" { (expression_statement "piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);" (assignment_expression "piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" * (cast_expression "(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + 0x18) + uVar3 * 4)" ( (binary_expression "*(int *)(iVar1 + 0x18) + uVar3 * 4" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }" if (parenthesized_expression "(piVar2[2] != 0)" ( (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }" { (expression_statement "pcVar5 = *(code **)(puVar4 + 0x92e1c);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x92e1c)" identifier = (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) ;) (if_statement "if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }" if (parenthesized_expression "(piVar2[3] != 0)" ( (binary_expression "piVar2[3] != 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }" { (expression_statement "FUN_0001fd24();" (call_expression "FUN_0001fd24()" identifier (argument_list "()" ( ))) ;) (if_statement "if (piVar2[2] == 0) goto LAB_00020140;" if (parenthesized_expression "(piVar2[2] == 0)" ( (binary_expression "piVar2[2] == 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00020140;" goto statement_identifier ;)) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x92e1c);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x92e1c)" identifier = (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" statement_identifier : (if_statement "if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "(**(code **)(puVar4 + 0x92e1c))(piVar2);" (call_expression "(**(code **)(puVar4 + 0x92e1c))(piVar2)" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) }) while (parenthesized_expression "(uVar3 < *(uint *)(iVar1 + 0x14))" ( (binary_expression "uVar3 < *(uint *)(iVar1 + 0x14)" identifier < (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) )) ;) })) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" { (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "(**(code **)(puVar4 + 0x92e1c))(iVar1);" (call_expression "(**(code **)(puVar4 + 0x92e1c))(iVar1)" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" ( (pointer_expression "**(code **)(puVar4 + 0x92e1c)" * (pointer_expression "*(code **)(puVar4 + 0x92e1c)" * (cast_expression "(code **)(puVar4 + 0x92e1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x92e1c)" ( (binary_expression "puVar4 + 0x92e1c" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void host_strrchr(undefined4 param_1,undefined1 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    \n                    \n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}" (primitive_type "void") (function_declarator "host_strrchr(undefined4 param_1,undefined1 param_2)" (identifier "host_strrchr") (parameter_list "(undefined4 param_1,undefined1 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 param_2" (type_identifier "undefined1") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 local_10;\n  undefined1 local_f;\n  int local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000b2f04;\n  local_f = 0;\n  local_c = *(int *)PTR___stack_chk_guard_000b2f04;\n  local_10 = param_2;\n  FUN_0001fc20(param_1,&local_10,0);\n  if (local_c == *(int *)puVar4) {\n    return;\n  }\n  iVar1 = local_c;\n  puVar4 = PTR___stack_chk_fail_000b2ed8;\n  (*(code *)PTR___stack_chk_fail_000b2ed8)();\n  if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }\n  if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n  if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }\n                    \n                    \n  (**(code **)(puVar4 + 0x92e1c))(iVar1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined1 local_10;" (type_identifier "undefined1") (identifier "local_10") (; ";")) (declaration "undefined1 local_f;" (type_identifier "undefined1") (identifier "local_f") (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "puVar4 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar4 = PTR___stack_chk_guard_000b2f04" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_guard_000b2f04")) (; ";")) (expression_statement "local_f = 0;" (assignment_expression "local_f = 0" (identifier "local_f") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000b2f04;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000b2f04" (identifier "local_c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b2f04" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b2f04" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b2f04")))) (; ";")) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" (identifier "local_10") (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_0001fc20(param_1,&local_10,0);" (call_expression "FUN_0001fc20(param_1,&local_10,0)" (identifier "FUN_0001fc20") (argument_list "(param_1,&local_10,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_c == *(int *)puVar4) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_c == *(int *)puVar4)" (( "(") (binary_expression "local_c == *(int *)puVar4" (identifier "local_c") (== "==") (pointer_expression "*(int *)puVar4" (* "*") (cast_expression "(int *)puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" (identifier "iVar1") (= "=") (identifier "local_c")) (; ";")) (expression_statement "puVar4 = PTR___stack_chk_fail_000b2ed8;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000b2ed8" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_fail_000b2ed8")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b2ed8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x14) != 0) {\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 0;\n    do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    } while (uVar3 < *(uint *)(iVar1 + 0x14));" (do "do") (compound_statement "{\n      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);\n      uVar3 = uVar3 + 1;\n      if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }\nLAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }\n      (**(code **)(puVar4 + 0x92e1c))(piVar2);\n    }" ({ "{") (expression_statement "piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);" (assignment_expression "piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" (* "*") (cast_expression "(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x18) + uVar3 * 4)" (( "(") (binary_expression "*(int *)(iVar1 + 0x18) + uVar3 * 4" (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar2[2] != 0) {\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }" (if "if") (parenthesized_expression "(piVar2[2] != 0)" (( "(") (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }\n        (*pcVar5)();\n      }" ({ "{") (expression_statement "pcVar5 = *(code **)(puVar4 + 0x92e1c);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x92e1c)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) (; ";")) (if_statement "if (piVar2[3] != 0) {\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }" (if "if") (parenthesized_expression "(piVar2[3] != 0)" (( "(") (binary_expression "piVar2[3] != 0" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_0001fd24();\n          if (piVar2[2] == 0) goto LAB_00020140;\n          pcVar5 = *(code **)(puVar4 + 0x92e1c);\n        }" ({ "{") (expression_statement "FUN_0001fd24();" (call_expression "FUN_0001fd24()" (identifier "FUN_0001fd24") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (piVar2[2] == 0) goto LAB_00020140;" (if "if") (parenthesized_expression "(piVar2[2] == 0)" (( "(") (binary_expression "piVar2[2] == 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00020140;" (goto "goto") (statement_identifier "LAB_00020140") (; ";"))) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x92e1c);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x92e1c)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00020140:\n      if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" (statement_identifier "LAB_00020140") (: ":") (if_statement "if (*piVar2 != 0) {\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" (if "if") (parenthesized_expression "(*piVar2 != 0)" (( "(") (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(puVar4 + 0x92e1c))();\n      }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x92e1c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar4 + 0x92e1c))(piVar2);" (call_expression "(**(code **)(puVar4 + 0x92e1c))(piVar2)" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x92e1c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < *(uint *)(iVar1 + 0x14))" (( "(") (binary_expression "uVar3 < *(uint *)(iVar1 + 0x14)" (identifier "uVar3") (< "<") (pointer_expression "*(uint *)(iVar1 + 0x14)" (* "*") (cast_expression "(uint *)(iVar1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x92e1c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x92e1c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0xc) != 0) {\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar4 + 0x92e1c))();\n  }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0x92e1c))();" (call_expression "(**(code **)(puVar4 + 0x92e1c))()" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x92e1c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar4 + 0x92e1c))(iVar1);" (call_expression "(**(code **)(puVar4 + 0x92e1c))(iVar1)" (parenthesized_expression "(**(code **)(puVar4 + 0x92e1c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x92e1c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x92e1c)" (* "*") (cast_expression "(code **)(puVar4 + 0x92e1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x92e1c)" (( "(") (binary_expression "puVar4 + 0x92e1c" (identifier "puVar4") (+ "+") (number_literal "0x92e1c")) () ")"))))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

char * function_1(char *s,int c)

{
  int var_2;
  char *pcVar2;
  int *piVar3;
  type_1 var_3;
  type_2 *var_4;
  type_3 *pcVar6;
  char set [2];
  
  var_4 = PTR___stack_chk_guard_000b2f04;
  set[0] = (char)c;
  set[1] = '\0';
  var_2 = *(int *)PTR___stack_chk_guard_000b2f04;
  pcVar2 = var_1(s,set,0);
  if (var_2 == *(int *)var_4) {
    return pcVar2;
  }
  var_4 = PTR___stack_chk_fail_000b2ed8;
  (*(type_3 *)PTR___stack_chk_fail_000b2ed8)();
  if (*(int *)(var_2 + 0x14) != 0) {
    var_3 = 0;
    do {
      piVar3 = *(int **)(*(int *)(var_2 + 0x18) + var_3 * 4);
      var_3 = var_3 + 1;
      if ((void *)piVar3[2] != (void *)0x0) {
        pcVar6 = *(type_3 **)(var_4 + 0x92e1c);
        if (piVar3[3] != 0) {
          var_5((void *)piVar3[2],piVar3[3]);
          if (piVar3[2] == 0) goto LAB_00020140;
          pcVar6 = *(type_3 **)(var_4 + 0x92e1c);
        }
        (*pcVar6)();
      }
LAB_00020140:
      if (*piVar3 != 0) {
        (**(type_3 **)(var_4 + 0x92e1c))();
      }
      (**(type_3 **)(var_4 + 0x92e1c))(piVar3);
    } while (var_3 < *(type_1 *)(var_2 + 0x14));
  }
  if (*(int *)(var_2 + 0x18) != 0) {
    (**(type_3 **)(var_4 + 0x92e1c))();
  }
  if (*(int *)(var_2 + 4) != 0) {
    (**(type_3 **)(var_4 + 0x92e1c))();
  }
  if (*(int *)(var_2 + 0xc) != 0) {
    (**(type_3 **)(var_4 + 0x92e1c))();
  }
                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  pcVar2 = (char *)(**(type_3 **)(var_4 + 0x92e1c))(var_2);
  return pcVar2;
}


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

void MASKED(undefined4 param_1,undefined1 param_2)

{
  int iVar1;
  int *piVar2;
  uint uVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined1 local_10;
  undefined1 local_f;
  int local_c;
  
  puVar4 = PTR___stack_chk_guard_000b2f04;
  local_f = 0;
  local_c = *(int *)PTR___stack_chk_guard_000b2f04;
  local_10 = param_2;
  FUN_0001fc20(param_1,&local_10,0);
  if (local_c == *(int *)puVar4) {
    return;
  }
  iVar1 = local_c;
  puVar4 = PTR___stack_chk_fail_000b2ed8;
  (*(code *)PTR___stack_chk_fail_000b2ed8)();
  if (*(int *)(iVar1 + 0x14) != 0) {
    uVar3 = 0;
    do {
      piVar2 = *(int **)(*(int *)(iVar1 + 0x18) + uVar3 * 4);
      uVar3 = uVar3 + 1;
      if (piVar2[2] != 0) {
        pcVar5 = *(code **)(puVar4 + 0x92e1c);
        if (piVar2[3] != 0) {
          FUN_0001fd24();
          if (piVar2[2] == 0) goto LAB_00020140;
          pcVar5 = *(code **)(puVar4 + 0x92e1c);
        }
        (*pcVar5)();
      }
LAB_00020140:
      if (*piVar2 != 0) {
        (**(code **)(puVar4 + 0x92e1c))();
      }
      (**(code **)(puVar4 + 0x92e1c))(piVar2);
    } while (uVar3 < *(uint *)(iVar1 + 0x14));
  }
  if (*(int *)(iVar1 + 0x18) != 0) {
    (**(code **)(puVar4 + 0x92e1c))();
  }
  if (*(int *)(iVar1 + 4) != 0) {
    (**(code **)(puVar4 + 0x92e1c))();
  }
  if (*(int *)(iVar1 + 0xc) != 0) {
    (**(code **)(puVar4 + 0x92e1c))();
  }
                    /* WARNING: Could not recover jumptable at 0x00020220. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar4 + 0x92e1c))(iVar1);
  return;
}

