
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

char * hash_insert(hash_control *table,char *key,void *val)

{
  undefined1 *puVar1;
  hash_entry *phVar2;
  uint uVar3;
  _obstack_chunk *p_Var4;
  hash_entry ***plist;
  hash_entry *phVar5;
  char *pcVar6;
  char *local_34;
  hash_entry **list;
  ulong hash;
  _obstack_chunk *p_Stack_14;
  
  p_Stack_14 = (_obstack_chunk *)0x263a9;
  plist = (hash_entry ***)strlen(key);
  phVar5 = hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,
                       (hash_control *)&hash);
  if (phVar5 != (hash_entry *)0x0) {
    return "exists";
  }
  local_34 = (table->memory).chunk_limit;
  pcVar6 = (table->memory).next_free;
  if ((uint)((int)local_34 - (int)pcVar6) < 0x10) {
    _obstack_newchunk(&table->memory,0x10);
    local_34 = (table->memory).chunk_limit;
    pcVar6 = (table->memory).next_free;
  }
  phVar2 = (hash_entry *)(table->memory).object_base;
  phVar5 = (hash_entry *)(pcVar6 + 0x10);
  (table->memory).next_free = (char *)phVar5;
  if (phVar5 == phVar2) {
    puVar1 = &(table->memory).field_0x28;
    *puVar1 = *puVar1 | 2;
  }
  uVar3 = (table->memory).alignment_mask;
  pcVar6 = (char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3));
  p_Var4 = (table->memory).chunk;
  (table->memory).next_free = pcVar6;
  if ((uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4)) {
    (table->memory).next_free = local_34;
    pcVar6 = local_34;
  }
  (table->memory).object_base = pcVar6;
  phVar2->string = key;
  phVar2->hash = hash;
  phVar2->data = val;
  phVar2->next = *list;
  *list = phVar2;
  return (char *)0x0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * FUN_000263a0(int param_1,char *param_2,int param_3)

{
  int *piVar1;
  size_t sVar2;
  int iVar3;
  uint uVar4;
  uint local_34;
  int *local_24;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x263a9;
  sVar2 = strlen(param_2);
  iVar3 = FUN_00026110(sVar2,&local_24,local_20);
  if (iVar3 != 0) {
    return "exists";
  }
  local_34 = *(uint *)(param_1 + 0x18);
  iVar3 = *(int *)(param_1 + 0x14);
  if (local_34 - iVar3 < 0x10) {
    _obstack_newchunk(param_1 + 8,0x10);
    local_34 = *(uint *)(param_1 + 0x18);
    iVar3 = *(int *)(param_1 + 0x14);
  }
  piVar1 = *(int **)(param_1 + 0x10);
  iVar3 = iVar3 + 0x10;
  *(int *)(param_1 + 0x14) = iVar3;
  if ((int *)iVar3 == piVar1) {
    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;
  }
  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);
  *(uint *)(param_1 + 0x14) = uVar4;
  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {
    *(uint *)(param_1 + 0x14) = local_34;
    uVar4 = local_34;
  }
  *(uint *)(param_1 + 0x10) = uVar4;
  piVar1[1] = (int)param_2;
  piVar1[2] = local_20[0];
  piVar1[3] = param_3;
  *piVar1 = *local_24;
  *local_24 = (int)piVar1;
  return (char *)0x0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017140
