
void phash_insert(char *filename,char *full_path,int check_dot,int found)

{
  undefined *puVar1;
  BUCKET_CONTENTS *pBVar2;
  int iVar3;
  undefined4 uVar4;
  char *pcVar5;
  void *pvVar6;
  HASH_TABLE *table;
  undefined4 *puVar7;
  
  puVar1 = PTR_hashed_filenames_00144ea4;
  if (*(int *)PTR_hashing_enabled_00145128 != 0) {
    table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;
    if (table == (HASH_TABLE *)0x0) {
      table = hash_create(0x40);
      *(HASH_TABLE **)puVar1 = table;
    }
    pBVar2 = hash_insert(filename,table,0);
    if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {
      iVar3 = (*(code *)PTR_strlen_00146390)(filename);
      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);
      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);
      puVar1 = PTR_xmalloc_001445b0;
      pBVar2->key = pcVar5;
      pvVar6 = (void *)(*(code *)puVar1)(8);
      pBVar2->data = pvVar6;
    }
    else {
                    /* WARNING: Load size is inaccurate */
      (*(code *)PTR_free_001464fc)(*pBVar2->data);
    }
    iVar3 = (*(code *)PTR_strlen_00146390)(full_path);
    uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);
    puVar7 = (undefined4 *)pBVar2->data;
    uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);
    pvVar6 = pBVar2->data;
    *puVar7 = uVar4;
    if (check_dot == 0) {
      *(undefined4 *)((int)pvVar6 + 4) = 0;
    }
    else {
      *(undefined4 *)((int)pvVar6 + 4) = 2;
    }
    if (*full_path != '/') {
      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;
    }
    pBVar2->times_found = found;
  }
  return;
}



void phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 *puVar5;
  
  puVar1 = PTR_hashed_filenames_00144ea4;
  if (*(int *)PTR_hashing_enabled_00145128 != 0) {
    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;
    if (iVar4 == 0) {
      iVar4 = hash_create(0x40);
      *(int *)puVar1 = iVar4;
    }
    iVar4 = hash_insert(param_1,iVar4,0);
    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {
      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);
      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);
      puVar1 = PTR_xmalloc_001445b0;
      *(undefined4 *)(iVar4 + 4) = uVar3;
      uVar3 = (*(code *)puVar1)(8);
      *(undefined4 *)(iVar4 + 8) = uVar3;
    }
    else {
      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));
    }
    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);
    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
    puVar5 = *(undefined4 **)(iVar4 + 8);
    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);
    iVar2 = *(int *)(iVar4 + 8);
    *puVar5 = uVar3;
    if (param_3 == 0) {
      *(undefined4 *)(iVar2 + 4) = 0;
    }
    else {
      *(undefined4 *)(iVar2 + 4) = 2;
    }
    if (*param_2 != '/') {
      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;
    }
    *(undefined4 *)(iVar4 + 0x10) = param_4;
  }
  return;
}


