
void * hash_find_entry(Hash_table *table,void *entry,hash_entry **bucket_head,_Bool delete)

{
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  hash_entry *phVar1;
  _Bool _Var3;
  hash_entry *phVar2;
  hash_entry *phVar4;
  void *pvVar5;
  undefined3 in_register_0000001c;
  
  phVar1 = safe_hasher(table,entry);
  *bucket_head = phVar1;
  pvVar5 = phVar1->data;
  if (pvVar5 == (void *)0x0) {
LAB_0001c42c:
    pvVar5 = (void *)0x0;
  }
  else {
    if (pvVar5 != entry) {
      _Var3 = (*table->comparator)(entry,pvVar5);
      if (CONCAT31(extraout_var,_Var3) == 0) {
        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {
          pvVar5 = phVar2->data;
          if (pvVar5 == entry) {
LAB_0001c45c:
            if (CONCAT31(in_register_0000001c,delete) == 0) {
              return pvVar5;
            }
            phVar4 = phVar2->next;
            goto LAB_0001c468;
          }
          _Var3 = (*table->comparator)(entry,pvVar5);
          if (CONCAT31(extraout_var_00,_Var3) != 0) {
            phVar2 = phVar1->next;
            pvVar5 = phVar2->data;
            goto LAB_0001c45c;
          }
        }
        goto LAB_0001c42c;
      }
      pvVar5 = phVar1->data;
    }
    if (CONCAT31(in_register_0000001c,delete) != 0) {
      phVar2 = phVar1->next;
      if (phVar2 != (hash_entry *)0x0) {
        phVar4 = phVar2->next;
        phVar1->data = phVar2->data;
LAB_0001c468:
        phVar1->next = phVar4;
        phVar2->data = (void *)0x0;
        phVar2->next = table->free_entry_list;
        table->free_entry_list = phVar2;
        return pvVar5;
      }
      phVar1->data = (void *)0x0;
    }
  }
  return pvVar5;
}



int FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  piVar1 = (int *)FUN_0001c2f8();
  *param_3 = piVar1;
  iVar4 = *piVar1;
  if (iVar4 == 0) {
LAB_0001c42c:
    iVar4 = 0;
  }
  else {
    if (iVar4 != param_2) {
      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);
      if (iVar4 == 0) {
        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {
          iVar4 = *piVar2;
          if (iVar4 == param_2) {
LAB_0001c45c:
            if (param_4 == 0) {
              return iVar4;
            }
            iVar3 = piVar2[1];
            goto LAB_0001c468;
          }
          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);
          if (iVar4 != 0) {
            piVar2 = (int *)piVar1[1];
            iVar4 = *piVar2;
            goto LAB_0001c45c;
          }
        }
        goto LAB_0001c42c;
      }
      iVar4 = *piVar1;
    }
    if (param_4 != 0) {
      piVar2 = (int *)piVar1[1];
      if (piVar2 != (int *)0x0) {
        iVar3 = piVar2[1];
        *piVar1 = *piVar2;
LAB_0001c468:
        piVar1[1] = iVar3;
        *piVar2 = 0;
        piVar2[1] = *(int *)(param_1 + 0x24);
        *(int **)(param_1 + 0x24) = piVar2;
        return iVar4;
      }
      *piVar1 = 0;
    }
  }
  return iVar4;
}