ADD EBX,0x51c57
SUB ESP,0x38
MOV EDI,dword ptr [ESP + 0x50]
MOV ESI,dword ptr [ESP + 0x4c]
PUSH EDI
CALL 0x000154f0
ADD ESP,0xc
LEA EDX,[ESI + 0x4]
LEA ECX,[ESP + 0x20]
PUSH ECX
LEA ECX,[ESP + 0x20]
PUSH ECX
MOV ECX,EDI
PUSH EAX
MOV EAX,ESI
CALL 0x00026110
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000263f0
ADD ESP,0x2c
LEA EAX,[EBX + 0xfffdfafd]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESI + 0x18]
MOV EDX,dword ptr [ESI + 0x14]
MOV dword ptr [ESP + 0x8],ECX
SUB ECX,EDX
CMP ECX,0xf
JBE 0x00026468
MOV ECX,dword ptr [ESI + 0x10]
LEA EBX,[EDX + 0x10]
MOV dword ptr [ESI + 0x14],EBX
CMP EBX,ECX
JZ 0x00026490
MOV EDX,dword ptr [ESI + 0x20]
ADD EBX,EDX
NOT EDX
AND EDX,EBX
MOV EBX,dword ptr [ESI + 0xc]
MOV EBP,EDX
MOV dword ptr [ESI + 0x14],EDX
SUB EBP,EBX
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,dword ptr [ESP + 0x8]
SUB EBP,EBX
CMP dword ptr [ESP + 0xc],EBP
JBE 0x0002643e
MOV EBX,dword ptr [ESP + 0x8]
MOV dword ptr [ESI + 0x14],EBX
MOV EDX,EBX
MOV dword ptr [ESI + 0x10],EDX
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ECX + 0x4],EDI
MOV dword ptr [ECX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x48]
MOV dword ptr [ECX + 0xc],EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV EBX,dword ptr [EDX]
MOV dword ptr [ECX],EBX
MOV dword ptr [EDX],ECX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],EAX
LEA EDX,[ESI + 0x8]
SUB ESP,0x8
PUSH 0x10
PUSH EDX
CALL 0x000151d0
MOV EAX,dword ptr [ESI + 0x18]
MOV EDX,dword ptr [ESI + 0x14]
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x00026401
OR byte ptr [ESI + 0x30],0x2
JMP 0x00026412
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_000263a0(int param_1,char *param_2,int param_3)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}\n\n" comment (function_definition "char * FUN_000263a0(int param_1,char *param_2,int param_3)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_000263a0(int param_1,char *param_2,int param_3)" * (function_declarator "FUN_000263a0(int param_1,char *param_2,int param_3)" identifier (parameter_list "(int param_1,char *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x263a9;" (assignment_expression "uStack_14 = 0x263a9" identifier = number_literal) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar3 = FUN_00026110(sVar2,&local_24,local_20);" (assignment_expression "iVar3 = FUN_00026110(sVar2,&local_24,local_20)" identifier = (call_expression "FUN_00026110(sVar2,&local_24,local_20)" identifier (argument_list "(sVar2,&local_24,local_20)" ( identifier , (pointer_expression "&local_24" & identifier) , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n    return "exists";\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    return "exists";\n  }" { (return_statement "return "exists";" return (string_literal ""exists"" " string_content ") ;) })) (expression_statement "local_34 = *(uint *)(param_1 + 0x18);" (assignment_expression "local_34 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }" if (parenthesized_expression "(local_34 - iVar3 < 0x10)" ( (binary_expression "local_34 - iVar3 < 0x10" (binary_expression "local_34 - iVar3" identifier - identifier) < number_literal) )) (compound_statement "{\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }" { (expression_statement "_obstack_newchunk(param_1 + 8,0x10);" (call_expression "_obstack_newchunk(param_1 + 8,0x10)" identifier (argument_list "(param_1 + 8,0x10)" ( (binary_expression "param_1 + 8" identifier + number_literal) , number_literal ))) ;) (expression_statement "local_34 = *(uint *)(param_1 + 0x18);" (assignment_expression "local_34 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) })) (expression_statement "piVar1 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar3 + 0x10;" (assignment_expression "iVar3 = iVar3 + 0x10" identifier = (binary_expression "iVar3 + 0x10" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar3" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }" if (parenthesized_expression "((int *)iVar3 == piVar1)" ( (binary_expression "(int *)iVar3 == piVar1" (cast_expression "(int *)iVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }" { (expression_statement "*(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;" (assignment_expression "*(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2" (pointer_expression "*(byte *)(param_1 + 0x30)" * (cast_expression "(byte *)(param_1 + 0x30)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 0x30) | 2" (pointer_expression "*(byte *)(param_1 + 0x30)" * (cast_expression "(byte *)(param_1 + 0x30)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);" (assignment_expression "uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20)" identifier = (binary_expression "~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20)" (unary_expression "~*(uint *)(param_1 + 0x20)" ~ (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) & (binary_expression "iVar3 + *(uint *)(param_1 + 0x20)" identifier + (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))))) ;) (expression_statement "*(uint *)(param_1 + 0x14) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x14) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }" if (parenthesized_expression "(local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc))" ( (binary_expression "local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)" (binary_expression "local_34 - *(int *)(param_1 + 0xc)" identifier - (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) < (binary_expression "uVar4 - *(int *)(param_1 + 0xc)" identifier - (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))))) )) (compound_statement "{\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }" { (expression_statement "*(uint *)(param_1 + 0x14) = local_34;" (assignment_expression "*(uint *)(param_1 + 0x14) = local_34" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = local_34;" (assignment_expression "uVar4 = local_34" identifier = identifier) ;) })) (expression_statement "*(uint *)(param_1 + 0x10) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x10) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar1[1] = (int)param_2;" (assignment_expression "piVar1[1] = (int)param_2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1[2] = local_20[0];" (assignment_expression "piVar1[2] = local_20[0]" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "piVar1[3] = param_3;" (assignment_expression "piVar1[3] = param_3" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = *local_24;" (assignment_expression "*piVar1 = *local_24" (pointer_expression "*piVar1" * identifier) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "*local_24 = (int)piVar1;" (assignment_expression "*local_24 = (int)piVar1" (pointer_expression "*local_24" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * hash_insert(hash_control *table,char *key,void *val)\n\n{\n  undefined1 *puVar1;\n  hash_entry *phVar2;\n  uint uVar3;\n  _obstack_chunk *p_Var4;\n  hash_entry ***plist;\n  hash_entry *phVar5;\n  char *pcVar6;\n  char *local_34;\n  hash_entry **list;\n  ulong hash;\n  _obstack_chunk *p_Stack_14;\n  \n  p_Stack_14 = (_obstack_chunk *)0x263a9;\n  plist = (hash_entry ***)strlen(key);\n  phVar5 = hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash);\n  if (phVar5 != (hash_entry *)0x0) {\n    return "exists";\n  }\n  local_34 = (table->memory).chunk_limit;\n  pcVar6 = (table->memory).next_free;\n  if ((uint)((int)local_34 - (int)pcVar6) < 0x10) {\n    _obstack_newchunk(&table->memory,0x10);\n    local_34 = (table->memory).chunk_limit;\n    pcVar6 = (table->memory).next_free;\n  }\n  phVar2 = (hash_entry *)(table->memory).object_base;\n  phVar5 = (hash_entry *)(pcVar6 + 0x10);\n  (table->memory).next_free = (char *)phVar5;\n  if (phVar5 == phVar2) {\n    puVar1 = &(table->memory).field_0x28;\n    *puVar1 = *puVar1 | 2;\n  }\n  uVar3 = (table->memory).alignment_mask;\n  pcVar6 = (char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3));\n  p_Var4 = (table->memory).chunk;\n  (table->memory).next_free = pcVar6;\n  if ((uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4)) {\n    (table->memory).next_free = local_34;\n    pcVar6 = local_34;\n  }\n  (table->memory).object_base = pcVar6;\n  phVar2->string = key;\n  phVar2->hash = hash;\n  phVar2->data = val;\n  phVar2->next = *list;\n  *list = phVar2;\n  return (char *)0x0;\n}\n\n" comment comment (function_definition "char * hash_insert(hash_control *table,char *key,void *val)\n\n{\n  undefined1 *puVar1;\n  hash_entry *phVar2;\n  uint uVar3;\n  _obstack_chunk *p_Var4;\n  hash_entry ***plist;\n  hash_entry *phVar5;\n  char *pcVar6;\n  char *local_34;\n  hash_entry **list;\n  ulong hash;\n  _obstack_chunk *p_Stack_14;\n  \n  p_Stack_14 = (_obstack_chunk *)0x263a9;\n  plist = (hash_entry ***)strlen(key);\n  phVar5 = hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash);\n  if (phVar5 != (hash_entry *)0x0) {\n    return "exists";\n  }\n  local_34 = (table->memory).chunk_limit;\n  pcVar6 = (table->memory).next_free;\n  if ((uint)((int)local_34 - (int)pcVar6) < 0x10) {\n    _obstack_newchunk(&table->memory,0x10);\n    local_34 = (table->memory).chunk_limit;\n    pcVar6 = (table->memory).next_free;\n  }\n  phVar2 = (hash_entry *)(table->memory).object_base;\n  phVar5 = (hash_entry *)(pcVar6 + 0x10);\n  (table->memory).next_free = (char *)phVar5;\n  if (phVar5 == phVar2) {\n    puVar1 = &(table->memory).field_0x28;\n    *puVar1 = *puVar1 | 2;\n  }\n  uVar3 = (table->memory).alignment_mask;\n  pcVar6 = (char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3));\n  p_Var4 = (table->memory).chunk;\n  (table->memory).next_free = pcVar6;\n  if ((uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4)) {\n    (table->memory).next_free = local_34;\n    pcVar6 = local_34;\n  }\n  (table->memory).object_base = pcVar6;\n  phVar2->string = key;\n  phVar2->hash = hash;\n  phVar2->data = val;\n  phVar2->next = *list;\n  *list = phVar2;\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* hash_insert(hash_control *table,char *key,void *val)" * (function_declarator "hash_insert(hash_control *table,char *key,void *val)" identifier (parameter_list "(hash_control *table,char *key,void *val)" ( (parameter_declaration "hash_control *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "char *key" primitive_type (pointer_declarator "*key" * identifier)) , (parameter_declaration "void *val" primitive_type (pointer_declarator "*val" * identifier)) )))) (compound_statement "{\n  undefined1 *puVar1;\n  hash_entry *phVar2;\n  uint uVar3;\n  _obstack_chunk *p_Var4;\n  hash_entry ***plist;\n  hash_entry *phVar5;\n  char *pcVar6;\n  char *local_34;\n  hash_entry **list;\n  ulong hash;\n  _obstack_chunk *p_Stack_14;\n  \n  p_Stack_14 = (_obstack_chunk *)0x263a9;\n  plist = (hash_entry ***)strlen(key);\n  phVar5 = hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash);\n  if (phVar5 != (hash_entry *)0x0) {\n    return "exists";\n  }\n  local_34 = (table->memory).chunk_limit;\n  pcVar6 = (table->memory).next_free;\n  if ((uint)((int)local_34 - (int)pcVar6) < 0x10) {\n    _obstack_newchunk(&table->memory,0x10);\n    local_34 = (table->memory).chunk_limit;\n    pcVar6 = (table->memory).next_free;\n  }\n  phVar2 = (hash_entry *)(table->memory).object_base;\n  phVar5 = (hash_entry *)(pcVar6 + 0x10);\n  (table->memory).next_free = (char *)phVar5;\n  if (phVar5 == phVar2) {\n    puVar1 = &(table->memory).field_0x28;\n    *puVar1 = *puVar1 | 2;\n  }\n  uVar3 = (table->memory).alignment_mask;\n  pcVar6 = (char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3));\n  p_Var4 = (table->memory).chunk;\n  (table->memory).next_free = pcVar6;\n  if ((uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4)) {\n    (table->memory).next_free = local_34;\n    pcVar6 = local_34;\n  }\n  (table->memory).object_base = pcVar6;\n  phVar2->string = key;\n  phVar2->hash = hash;\n  phVar2->data = val;\n  phVar2->next = *list;\n  *list = phVar2;\n  return (char *)0x0;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "hash_entry *phVar2;" type_identifier (pointer_declarator "*phVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "_obstack_chunk *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "hash_entry ***plist;" type_identifier (pointer_declarator "***plist" * (pointer_declarator "**plist" * (pointer_declarator "*plist" * identifier))) ;) (declaration "hash_entry *phVar5;" type_identifier (pointer_declarator "*phVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "hash_entry **list;" type_identifier (pointer_declarator "**list" * (pointer_declarator "*list" * identifier)) ;) (declaration "ulong hash;" type_identifier identifier ;) (declaration "_obstack_chunk *p_Stack_14;" type_identifier (pointer_declarator "*p_Stack_14" * identifier) ;) (expression_statement "p_Stack_14 = (_obstack_chunk *)0x263a9;" (assignment_expression "p_Stack_14 = (_obstack_chunk *)0x263a9" identifier = (cast_expression "(_obstack_chunk *)0x263a9" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "plist = (hash_entry ***)strlen(key);" (assignment_expression "plist = (hash_entry ***)strlen(key)" identifier = (cast_expression "(hash_entry ***)strlen(key)" ( (type_descriptor "hash_entry ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (call_expression "strlen(key)" identifier (argument_list "(key)" ( identifier ))))) ;) (expression_statement "phVar5 = hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash);" (assignment_expression "phVar5 = hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash)" identifier = (call_expression "hash_lookup(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash)" identifier (argument_list "(table,(char *)&table->size,(size_t)key,plist,(ulong *)&list,\n                       (hash_control *)&hash)" ( identifier , (cast_expression "(char *)&table->size" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&table->size" & (field_expression "table->size" identifier -> field_identifier))) , (cast_expression "(size_t)key" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier , (cast_expression "(ulong *)&list" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&list" & identifier)) , (cast_expression "(hash_control *)&hash" ( (type_descriptor "hash_control *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&hash" & identifier)) )))) ;) (if_statement "if (phVar5 != (hash_entry *)0x0) {\n    return "exists";\n  }" if (parenthesized_expression "(phVar5 != (hash_entry *)0x0)" ( (binary_expression "phVar5 != (hash_entry *)0x0" identifier != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return "exists";\n  }" { (return_statement "return "exists";" return (string_literal ""exists"" " string_content ") ;) })) (expression_statement "local_34 = (table->memory).chunk_limit;" (assignment_expression "local_34 = (table->memory).chunk_limit" identifier = (field_expression "(table->memory).chunk_limit" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar6 = (table->memory).next_free;" (assignment_expression "pcVar6 = (table->memory).next_free" identifier = (field_expression "(table->memory).next_free" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((uint)((int)local_34 - (int)pcVar6) < 0x10) {\n    _obstack_newchunk(&table->memory,0x10);\n    local_34 = (table->memory).chunk_limit;\n    pcVar6 = (table->memory).next_free;\n  }" if (parenthesized_expression "((uint)((int)local_34 - (int)pcVar6) < 0x10)" ( (binary_expression "(uint)((int)local_34 - (int)pcVar6) < 0x10" (call_expression "(uint)((int)local_34 - (int)pcVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_34 - (int)pcVar6)" ( (binary_expression "(int)local_34 - (int)pcVar6" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < number_literal) )) (compound_statement "{\n    _obstack_newchunk(&table->memory,0x10);\n    local_34 = (table->memory).chunk_limit;\n    pcVar6 = (table->memory).next_free;\n  }" { (expression_statement "_obstack_newchunk(&table->memory,0x10);" (call_expression "_obstack_newchunk(&table->memory,0x10)" identifier (argument_list "(&table->memory,0x10)" ( (pointer_expression "&table->memory" & (field_expression "table->memory" identifier -> field_identifier)) , number_literal ))) ;) (expression_statement "local_34 = (table->memory).chunk_limit;" (assignment_expression "local_34 = (table->memory).chunk_limit" identifier = (field_expression "(table->memory).chunk_limit" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar6 = (table->memory).next_free;" (assignment_expression "pcVar6 = (table->memory).next_free" identifier = (field_expression "(table->memory).next_free" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier)) ;) })) (expression_statement "phVar2 = (hash_entry *)(table->memory).object_base;" (assignment_expression "phVar2 = (hash_entry *)(table->memory).object_base" identifier = (cast_expression "(hash_entry *)(table->memory).object_base" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(table->memory).object_base" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "phVar5 = (hash_entry *)(pcVar6 + 0x10);" (assignment_expression "phVar5 = (hash_entry *)(pcVar6 + 0x10)" identifier = (cast_expression "(hash_entry *)(pcVar6 + 0x10)" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x10)" ( (binary_expression "pcVar6 + 0x10" identifier + number_literal) )))) ;) (expression_statement "(table->memory).next_free = (char *)phVar5;" (assignment_expression "(table->memory).next_free = (char *)phVar5" (field_expression "(table->memory).next_free" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(char *)phVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (phVar5 == phVar2) {\n    puVar1 = &(table->memory).field_0x28;\n    *puVar1 = *puVar1 | 2;\n  }" if (parenthesized_expression "(phVar5 == phVar2)" ( (binary_expression "phVar5 == phVar2" identifier == identifier) )) (compound_statement "{\n    puVar1 = &(table->memory).field_0x28;\n    *puVar1 = *puVar1 | 2;\n  }" { (expression_statement "puVar1 = &(table->memory).field_0x28;" (assignment_expression "puVar1 = &(table->memory).field_0x28" identifier = (pointer_expression "&(table->memory).field_0x28" & (field_expression "(table->memory).field_0x28" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 2;" (assignment_expression "*puVar1 = *puVar1 | 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 2" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (expression_statement "uVar3 = (table->memory).alignment_mask;" (assignment_expression "uVar3 = (table->memory).alignment_mask" identifier = (field_expression "(table->memory).alignment_mask" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar6 = (char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3));" (assignment_expression "pcVar6 = (char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3))" identifier = (cast_expression "(char *)(~uVar3 & (uint)((int)&phVar5->next + uVar3))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~uVar3 & (uint)((int)&phVar5->next + uVar3))" ( (binary_expression "~uVar3 & (uint)((int)&phVar5->next + uVar3)" (unary_expression "~uVar3" ~ identifier) & (call_expression "(uint)((int)&phVar5->next + uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&phVar5->next + uVar3)" ( (binary_expression "(int)&phVar5->next + uVar3" (cast_expression "(int)&phVar5->next" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&phVar5->next" & (field_expression "phVar5->next" identifier -> field_identifier))) + identifier) )))) )))) ;) (expression_statement "p_Var4 = (table->memory).chunk;" (assignment_expression "p_Var4 = (table->memory).chunk" identifier = (field_expression "(table->memory).chunk" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(table->memory).next_free = pcVar6;" (assignment_expression "(table->memory).next_free = pcVar6" (field_expression "(table->memory).next_free" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if ((uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4)) {\n    (table->memory).next_free = local_34;\n    pcVar6 = local_34;\n  }" if (parenthesized_expression "((uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4))" ( (binary_expression "(uint)((int)local_34 - (int)p_Var4) < (uint)((int)pcVar6 - (int)p_Var4)" (call_expression "(uint)((int)local_34 - (int)p_Var4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_34 - (int)p_Var4)" ( (binary_expression "(int)local_34 - (int)p_Var4" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < (call_expression "(uint)((int)pcVar6 - (int)p_Var4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)pcVar6 - (int)p_Var4)" ( (binary_expression "(int)pcVar6 - (int)p_Var4" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var4" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) (compound_statement "{\n    (table->memory).next_free = local_34;\n    pcVar6 = local_34;\n  }" { (expression_statement "(table->memory).next_free = local_34;" (assignment_expression "(table->memory).next_free = local_34" (field_expression "(table->memory).next_free" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pcVar6 = local_34;" (assignment_expression "pcVar6 = local_34" identifier = identifier) ;) })) (expression_statement "(table->memory).object_base = pcVar6;" (assignment_expression "(table->memory).object_base = pcVar6" (field_expression "(table->memory).object_base" (parenthesized_expression "(table->memory)" ( (field_expression "table->memory" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "phVar2->string = key;" (assignment_expression "phVar2->string = key" (field_expression "phVar2->string" identifier -> field_identifier) = identifier) ;) (expression_statement "phVar2->hash = hash;" (assignment_expression "phVar2->hash = hash" (field_expression "phVar2->hash" identifier -> field_identifier) = identifier) ;) (expression_statement "phVar2->data = val;" (assignment_expression "phVar2->data = val" (field_expression "phVar2->data" identifier -> field_identifier) = identifier) ;) (expression_statement "phVar2->next = *list;" (assignment_expression "phVar2->next = *list" (field_expression "phVar2->next" identifier -> field_identifier) = (pointer_expression "*list" * identifier)) ;) (expression_statement "*list = phVar2;" (assignment_expression "*list = phVar2" (pointer_expression "*list" * identifier) = identifier) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "char * FUN_000263a0(int param_1,char *param_2,int param_3)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}\n\n" (function_definition "char * FUN_000263a0(int param_1,char *param_2,int param_3)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_000263a0(int param_1,char *param_2,int param_3)" * (function_declarator "FUN_000263a0(int param_1,char *param_2,int param_3)" identifier (parameter_list "(int param_1,char *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x263a9;" (assignment_expression "uStack_14 = 0x263a9" identifier = number_literal) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar3 = FUN_00026110(sVar2,&local_24,local_20);" (assignment_expression "iVar3 = FUN_00026110(sVar2,&local_24,local_20)" identifier = (call_expression "FUN_00026110(sVar2,&local_24,local_20)" identifier (argument_list "(sVar2,&local_24,local_20)" ( identifier , (pointer_expression "&local_24" & identifier) , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n    return "exists";\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    return "exists";\n  }" { (return_statement "return "exists";" return (string_literal ""exists"" " string_content ") ;) })) (expression_statement "local_34 = *(uint *)(param_1 + 0x18);" (assignment_expression "local_34 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }" if (parenthesized_expression "(local_34 - iVar3 < 0x10)" ( (binary_expression "local_34 - iVar3 < 0x10" (binary_expression "local_34 - iVar3" identifier - identifier) < number_literal) )) (compound_statement "{\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }" { (expression_statement "_obstack_newchunk(param_1 + 8,0x10);" (call_expression "_obstack_newchunk(param_1 + 8,0x10)" identifier (argument_list "(param_1 + 8,0x10)" ( (binary_expression "param_1 + 8" identifier + number_literal) , number_literal ))) ;) (expression_statement "local_34 = *(uint *)(param_1 + 0x18);" (assignment_expression "local_34 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) })) (expression_statement "piVar1 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar3 + 0x10;" (assignment_expression "iVar3 = iVar3 + 0x10" identifier = (binary_expression "iVar3 + 0x10" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar3" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }" if (parenthesized_expression "((int *)iVar3 == piVar1)" ( (binary_expression "(int *)iVar3 == piVar1" (cast_expression "(int *)iVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }" { (expression_statement "*(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;" (assignment_expression "*(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2" (pointer_expression "*(byte *)(param_1 + 0x30)" * (cast_expression "(byte *)(param_1 + 0x30)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 0x30) | 2" (pointer_expression "*(byte *)(param_1 + 0x30)" * (cast_expression "(byte *)(param_1 + 0x30)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);" (assignment_expression "uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20)" identifier = (binary_expression "~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20)" (unary_expression "~*(uint *)(param_1 + 0x20)" ~ (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) & (binary_expression "iVar3 + *(uint *)(param_1 + 0x20)" identifier + (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))))) ;) (expression_statement "*(uint *)(param_1 + 0x14) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x14) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }" if (parenthesized_expression "(local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc))" ( (binary_expression "local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)" (binary_expression "local_34 - *(int *)(param_1 + 0xc)" identifier - (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) < (binary_expression "uVar4 - *(int *)(param_1 + 0xc)" identifier - (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))))) )) (compound_statement "{\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }" { (expression_statement "*(uint *)(param_1 + 0x14) = local_34;" (assignment_expression "*(uint *)(param_1 + 0x14) = local_34" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = local_34;" (assignment_expression "uVar4 = local_34" identifier = identifier) ;) })) (expression_statement "*(uint *)(param_1 + 0x10) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x10) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar1[1] = (int)param_2;" (assignment_expression "piVar1[1] = (int)param_2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1[2] = local_20[0];" (assignment_expression "piVar1[2] = local_20[0]" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "piVar1[3] = param_3;" (assignment_expression "piVar1[3] = param_3" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = *local_24;" (assignment_expression "*piVar1 = *local_24" (pointer_expression "*piVar1" * identifier) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "*local_24 = (int)piVar1;" (assignment_expression "*local_24 = (int)piVar1" (pointer_expression "*local_24" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (string_literal " string_content ") ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) & (binary_expression IDENT + (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "char * FUN_000263a0(int param_1,char *param_2,int param_3)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}" (primitive_type "char") (pointer_declarator "* FUN_000263a0(int param_1,char *param_2,int param_3)" (* "*") (function_declarator "FUN_000263a0(int param_1,char *param_2,int param_3)" (identifier "FUN_000263a0") (parameter_list "(int param_1,char *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  int *piVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  uint local_34;\n  int *local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x263a9;\n  sVar2 = strlen(param_2);\n  iVar3 = FUN_00026110(sVar2,&local_24,local_20);\n  if (iVar3 != 0) {\n    return "exists";\n  }\n  local_34 = *(uint *)(param_1 + 0x18);\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }\n  piVar1 = *(int **)(param_1 + 0x10);\n  iVar3 = iVar3 + 0x10;\n  *(int *)(param_1 + 0x14) = iVar3;\n  if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }\n  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x14) = uVar4;\n  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }\n  *(uint *)(param_1 + 0x10) = uVar4;\n  piVar1[1] = (int)param_2;\n  piVar1[2] = local_20[0];\n  piVar1[3] = param_3;\n  *piVar1 = *local_24;\n  *local_24 = (int)piVar1;\n  return (char *)0x0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20 [3];" (primitive_type "int") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x263a9;" (assignment_expression "uStack_14 = 0x263a9" (identifier "uStack_14") (= "=") (number_literal "0x263a9")) (; ";")) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" (identifier "sVar2") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00026110(sVar2,&local_24,local_20);" (assignment_expression "iVar3 = FUN_00026110(sVar2,&local_24,local_20)" (identifier "iVar3") (= "=") (call_expression "FUN_00026110(sVar2,&local_24,local_20)" (identifier "FUN_00026110") (argument_list "(sVar2,&local_24,local_20)" (( "(") (identifier "sVar2") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "local_20") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    return "exists";\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return "exists";\n  }" ({ "{") (return_statement "return "exists";" (return "return") (string_literal ""exists"" (" """) (string_content "exists") (" """)) (; ";")) (} "}"))) (expression_statement "local_34 = *(uint *)(param_1 + 0x18);" (assignment_expression "local_34 = *(uint *)(param_1 + 0x18)" (identifier "local_34") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (local_34 - iVar3 < 0x10) {\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }" (if "if") (parenthesized_expression "(local_34 - iVar3 < 0x10)" (( "(") (binary_expression "local_34 - iVar3 < 0x10" (binary_expression "local_34 - iVar3" (identifier "local_34") (- "-") (identifier "iVar3")) (< "<") (number_literal "0x10")) () ")")) (compound_statement "{\n    _obstack_newchunk(param_1 + 8,0x10);\n    local_34 = *(uint *)(param_1 + 0x18);\n    iVar3 = *(int *)(param_1 + 0x14);\n  }" ({ "{") (expression_statement "_obstack_newchunk(param_1 + 8,0x10);" (call_expression "_obstack_newchunk(param_1 + 8,0x10)" (identifier "_obstack_newchunk") (argument_list "(param_1 + 8,0x10)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (number_literal "0x10") () ")"))) (; ";")) (expression_statement "local_34 = *(uint *)(param_1 + 0x18);" (assignment_expression "local_34 = *(uint *)(param_1 + 0x18)" (identifier "local_34") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}"))) (expression_statement "piVar1 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x10)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x10)" (* "*") (cast_expression "(int **)(param_1 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar3 + 0x10;" (assignment_expression "iVar3 = iVar3 + 0x10" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar3" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if ((int *)iVar3 == piVar1) {\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }" (if "if") (parenthesized_expression "((int *)iVar3 == piVar1)" (( "(") (binary_expression "(int *)iVar3 == piVar1" (cast_expression "(int *)iVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar3")) (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;\n  }" ({ "{") (expression_statement "*(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;" (assignment_expression "*(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2" (pointer_expression "*(byte *)(param_1 + 0x30)" (* "*") (cast_expression "(byte *)(param_1 + 0x30)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 0x30) | 2" (pointer_expression "*(byte *)(param_1 + 0x30)" (* "*") (cast_expression "(byte *)(param_1 + 0x30)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);" (assignment_expression "uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20)" (identifier "uVar4") (= "=") (binary_expression "~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20)" (unary_expression "~*(uint *)(param_1 + 0x20)" (~ "~") (pointer_expression "*(uint *)(param_1 + 0x20)" (* "*") (cast_expression "(uint *)(param_1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (& "&") (binary_expression "iVar3 + *(uint *)(param_1 + 0x20)" (identifier "iVar3") (+ "+") (pointer_expression "*(uint *)(param_1 + 0x20)" (* "*") (cast_expression "(uint *)(param_1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x14) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x14) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }" (if "if") (parenthesized_expression "(local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc))" (( "(") (binary_expression "local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)" (binary_expression "local_34 - *(int *)(param_1 + 0xc)" (identifier "local_34") (- "-") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (< "<") (binary_expression "uVar4 - *(int *)(param_1 + 0xc)" (identifier "uVar4") (- "-") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))))) () ")")) (compound_statement "{\n    *(uint *)(param_1 + 0x14) = local_34;\n    uVar4 = local_34;\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x14) = local_34;" (assignment_expression "*(uint *)(param_1 + 0x14) = local_34" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "uVar4 = local_34;" (assignment_expression "uVar4 = local_34" (identifier "uVar4") (= "=") (identifier "local_34")) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_1 + 0x10) = uVar4;" (assignment_expression "*(uint *)(param_1 + 0x10) = uVar4" (pointer_expression "*(uint *)(param_1 + 0x10)" (* "*") (cast_expression "(uint *)(param_1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "piVar1[1] = (int)param_2;" (assignment_expression "piVar1[1] = (int)param_2" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "piVar1[2] = local_20[0];" (assignment_expression "piVar1[2] = local_20[0]" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "piVar1[3] = param_3;" (assignment_expression "piVar1[3] = param_3" (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*piVar1 = *local_24;" (assignment_expression "*piVar1 = *local_24" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (expression_statement "*local_24 = (int)piVar1;" (assignment_expression "*local_24 = (int)piVar1" (pointer_expression "*local_24" (* "*") (identifier "local_24")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

char * function_1(type_1 *table,char *key,void *val)

{
  type_2 *puVar1;
  type_3 *var_6;
  type_4 var_7;
  type_5 *p_Var4;
  type_3 ***plist;
  type_3 *var_3;
  char *var_5;
  char *local_34;
  type_3 **list;
  type_6 hash;
  type_5 *p_Stack_14;
  
  p_Stack_14 = (type_5 *)0x263a9;
  plist = (type_3 ***)var_1(key);
  var_3 = var_2(table,(char *)&table->size,(size_t)key,plist,(type_6 *)&list,
                       (type_1 *)&hash);
  if (var_3 != (type_3 *)0x0) {
    return "exists";
  }
  local_34 = (table->memory).chunk_limit;
  var_5 = (table->memory).next_free;
  if ((type_4)((int)local_34 - (int)var_5) < 0x10) {
    var_4(&table->memory,0x10);
    local_34 = (table->memory).chunk_limit;
    var_5 = (table->memory).next_free;
  }
  var_6 = (type_3 *)(table->memory).object_base;
  var_3 = (type_3 *)(var_5 + 0x10);
  (table->memory).next_free = (char *)var_3;
  if (var_3 == var_6) {
    puVar1 = &(table->memory).field_0x28;
    *puVar1 = *puVar1 | 2;
  }
  var_7 = (table->memory).alignment_mask;
  var_5 = (char *)(~var_7 & (type_4)((int)&var_3->next + var_7));
  p_Var4 = (table->memory).chunk;
  (table->memory).next_free = var_5;
  if ((type_4)((int)local_34 - (int)p_Var4) < (type_4)((int)var_5 - (int)p_Var4)) {
    (table->memory).next_free = local_34;
    var_5 = local_34;
  }
  (table->memory).object_base = var_5;
  var_6->string = key;
  var_6->hash = hash;
  var_6->data = val;
  var_6->next = *list;
  *list = var_6;
  return (char *)0x0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * MASKED(int param_1,char *param_2,int param_3)

{
  int *piVar1;
  size_t sVar2;
  int iVar3;
  uint uVar4;
  uint local_34;
  int *local_24;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x263a9;
  sVar2 = strlen(param_2);
  iVar3 = FUN_00026110(sVar2,&local_24,local_20);
  if (iVar3 != 0) {
    return "exists";
  }
  local_34 = *(uint *)(param_1 + 0x18);
  iVar3 = *(int *)(param_1 + 0x14);
  if (local_34 - iVar3 < 0x10) {
    _obstack_newchunk(param_1 + 8,0x10);
    local_34 = *(uint *)(param_1 + 0x18);
    iVar3 = *(int *)(param_1 + 0x14);
  }
  piVar1 = *(int **)(param_1 + 0x10);
  iVar3 = iVar3 + 0x10;
  *(int *)(param_1 + 0x14) = iVar3;
  if ((int *)iVar3 == piVar1) {
    *(byte *)(param_1 + 0x30) = *(byte *)(param_1 + 0x30) | 2;
  }
  uVar4 = ~*(uint *)(param_1 + 0x20) & iVar3 + *(uint *)(param_1 + 0x20);
  *(uint *)(param_1 + 0x14) = uVar4;
  if (local_34 - *(int *)(param_1 + 0xc) < uVar4 - *(int *)(param_1 + 0xc)) {
    *(uint *)(param_1 + 0x14) = local_34;
    uVar4 = local_34;
  }
  *(uint *)(param_1 + 0x10) = uVar4;
  piVar1[1] = (int)param_2;
  piVar1[2] = local_20[0];
  piVar1[3] = param_3;
  *piVar1 = *local_24;
  *local_24 = (int)piVar1;
  return (char *)0x0;
}