lui gp,0xc
addiu gp,gp,0x6bb4
addu gp,gp,t9
lw v0,-0x7418(gp)
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw v0,0x0(v0)
beq v0,zero,0x00085a74
_lw s1,-0x769c(gp)
or s0,a1,zero
or s3,a3,zero
or s4,a2,zero
lw a1,0x0(s1)
beq a1,zero,0x00085af0
_or s2,a0,zero
lw t9,-0x7574(gp)
or a2,zero,zero
bal 0x000863a4
_or a0,s2,zero
or s1,v0,zero
lw v0,0x8(v0)
beq v0,zero,0x00085aa0
_lw gp,0x10(sp)
lw t9,-0x6044(gp)
jalr t9
_lw a0,0x0(v0)
lw gp,0x10(sp)
lw t9,-0x61b0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x6128(gp)
jalr t9
_lw s2,0x8(s1)
lw v1,0x8(s1)
bne s4,zero,0x00085a94
_sw v0,0x0(s2)
sw zero,0x4(v1)
lb a0,0x0(s0)
li v0,0x2f
beq a0,v0,0x00085a70
_nop
lw v0,0x4(v1)
ori v0,v0,0x1
sw v0,0x4(v1)
sw s3,0x10(s1)
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
li v0,0x2
b 0x00085a54
_sw v0,0x4(v1)
lw t9,-0x61b0(gp)
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
or a1,s2,zero
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_or a0,v0,zero
li a0,0x8
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_sw v0,0x4(s1)
lw gp,0x10(sp)
b 0x00085a10
_sw v0,0x8(s1)
lw t9,-0x76a4(gp)
bal 0x00085cf0
_li a0,0x40
lw gp,0x10(sp)
or a1,v0,zero
b 0x000859e0
_sw v0,0x0(s1)
(translation_unit "void phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}\n\n" (function_definition "void phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}" primitive_type (function_declarator "phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = PTR_hashed_filenames_00144ea4;" (assignment_expression "puVar1 = PTR_hashed_filenames_00144ea4" identifier = identifier) ;) (if_statement "if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }" if (parenthesized_expression "(*(int *)PTR_hashing_enabled_00145128 != 0)" ( (binary_expression "*(int *)PTR_hashing_enabled_00145128 != 0" (pointer_expression "*(int *)PTR_hashing_enabled_00145128" * (cast_expression "(int *)PTR_hashing_enabled_00145128" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }" { (expression_statement "iVar4 = *(int *)PTR_hashed_filenames_00144ea4;" (assignment_expression "iVar4 = *(int *)PTR_hashed_filenames_00144ea4" identifier = (pointer_expression "*(int *)PTR_hashed_filenames_00144ea4" * (cast_expression "(int *)PTR_hashed_filenames_00144ea4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }" { (expression_statement "iVar4 = hash_create(0x40);" (assignment_expression "iVar4 = hash_create(0x40)" identifier = (call_expression "hash_create(0x40)" identifier (argument_list "(0x40)" ( number_literal )))) ;) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) (expression_statement "iVar4 = hash_insert(param_1,iVar4,0);" (assignment_expression "iVar4 = hash_insert(param_1,iVar4,0)" identifier = (call_expression "hash_insert(param_1,iVar4,0)" identifier (argument_list "(param_1,iVar4,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" if (parenthesized_expression "(*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);" (assignment_expression "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar3,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3,param_1)" ( identifier , identifier )))) ;) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + 4) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 4) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = (*(code *)puVar1)(8);" (assignment_expression "uVar3 = (*(code *)puVar1)(8)" identifier = (call_expression "(*(code *)puVar1)(8)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(8)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" else (compound_statement "{\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" { (expression_statement "(*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));" (call_expression "(*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8))" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(**(undefined4 **)(iVar4 + 8))" ( (pointer_expression "**(undefined4 **)(iVar4 + 8)" * (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ))) ;) }))) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar4 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(iVar4 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);" (assignment_expression "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar3,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3,param_2)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*puVar5 = uVar3;" (assignment_expression "*puVar5 = uVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" else (compound_statement "{\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 4) = 2;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 2" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = number_literal) ;) }))) (if_statement "if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }" if (parenthesized_expression "(*param_2 != '/')" ( (binary_expression "*param_2 != '/'" (pointer_expression "*param_2" * identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }" { (expression_statement "*(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;" (assignment_expression "*(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar2 + 4) | 1" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = param_4;" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = param_4" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void phash_insert(char *filename,char *full_path,int check_dot,int found)\n\n{\n  undefined *puVar1;\n  BUCKET_CONTENTS *pBVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  void *pvVar6;\n  HASH_TABLE *table;\n  undefined4 *puVar7;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;\n    if (table == (HASH_TABLE *)0x0) {\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }\n    pBVar2 = hash_insert(filename,table,0);\n    if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }\n    iVar3 = (*(code *)PTR_strlen_00146390)(full_path);\n    uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n    puVar7 = (undefined4 *)pBVar2->data;\n    uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);\n    pvVar6 = pBVar2->data;\n    *puVar7 = uVar4;\n    if (check_dot == 0) {\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }\n    if (*full_path != '/') {\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }\n    pBVar2->times_found = found;\n  }\n  return;\n}\n\n" (function_definition "void phash_insert(char *filename,char *full_path,int check_dot,int found)\n\n{\n  undefined *puVar1;\n  BUCKET_CONTENTS *pBVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  void *pvVar6;\n  HASH_TABLE *table;\n  undefined4 *puVar7;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;\n    if (table == (HASH_TABLE *)0x0) {\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }\n    pBVar2 = hash_insert(filename,table,0);\n    if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }\n    iVar3 = (*(code *)PTR_strlen_00146390)(full_path);\n    uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n    puVar7 = (undefined4 *)pBVar2->data;\n    uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);\n    pvVar6 = pBVar2->data;\n    *puVar7 = uVar4;\n    if (check_dot == 0) {\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }\n    if (*full_path != '/') {\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }\n    pBVar2->times_found = found;\n  }\n  return;\n}" primitive_type (function_declarator "phash_insert(char *filename,char *full_path,int check_dot,int found)" identifier (parameter_list "(char *filename,char *full_path,int check_dot,int found)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) , (parameter_declaration "char *full_path" primitive_type (pointer_declarator "*full_path" * identifier)) , (parameter_declaration "int check_dot" primitive_type identifier) , (parameter_declaration "int found" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  BUCKET_CONTENTS *pBVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  void *pvVar6;\n  HASH_TABLE *table;\n  undefined4 *puVar7;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;\n    if (table == (HASH_TABLE *)0x0) {\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }\n    pBVar2 = hash_insert(filename,table,0);\n    if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }\n    iVar3 = (*(code *)PTR_strlen_00146390)(full_path);\n    uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n    puVar7 = (undefined4 *)pBVar2->data;\n    uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);\n    pvVar6 = pBVar2->data;\n    *puVar7 = uVar4;\n    if (check_dot == 0) {\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }\n    if (*full_path != '/') {\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }\n    pBVar2->times_found = found;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "BUCKET_CONTENTS *pBVar2;" type_identifier (pointer_declarator "*pBVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "HASH_TABLE *table;" type_identifier (pointer_declarator "*table" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "puVar1 = PTR_hashed_filenames_00144ea4;" (assignment_expression "puVar1 = PTR_hashed_filenames_00144ea4" identifier = identifier) ;) (if_statement "if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;\n    if (table == (HASH_TABLE *)0x0) {\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }\n    pBVar2 = hash_insert(filename,table,0);\n    if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }\n    iVar3 = (*(code *)PTR_strlen_00146390)(full_path);\n    uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n    puVar7 = (undefined4 *)pBVar2->data;\n    uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);\n    pvVar6 = pBVar2->data;\n    *puVar7 = uVar4;\n    if (check_dot == 0) {\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }\n    if (*full_path != '/') {\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }\n    pBVar2->times_found = found;\n  }" if (parenthesized_expression "(*(int *)PTR_hashing_enabled_00145128 != 0)" ( (binary_expression "*(int *)PTR_hashing_enabled_00145128 != 0" (pointer_expression "*(int *)PTR_hashing_enabled_00145128" * (cast_expression "(int *)PTR_hashing_enabled_00145128" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;\n    if (table == (HASH_TABLE *)0x0) {\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }\n    pBVar2 = hash_insert(filename,table,0);\n    if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }\n    iVar3 = (*(code *)PTR_strlen_00146390)(full_path);\n    uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n    puVar7 = (undefined4 *)pBVar2->data;\n    uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);\n    pvVar6 = pBVar2->data;\n    *puVar7 = uVar4;\n    if (check_dot == 0) {\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }\n    if (*full_path != '/') {\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }\n    pBVar2->times_found = found;\n  }" { (expression_statement "table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4;" (assignment_expression "table = *(HASH_TABLE **)PTR_hashed_filenames_00144ea4" identifier = (pointer_expression "*(HASH_TABLE **)PTR_hashed_filenames_00144ea4" * (cast_expression "(HASH_TABLE **)PTR_hashed_filenames_00144ea4" ( (type_descriptor "HASH_TABLE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (table == (HASH_TABLE *)0x0) {\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }" if (parenthesized_expression "(table == (HASH_TABLE *)0x0)" ( (binary_expression "table == (HASH_TABLE *)0x0" identifier == (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      table = hash_create(0x40);\n      *(HASH_TABLE **)puVar1 = table;\n    }" { (expression_statement "table = hash_create(0x40);" (assignment_expression "table = hash_create(0x40)" identifier = (call_expression "hash_create(0x40)" identifier (argument_list "(0x40)" ( number_literal )))) ;) (expression_statement "*(HASH_TABLE **)puVar1 = table;" (assignment_expression "*(HASH_TABLE **)puVar1 = table" (pointer_expression "*(HASH_TABLE **)puVar1" * (cast_expression "(HASH_TABLE **)puVar1" ( (type_descriptor "HASH_TABLE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) })) (expression_statement "pBVar2 = hash_insert(filename,table,0);" (assignment_expression "pBVar2 = hash_insert(filename,table,0)" identifier = (call_expression "hash_insert(filename,table,0)" identifier (argument_list "(filename,table,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((undefined4 *)pBVar2->data == (undefined4 *)0x0) {\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }" if (parenthesized_expression "((undefined4 *)pBVar2->data == (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)pBVar2->data == (undefined4 *)0x0" (cast_expression "(undefined4 *)pBVar2->data" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pBVar2->data" identifier -> field_identifier)) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar3 = (*(code *)PTR_strlen_00146390)(filename);\n      uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n      pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);\n      puVar1 = PTR_xmalloc_001445b0;\n      pBVar2->key = pcVar5;\n      pvVar6 = (void *)(*(code *)puVar1)(8);\n      pBVar2->data = pvVar6;\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(filename);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(filename)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(filename)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename)" ( identifier )))) ;) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_00146418)(uVar4,filename)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar4,filename)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,filename)" ( identifier , identifier ))))) ;) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" identifier = identifier) ;) (expression_statement "pBVar2->key = pcVar5;" (assignment_expression "pBVar2->key = pcVar5" (field_expression "pBVar2->key" identifier -> field_identifier) = identifier) ;) (expression_statement "pvVar6 = (void *)(*(code *)puVar1)(8);" (assignment_expression "pvVar6 = (void *)(*(code *)puVar1)(8)" identifier = (cast_expression "(void *)(*(code *)puVar1)(8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(8)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "pBVar2->data = pvVar6;" (assignment_expression "pBVar2->data = pvVar6" (field_expression "pBVar2->data" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }" else (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n      (*(code *)PTR_free_001464fc)(*pBVar2->data);\n    }" { comment (expression_statement "(*(code *)PTR_free_001464fc)(*pBVar2->data);" (call_expression "(*(code *)PTR_free_001464fc)(*pBVar2->data)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*pBVar2->data)" ( (pointer_expression "*pBVar2->data" * (field_expression "pBVar2->data" identifier -> field_identifier)) ))) ;) }))) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(full_path);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(full_path)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(full_path)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(full_path)" ( identifier )))) ;) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar7 = (undefined4 *)pBVar2->data;" (assignment_expression "puVar7 = (undefined4 *)pBVar2->data" identifier = (cast_expression "(undefined4 *)pBVar2->data" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pBVar2->data" identifier -> field_identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path);" (assignment_expression "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,full_path)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar4,full_path)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,full_path)" ( identifier , identifier )))) ;) (expression_statement "pvVar6 = pBVar2->data;" (assignment_expression "pvVar6 = pBVar2->data" identifier = (field_expression "pBVar2->data" identifier -> field_identifier)) ;) (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;) (if_statement "if (check_dot == 0) {\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }" if (parenthesized_expression "(check_dot == 0)" ( (binary_expression "check_dot == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)((int)pvVar6 + 4) = 0;\n    }" { (expression_statement "*(undefined4 *)((int)pvVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar6 + 4) = 0" (pointer_expression "*(undefined4 *)((int)pvVar6 + 4)" * (cast_expression "(undefined4 *)((int)pvVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar6 + 4)" ( (binary_expression "(int)pvVar6 + 4" (cast_expression "(int)pvVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }" else (compound_statement "{\n      *(undefined4 *)((int)pvVar6 + 4) = 2;\n    }" { (expression_statement "*(undefined4 *)((int)pvVar6 + 4) = 2;" (assignment_expression "*(undefined4 *)((int)pvVar6 + 4) = 2" (pointer_expression "*(undefined4 *)((int)pvVar6 + 4)" * (cast_expression "(undefined4 *)((int)pvVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar6 + 4)" ( (binary_expression "(int)pvVar6 + 4" (cast_expression "(int)pvVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }))) (if_statement "if (*full_path != '/') {\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }" if (parenthesized_expression "(*full_path != '/')" ( (binary_expression "*full_path != '/'" (pointer_expression "*full_path" * identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n      *(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;\n    }" { (expression_statement "*(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1;" (assignment_expression "*(uint *)((int)pvVar6 + 4) = *(uint *)((int)pvVar6 + 4) | 1" (pointer_expression "*(uint *)((int)pvVar6 + 4)" * (cast_expression "(uint *)((int)pvVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar6 + 4)" ( (binary_expression "(int)pvVar6 + 4" (cast_expression "(int)pvVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)pvVar6 + 4) | 1" (pointer_expression "*(uint *)((int)pvVar6 + 4)" * (cast_expression "(uint *)((int)pvVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar6 + 4)" ( (binary_expression "(int)pvVar6 + 4" (cast_expression "(int)pvVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) | number_literal)) ;) })) (expression_statement "pBVar2->times_found = found;" (assignment_expression "pBVar2->times_found = found" (field_expression "pBVar2->times_found" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}\n\n" (function_definition "void phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}" primitive_type (function_declarator "phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = PTR_hashed_filenames_00144ea4;" (assignment_expression "puVar1 = PTR_hashed_filenames_00144ea4" identifier = identifier) ;) (if_statement "if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }" if (parenthesized_expression "(*(int *)PTR_hashing_enabled_00145128 != 0)" ( (binary_expression "*(int *)PTR_hashing_enabled_00145128 != 0" (pointer_expression "*(int *)PTR_hashing_enabled_00145128" * (cast_expression "(int *)PTR_hashing_enabled_00145128" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }" { (expression_statement "iVar4 = *(int *)PTR_hashed_filenames_00144ea4;" (assignment_expression "iVar4 = *(int *)PTR_hashed_filenames_00144ea4" identifier = (pointer_expression "*(int *)PTR_hashed_filenames_00144ea4" * (cast_expression "(int *)PTR_hashed_filenames_00144ea4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }" { (expression_statement "iVar4 = hash_create(0x40);" (assignment_expression "iVar4 = hash_create(0x40)" identifier = (call_expression "hash_create(0x40)" identifier (argument_list "(0x40)" ( number_literal )))) ;) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) (expression_statement "iVar4 = hash_insert(param_1,iVar4,0);" (assignment_expression "iVar4 = hash_insert(param_1,iVar4,0)" identifier = (call_expression "hash_insert(param_1,iVar4,0)" identifier (argument_list "(param_1,iVar4,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" if (parenthesized_expression "(*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);" (assignment_expression "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar3,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3,param_1)" ( identifier , identifier )))) ;) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + 4) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 4) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = (*(code *)puVar1)(8);" (assignment_expression "uVar3 = (*(code *)puVar1)(8)" identifier = (call_expression "(*(code *)puVar1)(8)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(8)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" else (compound_statement "{\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" { (expression_statement "(*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));" (call_expression "(*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8))" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(**(undefined4 **)(iVar4 + 8))" ( (pointer_expression "**(undefined4 **)(iVar4 + 8)" * (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ))) ;) }))) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar4 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(iVar4 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);" (assignment_expression "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar3,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3,param_2)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*puVar5 = uVar3;" (assignment_expression "*puVar5 = uVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" else (compound_statement "{\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 4) = 2;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 2" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = number_literal) ;) }))) (if_statement "if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }" if (parenthesized_expression "(*param_2 != '/')" ( (binary_expression "*param_2 != '/'" (pointer_expression "*param_2" * identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }" { (expression_statement "*(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;" (assignment_expression "*(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar2 + 4) | 1" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = param_4;" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = param_4" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "phash_insert(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)" (identifier "phash_insert") (parameter_list "(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = PTR_hashed_filenames_00144ea4;\n  if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "puVar1 = PTR_hashed_filenames_00144ea4;" (assignment_expression "puVar1 = PTR_hashed_filenames_00144ea4" (identifier "puVar1") (= "=") (identifier "PTR_hashed_filenames_00144ea4")) (; ";")) (if_statement "if (*(int *)PTR_hashing_enabled_00145128 != 0) {\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_hashing_enabled_00145128 != 0)" (( "(") (binary_expression "*(int *)PTR_hashing_enabled_00145128 != 0" (pointer_expression "*(int *)PTR_hashing_enabled_00145128" (* "*") (cast_expression "(int *)PTR_hashing_enabled_00145128" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_hashing_enabled_00145128"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;\n    if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }\n    iVar4 = hash_insert(param_1,iVar4,0);\n    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }\n    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n    puVar5 = *(undefined4 **)(iVar4 + 8);\n    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);\n    iVar2 = *(int *)(iVar4 + 8);\n    *puVar5 = uVar3;\n    if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }\n    if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }\n    *(undefined4 *)(iVar4 + 0x10) = param_4;\n  }" ({ "{") (expression_statement "iVar4 = *(int *)PTR_hashed_filenames_00144ea4;" (assignment_expression "iVar4 = *(int *)PTR_hashed_filenames_00144ea4" (identifier "iVar4") (= "=") (pointer_expression "*(int *)PTR_hashed_filenames_00144ea4" (* "*") (cast_expression "(int *)PTR_hashed_filenames_00144ea4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_hashed_filenames_00144ea4")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = hash_create(0x40);\n      *(int *)puVar1 = iVar4;\n    }" ({ "{") (expression_statement "iVar4 = hash_create(0x40);" (assignment_expression "iVar4 = hash_create(0x40)" (identifier "iVar4") (= "=") (call_expression "hash_create(0x40)" (identifier "hash_create") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")")))) (; ";")) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "iVar4 = hash_insert(param_1,iVar4,0);" (assignment_expression "iVar4 = hash_insert(param_1,iVar4,0)" (identifier "iVar4") (= "=") (call_expression "hash_insert(param_1,iVar4,0)" (identifier "hash_insert") (argument_list "(param_1,iVar4,0)" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }\n    else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0)" (( "(") (binary_expression "*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);\n      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);\n      puVar1 = PTR_xmalloc_001445b0;\n      *(undefined4 *)(iVar4 + 4) = uVar3;\n      uVar3 = (*(code *)puVar1)(8);\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar2 + 1)" (( "(") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);" (assignment_expression "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar3,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar3,param_1)" (( "(") (identifier "uVar3") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" (identifier "puVar1") (= "=") (identifier "PTR_xmalloc_001445b0")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 4) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 4) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = (*(code *)puVar1)(8);" (assignment_expression "uVar3 = (*(code *)puVar1)(8)" (identifier "uVar3") (= "=") (call_expression "(*(code *)puVar1)(8)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(8)" (( "(") (number_literal "8") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));" (call_expression "(*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8))" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(**(undefined4 **)(iVar4 + 8))" (( "(") (pointer_expression "**(undefined4 **)(iVar4 + 8)" (* "*") (pointer_expression "*(undefined4 **)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) () ")"))) (; ";")) (} "}")))) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(param_2)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar2 + 1)" (( "(") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(iVar4 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(iVar4 + 8)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);" (assignment_expression "uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar3,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar3,param_2)" (( "(") (identifier "uVar3") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*puVar5 = uVar3;" (assignment_expression "*puVar5 = uVar3" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar2 + 4) = 0;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(iVar2 + 4) = 2;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 4) = 2;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 2" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "2")) (; ";")) (} "}")))) (if_statement "if (*param_2 != '/') {\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }" (if "if") (parenthesized_expression "(*param_2 != '/')" (( "(") (binary_expression "*param_2 != '/'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;\n    }" ({ "{") (expression_statement "*(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;" (assignment_expression "*(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1" (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar2 + 4) | 1" (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = param_4;" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = param_4" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (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 (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (return_statement))))

void MASKED(undefined4 param_1,char *param_2,int param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 *puVar5;
  
  puVar1 = PTR_hashed_filenames_00144ea4;
  if (*(int *)PTR_hashing_enabled_00145128 != 0) {
    iVar4 = *(int *)PTR_hashed_filenames_00144ea4;
    if (iVar4 == 0) {
      iVar4 = hash_create(0x40);
      *(int *)puVar1 = iVar4;
    }
    iVar4 = hash_insert(param_1,iVar4,0);
    if (*(undefined4 **)(iVar4 + 8) == (undefined4 *)0x0) {
      iVar2 = (*(code *)PTR_strlen_00146390)(param_1);
      uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
      uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_1);
      puVar1 = PTR_xmalloc_001445b0;
      *(undefined4 *)(iVar4 + 4) = uVar3;
      uVar3 = (*(code *)puVar1)(8);
      *(undefined4 *)(iVar4 + 8) = uVar3;
    }
    else {
      (*(code *)PTR_free_001464fc)(**(undefined4 **)(iVar4 + 8));
    }
    iVar2 = (*(code *)PTR_strlen_00146390)(param_2);
    uVar3 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
    puVar5 = *(undefined4 **)(iVar4 + 8);
    uVar3 = (*(code *)PTR_strcpy_00146418)(uVar3,param_2);
    iVar2 = *(int *)(iVar4 + 8);
    *puVar5 = uVar3;
    if (param_3 == 0) {
      *(undefined4 *)(iVar2 + 4) = 0;
    }
    else {
      *(undefined4 *)(iVar2 + 4) = 2;
    }
    if (*param_2 != '/') {
      *(uint *)(iVar2 + 4) = *(uint *)(iVar2 + 4) | 1;
    }
    *(undefined4 *)(iVar4 + 0x10) = param_4;
  }
  return;
}