lui gp,0x2
addiu gp,gp,-0x2290
addu gp,gp,t9
lw t9,-0x7fc8(gp)
addiu sp,sp,-0x30
addiu t9,t9,-0x3d08
sw s4,0x28(sp)
sw s3,0x24(sp)
or s4,a2,zero
sw s2,0x20(sp)
or s3,a3,zero
sw s1,0x1c(sp)
or s2,a0,zero
sw gp,0x10(sp)
or s1,a1,zero
sw ra,0x2c(sp)
bal 0x0001c2f8
_sw s0,0x18(sp)
sw v0,0x0(s4)
lw a1,0x0(v0)
beq a1,zero,0x0001c42c
_nop
beq a1,s1,0x0001c3d8
_or s0,v0,zero
lw t9,0x1c(s2)
jalr t9
_or a0,s1,zero
beq v0,zero,0x0001c420
_nop
lw a1,0x0(s0)
beq s3,zero,0x0001c434
_lw ra,0x2c(sp)
lw v0,0x4(s0)
beq v0,zero,0x0001c4a0
_nop
lw a0,0x0(v0)
lw v1,0x4(v0)
b 0x0001c468
_sw a0,0x0(s0)
lw a1,0x0(v0)
beq a1,s1,0x0001c45c
_nop
lw t9,0x1c(s2)
jalr t9
_or a0,s1,zero
bne v0,zero,0x0001c454
_nop
lw s0,0x4(s0)
lw v0,0x4(s0)
bne v0,zero,0x0001c3fc
_nop
or a1,zero,zero
lw ra,0x2c(sp)
or v0,a1,zero
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
lw v0,0x4(s0)
lw a1,0x0(v0)
beq s3,zero,0x0001c434
_lw ra,0x2c(sp)
lw v1,0x4(v0)
sw v1,0x4(s0)
sw zero,0x0(v0)
lw v1,0x24(s2)
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
sw v1,0x4(v0)
sw v0,0x24(s2)
or v0,a1,zero
lw s2,0x20(sp)
jr ra
_addiu sp,sp,0x30
b 0x0001c430
_sw zero,0x0(s0)
(translation_unit "int FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)FUN_0001c2f8();" (assignment_expression "piVar1 = (int *)FUN_0001c2f8()" identifier = (cast_expression "(int *)FUN_0001c2f8()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c2f8()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*param_3 = piVar1;" (assignment_expression "*param_3 = piVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001c42c:\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_0001c42c:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" else (compound_statement "{\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" { (if_statement "if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }" if (parenthesized_expression "(iVar4 != param_2)" ( (binary_expression "iVar4 != param_2" identifier != identifier) )) (compound_statement "{\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }" { (expression_statement "iVar4 = (**(code **)(param_1 + 0x1c))(param_2);" (assignment_expression "iVar4 = (**(code **)(param_1 + 0x1c))(param_2)" identifier = (call_expression "(**(code **)(param_1 + 0x1c))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x1c))" ( (pointer_expression "**(code **)(param_1 + 0x1c)" * (pointer_expression "*(code **)(param_1 + 0x1c)" * (cast_expression "(code **)(param_1 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" { (for_statement "for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }" for ( ; (comma_expression "piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ; (assignment_expression "piVar1 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ) (compound_statement "{\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }" { (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }" if (parenthesized_expression "(iVar4 == param_2)" ( (binary_expression "iVar4 == param_2" identifier == identifier) )) (compound_statement "{\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }" { (labeled_statement "LAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }" statement_identifier : (if_statement "if (param_4 == 0) {\n              return iVar4;\n            }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n              return iVar4;\n            }" { (return_statement "return iVar4;" return identifier ;) }))) (expression_statement "iVar3 = piVar2[1];" (assignment_expression "iVar3 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0001c468;" goto statement_identifier ;) })) (expression_statement "iVar4 = (**(code **)(param_1 + 0x1c))(param_2);" (assignment_expression "iVar4 = (**(code **)(param_1 + 0x1c))(param_2)" identifier = (call_expression "(**(code **)(param_1 + 0x1c))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x1c))" ( (pointer_expression "**(code **)(param_1 + 0x1c)" * (pointer_expression "*(code **)(param_1 + 0x1c)" * (cast_expression "(code **)(param_1 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }" { (expression_statement "piVar2 = (int *)piVar1[1];" (assignment_expression "piVar2 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (goto_statement "goto LAB_0001c45c;" goto statement_identifier ;) })) })) (goto_statement "goto LAB_0001c42c;" goto statement_identifier ;) })) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (if_statement "if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }" { (expression_statement "piVar2 = (int *)piVar1[1];" (assignment_expression "piVar2 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }" { (expression_statement "iVar3 = piVar2[1];" (assignment_expression "iVar3 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar1 = *piVar2;" (assignment_expression "*piVar1 = *piVar2" (pointer_expression "*piVar1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (labeled_statement "LAB_0001c468:\n        piVar1[1] = iVar3;" statement_identifier : (expression_statement "piVar1[1] = iVar3;" (assignment_expression "piVar1[1] = iVar3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = *(int *)(param_1 + 0x24);" (assignment_expression "piVar2[1] = *(int *)(param_1 + 0x24)" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_1 + 0x24) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x24) = piVar2" (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) })) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "void * hash_find_entry(Hash_table *table,void *entry,hash_entry **bucket_head,_Bool delete)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  hash_entry *phVar1;\n  _Bool _Var3;\n  hash_entry *phVar2;\n  hash_entry *phVar4;\n  void *pvVar5;\n  undefined3 in_register_0000001c;\n  \n  phVar1 = safe_hasher(table,entry);\n  *bucket_head = phVar1;\n  pvVar5 = phVar1->data;\n  if (pvVar5 == (void *)0x0) {\nLAB_0001c42c:\n    pvVar5 = (void *)0x0;\n  }\n  else {\n    if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }\n    if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }\n  }\n  return pvVar5;\n}\n\n" (function_definition "void * hash_find_entry(Hash_table *table,void *entry,hash_entry **bucket_head,_Bool delete)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  hash_entry *phVar1;\n  _Bool _Var3;\n  hash_entry *phVar2;\n  hash_entry *phVar4;\n  void *pvVar5;\n  undefined3 in_register_0000001c;\n  \n  phVar1 = safe_hasher(table,entry);\n  *bucket_head = phVar1;\n  pvVar5 = phVar1->data;\n  if (pvVar5 == (void *)0x0) {\nLAB_0001c42c:\n    pvVar5 = (void *)0x0;\n  }\n  else {\n    if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }\n    if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }\n  }\n  return pvVar5;\n}" primitive_type (pointer_declarator "* hash_find_entry(Hash_table *table,void *entry,hash_entry **bucket_head,_Bool delete)" * (function_declarator "hash_find_entry(Hash_table *table,void *entry,hash_entry **bucket_head,_Bool delete)" identifier (parameter_list "(Hash_table *table,void *entry,hash_entry **bucket_head,_Bool delete)" ( (parameter_declaration "Hash_table *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "void *entry" primitive_type (pointer_declarator "*entry" * identifier)) , (parameter_declaration "hash_entry **bucket_head" type_identifier (pointer_declarator "**bucket_head" * (pointer_declarator "*bucket_head" * identifier))) , (parameter_declaration "_Bool delete" type_identifier identifier) )))) (compound_statement "{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  hash_entry *phVar1;\n  _Bool _Var3;\n  hash_entry *phVar2;\n  hash_entry *phVar4;\n  void *pvVar5;\n  undefined3 in_register_0000001c;\n  \n  phVar1 = safe_hasher(table,entry);\n  *bucket_head = phVar1;\n  pvVar5 = phVar1->data;\n  if (pvVar5 == (void *)0x0) {\nLAB_0001c42c:\n    pvVar5 = (void *)0x0;\n  }\n  else {\n    if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }\n    if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }\n  }\n  return pvVar5;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "hash_entry *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "_Bool _Var3;" type_identifier identifier ;) (declaration "hash_entry *phVar2;" type_identifier (pointer_declarator "*phVar2" * identifier) ;) (declaration "hash_entry *phVar4;" type_identifier (pointer_declarator "*phVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "undefined3 in_register_0000001c;" type_identifier identifier ;) (expression_statement "phVar1 = safe_hasher(table,entry);" (assignment_expression "phVar1 = safe_hasher(table,entry)" identifier = (call_expression "safe_hasher(table,entry)" identifier (argument_list "(table,entry)" ( identifier , identifier )))) ;) (expression_statement "*bucket_head = phVar1;" (assignment_expression "*bucket_head = phVar1" (pointer_expression "*bucket_head" * identifier) = identifier) ;) (expression_statement "pvVar5 = phVar1->data;" (assignment_expression "pvVar5 = phVar1->data" identifier = (field_expression "phVar1->data" identifier -> field_identifier)) ;) (if_statement "if (pvVar5 == (void *)0x0) {\nLAB_0001c42c:\n    pvVar5 = (void *)0x0;\n  }\n  else {\n    if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }\n    if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }\n  }" if (parenthesized_expression "(pvVar5 == (void *)0x0)" ( (binary_expression "pvVar5 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001c42c:\n    pvVar5 = (void *)0x0;\n  }" { (labeled_statement "LAB_0001c42c:\n    pvVar5 = (void *)0x0;" statement_identifier : (expression_statement "pvVar5 = (void *)0x0;" (assignment_expression "pvVar5 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n    if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }\n    if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }\n  }" else (compound_statement "{\n    if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }\n    if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }\n  }" { (if_statement "if (pvVar5 != entry) {\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }" if (parenthesized_expression "(pvVar5 != entry)" ( (binary_expression "pvVar5 != entry" identifier != identifier) )) (compound_statement "{\n      _Var3 = (*table->comparator)(entry,pvVar5);\n      if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      pvVar5 = phVar1->data;\n    }" { (expression_statement "_Var3 = (*table->comparator)(entry,pvVar5);" (assignment_expression "_Var3 = (*table->comparator)(entry,pvVar5)" identifier = (call_expression "(*table->comparator)(entry,pvVar5)" (parenthesized_expression "(*table->comparator)" ( (pointer_expression "*table->comparator" * (field_expression "table->comparator" identifier -> field_identifier)) )) (argument_list "(entry,pvVar5)" ( identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var,_Var3) == 0) {\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" if (parenthesized_expression "(CONCAT31(extraout_var,_Var3) == 0)" ( (binary_expression "CONCAT31(extraout_var,_Var3) == 0" (call_expression "CONCAT31(extraout_var,_Var3)" identifier (argument_list "(extraout_var,_Var3)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" { (for_statement "for (; phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }" for ( ; (comma_expression "phVar2 = phVar1->next, phVar2 != (hash_entry *)0x0" (assignment_expression "phVar2 = phVar1->next" identifier = (field_expression "phVar1->next" identifier -> field_identifier)) , (binary_expression "phVar2 != (hash_entry *)0x0" identifier != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ; (assignment_expression "phVar1 = phVar1->next" identifier = (field_expression "phVar1->next" identifier -> field_identifier)) ) (compound_statement "{\n          pvVar5 = phVar2->data;\n          if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }\n          _Var3 = (*table->comparator)(entry,pvVar5);\n          if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }\n        }" { (expression_statement "pvVar5 = phVar2->data;" (assignment_expression "pvVar5 = phVar2->data" identifier = (field_expression "phVar2->data" identifier -> field_identifier)) ;) (if_statement "if (pvVar5 == entry) {\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }" if (parenthesized_expression "(pvVar5 == entry)" ( (binary_expression "pvVar5 == entry" identifier == identifier) )) (compound_statement "{\nLAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }\n            phVar4 = phVar2->next;\n            goto LAB_0001c468;\n          }" { (labeled_statement "LAB_0001c45c:\n            if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }" statement_identifier : (if_statement "if (CONCAT31(in_register_0000001c,delete) == 0) {\n              return pvVar5;\n            }" if (parenthesized_expression "(CONCAT31(in_register_0000001c,delete) == 0)" ( (binary_expression "CONCAT31(in_register_0000001c,delete) == 0" (call_expression "CONCAT31(in_register_0000001c,delete)" identifier (argument_list "(in_register_0000001c,delete)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n              return pvVar5;\n            }" { (return_statement "return pvVar5;" return identifier ;) }))) (expression_statement "phVar4 = phVar2->next;" (assignment_expression "phVar4 = phVar2->next" identifier = (field_expression "phVar2->next" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0001c468;" goto statement_identifier ;) })) (expression_statement "_Var3 = (*table->comparator)(entry,pvVar5);" (assignment_expression "_Var3 = (*table->comparator)(entry,pvVar5)" identifier = (call_expression "(*table->comparator)(entry,pvVar5)" (parenthesized_expression "(*table->comparator)" ( (pointer_expression "*table->comparator" * (field_expression "table->comparator" identifier -> field_identifier)) )) (argument_list "(entry,pvVar5)" ( identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_00,_Var3) != 0) {\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }" if (parenthesized_expression "(CONCAT31(extraout_var_00,_Var3) != 0)" ( (binary_expression "CONCAT31(extraout_var_00,_Var3) != 0" (call_expression "CONCAT31(extraout_var_00,_Var3)" identifier (argument_list "(extraout_var_00,_Var3)" ( identifier , identifier ))) != number_literal) )) (compound_statement "{\n            phVar2 = phVar1->next;\n            pvVar5 = phVar2->data;\n            goto LAB_0001c45c;\n          }" { (expression_statement "phVar2 = phVar1->next;" (assignment_expression "phVar2 = phVar1->next" identifier = (field_expression "phVar1->next" identifier -> field_identifier)) ;) (expression_statement "pvVar5 = phVar2->data;" (assignment_expression "pvVar5 = phVar2->data" identifier = (field_expression "phVar2->data" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0001c45c;" goto statement_identifier ;) })) })) (goto_statement "goto LAB_0001c42c;" goto statement_identifier ;) })) (expression_statement "pvVar5 = phVar1->data;" (assignment_expression "pvVar5 = phVar1->data" identifier = (field_expression "phVar1->data" identifier -> field_identifier)) ;) })) (if_statement "if (CONCAT31(in_register_0000001c,delete) != 0) {\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }" if (parenthesized_expression "(CONCAT31(in_register_0000001c,delete) != 0)" ( (binary_expression "CONCAT31(in_register_0000001c,delete) != 0" (call_expression "CONCAT31(in_register_0000001c,delete)" identifier (argument_list "(in_register_0000001c,delete)" ( identifier , identifier ))) != number_literal) )) (compound_statement "{\n      phVar2 = phVar1->next;\n      if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }\n      phVar1->data = (void *)0x0;\n    }" { (expression_statement "phVar2 = phVar1->next;" (assignment_expression "phVar2 = phVar1->next" identifier = (field_expression "phVar1->next" identifier -> field_identifier)) ;) (if_statement "if (phVar2 != (hash_entry *)0x0) {\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }" if (parenthesized_expression "(phVar2 != (hash_entry *)0x0)" ( (binary_expression "phVar2 != (hash_entry *)0x0" identifier != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        phVar4 = phVar2->next;\n        phVar1->data = phVar2->data;\nLAB_0001c468:\n        phVar1->next = phVar4;\n        phVar2->data = (void *)0x0;\n        phVar2->next = table->free_entry_list;\n        table->free_entry_list = phVar2;\n        return pvVar5;\n      }" { (expression_statement "phVar4 = phVar2->next;" (assignment_expression "phVar4 = phVar2->next" identifier = (field_expression "phVar2->next" identifier -> field_identifier)) ;) (expression_statement "phVar1->data = phVar2->data;" (assignment_expression "phVar1->data = phVar2->data" (field_expression "phVar1->data" identifier -> field_identifier) = (field_expression "phVar2->data" identifier -> field_identifier)) ;) (labeled_statement "LAB_0001c468:\n        phVar1->next = phVar4;" statement_identifier : (expression_statement "phVar1->next = phVar4;" (assignment_expression "phVar1->next = phVar4" (field_expression "phVar1->next" identifier -> field_identifier) = identifier) ;)) (expression_statement "phVar2->data = (void *)0x0;" (assignment_expression "phVar2->data = (void *)0x0" (field_expression "phVar2->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "phVar2->next = table->free_entry_list;" (assignment_expression "phVar2->next = table->free_entry_list" (field_expression "phVar2->next" identifier -> field_identifier) = (field_expression "table->free_entry_list" identifier -> field_identifier)) ;) (expression_statement "table->free_entry_list = phVar2;" (assignment_expression "table->free_entry_list = phVar2" (field_expression "table->free_entry_list" identifier -> field_identifier) = identifier) ;) (return_statement "return pvVar5;" return identifier ;) })) (expression_statement "phVar1->data = (void *)0x0;" (assignment_expression "phVar1->data = (void *)0x0" (field_expression "phVar1->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))) (return_statement "return pvVar5;" return identifier ;) })))
(translation_unit "int FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)FUN_0001c2f8();" (assignment_expression "piVar1 = (int *)FUN_0001c2f8()" identifier = (cast_expression "(int *)FUN_0001c2f8()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c2f8()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*param_3 = piVar1;" (assignment_expression "*param_3 = piVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001c42c:\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_0001c42c:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" else (compound_statement "{\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" { (if_statement "if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }" if (parenthesized_expression "(iVar4 != param_2)" ( (binary_expression "iVar4 != param_2" identifier != identifier) )) (compound_statement "{\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }" { (expression_statement "iVar4 = (**(code **)(param_1 + 0x1c))(param_2);" (assignment_expression "iVar4 = (**(code **)(param_1 + 0x1c))(param_2)" identifier = (call_expression "(**(code **)(param_1 + 0x1c))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x1c))" ( (pointer_expression "**(code **)(param_1 + 0x1c)" * (pointer_expression "*(code **)(param_1 + 0x1c)" * (cast_expression "(code **)(param_1 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" { (for_statement "for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }" for ( ; (comma_expression "piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ; (assignment_expression "piVar1 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ) (compound_statement "{\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }" { (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }" if (parenthesized_expression "(iVar4 == param_2)" ( (binary_expression "iVar4 == param_2" identifier == identifier) )) (compound_statement "{\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }" { (labeled_statement "LAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }" statement_identifier : (if_statement "if (param_4 == 0) {\n              return iVar4;\n            }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n              return iVar4;\n            }" { (return_statement "return iVar4;" return identifier ;) }))) (expression_statement "iVar3 = piVar2[1];" (assignment_expression "iVar3 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0001c468;" goto statement_identifier ;) })) (expression_statement "iVar4 = (**(code **)(param_1 + 0x1c))(param_2);" (assignment_expression "iVar4 = (**(code **)(param_1 + 0x1c))(param_2)" identifier = (call_expression "(**(code **)(param_1 + 0x1c))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x1c))" ( (pointer_expression "**(code **)(param_1 + 0x1c)" * (pointer_expression "*(code **)(param_1 + 0x1c)" * (cast_expression "(code **)(param_1 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }" { (expression_statement "piVar2 = (int *)piVar1[1];" (assignment_expression "piVar2 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (goto_statement "goto LAB_0001c45c;" goto statement_identifier ;) })) })) (goto_statement "goto LAB_0001c42c;" goto statement_identifier ;) })) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (if_statement "if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }" { (expression_statement "piVar2 = (int *)piVar1[1];" (assignment_expression "piVar2 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }" { (expression_statement "iVar3 = piVar2[1];" (assignment_expression "iVar3 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar1 = *piVar2;" (assignment_expression "*piVar1 = *piVar2" (pointer_expression "*piVar1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (labeled_statement "LAB_0001c468:\n        piVar1[1] = iVar3;" statement_identifier : (expression_statement "piVar1[1] = iVar3;" (assignment_expression "piVar1[1] = iVar3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = *(int *)(param_1 + 0x24);" (assignment_expression "piVar2[1] = *(int *)(param_1 + 0x24)" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_1 + 0x24) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x24) = piVar2" (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) })) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (for_statement for ( ; (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_0001c360(int param_1,int param_2,undefined4 *param_3,int param_4)" (identifier "FUN_0001c360") (parameter_list "(int param_1,int param_2,undefined4 *param_3,int param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  piVar1 = (int *)FUN_0001c2f8();\n  *param_3 = piVar1;\n  iVar4 = *piVar1;\n  if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }\n  return iVar4;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "piVar1 = (int *)FUN_0001c2f8();" (assignment_expression "piVar1 = (int *)FUN_0001c2f8()" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_0001c2f8()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001c2f8()" (identifier "FUN_0001c2f8") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*param_3 = piVar1;" (assignment_expression "*param_3 = piVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" (identifier "iVar4") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (if_statement "if (iVar4 == 0) {\nLAB_0001c42c:\n    iVar4 = 0;\n  }\n  else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001c42c:\n    iVar4 = 0;\n  }" ({ "{") (labeled_statement "LAB_0001c42c:\n    iVar4 = 0;" (statement_identifier "LAB_0001c42c") (: ":") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" (else "else") (compound_statement "{\n    if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }\n    if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }\n  }" ({ "{") (if_statement "if (iVar4 != param_2) {\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }" (if "if") (parenthesized_expression "(iVar4 != param_2)" (( "(") (binary_expression "iVar4 != param_2" (identifier "iVar4") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n      if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }\n      iVar4 = *piVar1;\n    }" ({ "{") (expression_statement "iVar4 = (**(code **)(param_1 + 0x1c))(param_2);" (assignment_expression "iVar4 = (**(code **)(param_1 + 0x1c))(param_2)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(param_1 + 0x1c))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x1c))" (( "(") (pointer_expression "**(code **)(param_1 + 0x1c)" (* "*") (pointer_expression "*(code **)(param_1 + 0x1c)" (* "*") (cast_expression "(code **)(param_1 + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }\n        goto LAB_0001c42c;\n      }" ({ "{") (for_statement "for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }" (for "for") (( "(") (; ";") (comma_expression "piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)piVar1[1]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")))) (, ",") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";") (assignment_expression "piVar1 = (int *)piVar1[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")))) () ")") (compound_statement "{\n          iVar4 = *piVar2;\n          if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }\n          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);\n          if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }\n        }" ({ "{") (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" (identifier "iVar4") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (if_statement "if (iVar4 == param_2) {\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }" (if "if") (parenthesized_expression "(iVar4 == param_2)" (( "(") (binary_expression "iVar4 == param_2" (identifier "iVar4") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\nLAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }\n            iVar3 = piVar2[1];\n            goto LAB_0001c468;\n          }" ({ "{") (labeled_statement "LAB_0001c45c:\n            if (param_4 == 0) {\n              return iVar4;\n            }" (statement_identifier "LAB_0001c45c") (: ":") (if_statement "if (param_4 == 0) {\n              return iVar4;\n            }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return iVar4;\n            }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))) (expression_statement "iVar3 = piVar2[1];" (assignment_expression "iVar3 = piVar2[1]" (identifier "iVar3") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (goto_statement "goto LAB_0001c468;" (goto "goto") (statement_identifier "LAB_0001c468") (; ";")) (} "}"))) (expression_statement "iVar4 = (**(code **)(param_1 + 0x1c))(param_2);" (assignment_expression "iVar4 = (**(code **)(param_1 + 0x1c))(param_2)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(param_1 + 0x1c))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x1c))" (( "(") (pointer_expression "**(code **)(param_1 + 0x1c)" (* "*") (pointer_expression "*(code **)(param_1 + 0x1c)" (* "*") (cast_expression "(code **)(param_1 + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            piVar2 = (int *)piVar1[1];\n            iVar4 = *piVar2;\n            goto LAB_0001c45c;\n          }" ({ "{") (expression_statement "piVar2 = (int *)piVar1[1];" (assignment_expression "piVar2 = (int *)piVar1[1]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" (identifier "iVar4") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (goto_statement "goto LAB_0001c45c;" (goto "goto") (statement_identifier "LAB_0001c45c") (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_0001c42c;" (goto "goto") (statement_identifier "LAB_0001c42c") (; ";")) (} "}"))) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" (identifier "iVar4") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}"))) (if_statement "if (param_4 != 0) {\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar2 = (int *)piVar1[1];\n      if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }\n      *piVar1 = 0;\n    }" ({ "{") (expression_statement "piVar2 = (int *)piVar1[1];" (assignment_expression "piVar2 = (int *)piVar1[1]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (piVar2 != (int *)0x0) {\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        iVar3 = piVar2[1];\n        *piVar1 = *piVar2;\nLAB_0001c468:\n        piVar1[1] = iVar3;\n        *piVar2 = 0;\n        piVar2[1] = *(int *)(param_1 + 0x24);\n        *(int **)(param_1 + 0x24) = piVar2;\n        return iVar4;\n      }" ({ "{") (expression_statement "iVar3 = piVar2[1];" (assignment_expression "iVar3 = piVar2[1]" (identifier "iVar3") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*piVar1 = *piVar2;" (assignment_expression "*piVar1 = *piVar2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (labeled_statement "LAB_0001c468:\n        piVar1[1] = iVar3;" (statement_identifier "LAB_0001c468") (: ":") (expression_statement "piVar1[1] = iVar3;" (assignment_expression "piVar1[1] = iVar3" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";"))) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[1] = *(int *)(param_1 + 0x24);" (assignment_expression "piVar2[1] = *(int *)(param_1 + 0x24)" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(int **)(param_1 + 0x24) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x24) = piVar2" (pointer_expression "*(int **)(param_1 + 0x24)" (* "*") (cast_expression "(int **)(param_1 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "piVar2")) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

void * function_1(type_1 *table,void *var_3,type_2 **bucket_head,type_3 delete)

{
  type_4 extraout_var;
  type_4 extraout_var_00;
  type_2 *phVar1;
  type_3 _Var3;
  type_2 *var_5;
  type_2 *phVar4;
  void *var_2;
  type_4 in_register_0000001c;
  
  phVar1 = var_1(table,var_3);
  *bucket_head = phVar1;
  var_2 = phVar1->data;
  if (var_2 == (void *)0x0) {
LAB_0001c42c:
    var_2 = (void *)0x0;
  }
  else {
    if (var_2 != var_3) {
      _Var3 = (*table->comparator)(var_3,var_2);
      if (var_4(extraout_var,_Var3) == 0) {
        for (; var_5 = phVar1->next, var_5 != (type_2 *)0x0; phVar1 = phVar1->next) {
          var_2 = var_5->data;
          if (var_2 == var_3) {
LAB_0001c45c:
            if (var_4(in_register_0000001c,delete) == 0) {
              return var_2;
            }
            phVar4 = var_5->next;
            goto LAB_0001c468;
          }
          _Var3 = (*table->comparator)(var_3,var_2);
          if (var_4(extraout_var_00,_Var3) != 0) {
            var_5 = phVar1->next;
            var_2 = var_5->data;
            goto LAB_0001c45c;
          }
        }
        goto LAB_0001c42c;
      }
      var_2 = phVar1->data;
    }
    if (var_4(in_register_0000001c,delete) != 0) {
      var_5 = phVar1->next;
      if (var_5 != (type_2 *)0x0) {
        phVar4 = var_5->next;
        phVar1->data = var_5->data;
LAB_0001c468:
        phVar1->next = phVar4;
        var_5->data = (void *)0x0;
        var_5->next = table->free_entry_list;
        table->free_entry_list = var_5;
        return var_2;
      }
      phVar1->data = (void *)0x0;
    }
  }
  return var_2;
}


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

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

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  piVar1 = (int *)FUN_0001c2f8();
  *param_3 = piVar1;
  iVar4 = *piVar1;
  if (iVar4 == 0) {
LAB_0001c42c:
    iVar4 = 0;
  }
  else {
    if (iVar4 != param_2) {
      iVar4 = (**(code **)(param_1 + 0x1c))(param_2);
      if (iVar4 == 0) {
        for (; piVar2 = (int *)piVar1[1], piVar2 != (int *)0x0; piVar1 = (int *)piVar1[1]) {
          iVar4 = *piVar2;
          if (iVar4 == param_2) {
LAB_0001c45c:
            if (param_4 == 0) {
              return iVar4;
            }
            iVar3 = piVar2[1];
            goto LAB_0001c468;
          }
          iVar4 = (**(code **)(param_1 + 0x1c))(param_2);
          if (iVar4 != 0) {
            piVar2 = (int *)piVar1[1];
            iVar4 = *piVar2;
            goto LAB_0001c45c;
          }
        }
        goto LAB_0001c42c;
      }
      iVar4 = *piVar1;
    }
    if (param_4 != 0) {
      piVar2 = (int *)piVar1[1];
      if (piVar2 != (int *)0x0) {
        iVar3 = piVar2[1];
        *piVar1 = *piVar2;
LAB_0001c468:
        piVar1[1] = iVar3;
        *piVar2 = 0;
        piVar2[1] = *(int *)(param_1 + 0x24);
        *(int **)(param_1 + 0x24) = piVar2;
        return iVar4;
      }
      *piVar1 = 0;
    }
  }
  return iVar4;
}

