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

symbol * Symbol_find(char *key)

{
  char cVar1;
  uint uVar2;
  int iVar3;
  char *pcVar4;
  symbol *psVar5;
  
  psVar5 = (symbol *)x2a;
  if (x2a != (s_x2 *)0x0) {
    if (*key == '\0') {
      uVar2 = 0;
    }
    else {
      uVar2 = 0;
      pcVar4 = key;
      cVar1 = *key;
      do {
        pcVar4 = pcVar4 + 1;
        uVar2 = (int)cVar1 + uVar2 * 0xd;
        cVar1 = *pcVar4;
      } while (*pcVar4 != '\0');
    }
    psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];
    if (psVar5 == (symbol *)0x0) {
      psVar5 = (symbol *)0x0;
    }
    else {
      do {
        iVar3 = strcmp((char *)psVar5->index,key);
        if (iVar3 == 0) {
          return (symbol *)psVar5->name;
        }
        psVar5 = (symbol *)psVar5->type;
      } while (psVar5 != (symbol *)0x0);
    }
  }
  return psVar5;
}



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

int * FUN_00019710(char *param_1)

{
  char cVar1;
  uint uVar2;
  int iVar3;
  char *pcVar4;
  int *piVar5;
  
  piVar5 = DAT_000251a8;
  if (DAT_000251a8 != (int *)0x0) {
    if (*param_1 == '\0') {
      uVar2 = 0;
    }
    else {
      uVar2 = 0;
      pcVar4 = param_1;
      cVar1 = *param_1;
      do {
        pcVar4 = pcVar4 + 1;
        uVar2 = (int)cVar1 + uVar2 * 0xd;
        cVar1 = *pcVar4;
      } while (*pcVar4 != '\0');
    }
    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);
    if (piVar5 == (int *)0x0) {
      piVar5 = (int *)0x0;
    }
    else {
      do {
        iVar3 = strcmp((char *)piVar5[1],param_1);
        if (iVar3 == 0) {
          return (int *)*piVar5;
        }
        piVar5 = (int *)piVar5[2];
      } while (piVar5 != (int *)0x0);
    }
  }
  return piVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000118f0
ADD EBX,0xb827
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EBX + 0x268]
TEST ESI,ESI
JZ 0x0001978c
MOVZX EBP,byte ptr [EDI]
MOV EAX,EBP
TEST AL,AL
JZ 0x000197a0
MOV ECX,EDI
XOR EAX,EAX
LEA ESI,[ESI]
LEA EDX,[EAX + EAX*0x2]
ADD ECX,0x1
LEA EDX,[EAX + EDX*0x4]
MOV EAX,EBP
MOVZX EBP,byte ptr [ECX]
MOVSX EAX,AL
ADD EAX,EDX
MOV EDX,EBP
TEST DL,DL
JNZ 0x00019740
MOV ECX,dword ptr [ESI]
LEA EDX,[ECX + -0x1]
AND EAX,EDX
MOV EDX,dword ptr [ESI + 0xc]
MOV ESI,dword ptr [EDX + EAX*0x4]
TEST ESI,ESI
JNZ 0x00019777
JMP 0x0001978c
MOV ESI,dword ptr [ESI + 0x8]
TEST ESI,ESI
JZ 0x0001978c
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESI + 0x4]
CALL 0x00011050
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00019770
MOV ESI,dword ptr [ESI]
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EAX,EAX
JMP 0x00019759
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00019710(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}\n\n" comment (function_definition "int * FUN_00019710(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}" primitive_type (pointer_declarator "* FUN_00019710(char *param_1)" * (function_declarator "FUN_00019710(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (expression_statement "piVar5 = DAT_000251a8;" (assignment_expression "piVar5 = DAT_000251a8" identifier = identifier) ;) (if_statement "if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }" if (parenthesized_expression "(DAT_000251a8 != (int *)0x0)" ( (binary_expression "DAT_000251a8 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }" { (if_statement "if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" else (compound_statement "{\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = param_1;" (assignment_expression "pcVar4 = param_1" identifier = identifier) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (do_statement "do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');" do (compound_statement "{\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      }" { (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = (int)cVar1 + uVar2 * 0xd;" (assignment_expression "uVar2 = (int)cVar1 + uVar2 * 0xd" identifier = (binary_expression "(int)cVar1 + uVar2 * 0xd" (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar2 * 0xd" identifier * number_literal))) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) }) while (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (expression_statement "piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);" (assignment_expression "piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" identifier = (pointer_expression "*(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" * (cast_expression "(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" ( (binary_expression "DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4" (subscript_expression "DAT_000251a8[3]" identifier [ number_literal ]) + (binary_expression "(uVar2 & *DAT_000251a8 - 1U) * 4" (parenthesized_expression "(uVar2 & *DAT_000251a8 - 1U)" ( (binary_expression "uVar2 & *DAT_000251a8 - 1U" identifier & (binary_expression "*DAT_000251a8 - 1U" (pointer_expression "*DAT_000251a8" * identifier) - number_literal)) )) * number_literal)) ))))) ;) (if_statement "if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar5 = (int *)0x0;\n    }" { (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" else (compound_statement "{\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" { (do_statement "do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);" do (compound_statement "{\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      }" { (expression_statement "iVar3 = strcmp((char *)piVar5[1],param_1);" (assignment_expression "iVar3 = strcmp((char *)piVar5[1],param_1)" identifier = (call_expression "strcmp((char *)piVar5[1],param_1)" identifier (argument_list "((char *)piVar5[1],param_1)" ( (cast_expression "(char *)piVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return (int *)*piVar5;\n        }" { (return_statement "return (int *)*piVar5;" return (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier)) ;) })) (expression_statement "piVar5 = (int *)piVar5[2];" (assignment_expression "piVar5 = (int *)piVar5[2]" identifier = (cast_expression "(int *)piVar5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[2]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) })) (return_statement "return piVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nsymbol * Symbol_find(char *key)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  symbol *psVar5;\n  \n  psVar5 = (symbol *)x2a;\n  if (x2a != (s_x2 *)0x0) {\n    if (*key == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];\n    if (psVar5 == (symbol *)0x0) {\n      psVar5 = (symbol *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }\n  }\n  return psVar5;\n}\n\n" comment comment (function_definition "symbol * Symbol_find(char *key)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  symbol *psVar5;\n  \n  psVar5 = (symbol *)x2a;\n  if (x2a != (s_x2 *)0x0) {\n    if (*key == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];\n    if (psVar5 == (symbol *)0x0) {\n      psVar5 = (symbol *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }\n  }\n  return psVar5;\n}" type_identifier (pointer_declarator "* Symbol_find(char *key)" * (function_declarator "Symbol_find(char *key)" identifier (parameter_list "(char *key)" ( (parameter_declaration "char *key" primitive_type (pointer_declarator "*key" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  symbol *psVar5;\n  \n  psVar5 = (symbol *)x2a;\n  if (x2a != (s_x2 *)0x0) {\n    if (*key == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];\n    if (psVar5 == (symbol *)0x0) {\n      psVar5 = (symbol *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }\n  }\n  return psVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "symbol *psVar5;" type_identifier (pointer_declarator "*psVar5" * identifier) ;) (expression_statement "psVar5 = (symbol *)x2a;" (assignment_expression "psVar5 = (symbol *)x2a" identifier = (cast_expression "(symbol *)x2a" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (x2a != (s_x2 *)0x0) {\n    if (*key == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];\n    if (psVar5 == (symbol *)0x0) {\n      psVar5 = (symbol *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }\n  }" if (parenthesized_expression "(x2a != (s_x2 *)0x0)" ( (binary_expression "x2a != (s_x2 *)0x0" identifier != (cast_expression "(s_x2 *)0x0" ( (type_descriptor "s_x2 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*key == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];\n    if (psVar5 == (symbol *)0x0) {\n      psVar5 = (symbol *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }\n  }" { (if_statement "if (*key == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" if (parenthesized_expression "(*key == '\0')" ( (binary_expression "*key == '\0'" (pointer_expression "*key" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" else (compound_statement "{\n      uVar2 = 0;\n      pcVar4 = key;\n      cVar1 = *key;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = key;" (assignment_expression "pcVar4 = key" identifier = identifier) ;) (expression_statement "cVar1 = *key;" (assignment_expression "cVar1 = *key" identifier = (pointer_expression "*key" * identifier)) ;) (do_statement "do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');" do (compound_statement "{\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      }" { (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = (int)cVar1 + uVar2 * 0xd;" (assignment_expression "uVar2 = (int)cVar1 + uVar2 * 0xd" identifier = (binary_expression "(int)cVar1 + uVar2 * 0xd" (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar2 * 0xd" identifier * number_literal))) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) }) while (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (expression_statement "psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U];" (assignment_expression "psVar5 = (symbol *)x2a->ht[uVar2 & x2a->size - 1U]" identifier = (cast_expression "(symbol *)x2a->ht[uVar2 & x2a->size - 1U]" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "x2a->ht[uVar2 & x2a->size - 1U]" (field_expression "x2a->ht" identifier -> field_identifier) [ (binary_expression "uVar2 & x2a->size - 1U" identifier & (binary_expression "x2a->size - 1U" (field_expression "x2a->size" identifier -> field_identifier) - number_literal)) ]))) ;) (if_statement "if (psVar5 == (symbol *)0x0) {\n      psVar5 = (symbol *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }" if (parenthesized_expression "(psVar5 == (symbol *)0x0)" ( (binary_expression "psVar5 == (symbol *)0x0" identifier == (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      psVar5 = (symbol *)0x0;\n    }" { (expression_statement "psVar5 = (symbol *)0x0;" (assignment_expression "psVar5 = (symbol *)0x0" identifier = (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }" else (compound_statement "{\n      do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);\n    }" { (do_statement "do {\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      } while (psVar5 != (symbol *)0x0);" do (compound_statement "{\n        iVar3 = strcmp((char *)psVar5->index,key);\n        if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }\n        psVar5 = (symbol *)psVar5->type;\n      }" { (expression_statement "iVar3 = strcmp((char *)psVar5->index,key);" (assignment_expression "iVar3 = strcmp((char *)psVar5->index,key)" identifier = (call_expression "strcmp((char *)psVar5->index,key)" identifier (argument_list "((char *)psVar5->index,key)" ( (cast_expression "(char *)psVar5->index" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "psVar5->index" identifier -> field_identifier)) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          return (symbol *)psVar5->name;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return (symbol *)psVar5->name;\n        }" { (return_statement "return (symbol *)psVar5->name;" return (cast_expression "(symbol *)psVar5->name" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar5->name" identifier -> field_identifier)) ;) })) (expression_statement "psVar5 = (symbol *)psVar5->type;" (assignment_expression "psVar5 = (symbol *)psVar5->type" identifier = (cast_expression "(symbol *)psVar5->type" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar5->type" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(psVar5 != (symbol *)0x0)" ( (binary_expression "psVar5 != (symbol *)0x0" identifier != (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) })) (return_statement "return psVar5;" return identifier ;) })))
(translation_unit "int * FUN_00019710(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}\n\n" (function_definition "int * FUN_00019710(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}" primitive_type (pointer_declarator "* FUN_00019710(char *param_1)" * (function_declarator "FUN_00019710(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (expression_statement "piVar5 = DAT_000251a8;" (assignment_expression "piVar5 = DAT_000251a8" identifier = identifier) ;) (if_statement "if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }" if (parenthesized_expression "(DAT_000251a8 != (int *)0x0)" ( (binary_expression "DAT_000251a8 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }" { (if_statement "if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" else (compound_statement "{\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = param_1;" (assignment_expression "pcVar4 = param_1" identifier = identifier) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (do_statement "do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');" do (compound_statement "{\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      }" { (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = (int)cVar1 + uVar2 * 0xd;" (assignment_expression "uVar2 = (int)cVar1 + uVar2 * 0xd" identifier = (binary_expression "(int)cVar1 + uVar2 * 0xd" (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar2 * 0xd" identifier * number_literal))) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) }) while (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (expression_statement "piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);" (assignment_expression "piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" identifier = (pointer_expression "*(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" * (cast_expression "(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" ( (binary_expression "DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4" (subscript_expression "DAT_000251a8[3]" identifier [ number_literal ]) + (binary_expression "(uVar2 & *DAT_000251a8 - 1U) * 4" (parenthesized_expression "(uVar2 & *DAT_000251a8 - 1U)" ( (binary_expression "uVar2 & *DAT_000251a8 - 1U" identifier & (binary_expression "*DAT_000251a8 - 1U" (pointer_expression "*DAT_000251a8" * identifier) - number_literal)) )) * number_literal)) ))))) ;) (if_statement "if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar5 = (int *)0x0;\n    }" { (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" else (compound_statement "{\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" { (do_statement "do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);" do (compound_statement "{\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      }" { (expression_statement "iVar3 = strcmp((char *)piVar5[1],param_1);" (assignment_expression "iVar3 = strcmp((char *)piVar5[1],param_1)" identifier = (call_expression "strcmp((char *)piVar5[1],param_1)" identifier (argument_list "((char *)piVar5[1],param_1)" ( (cast_expression "(char *)piVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return (int *)*piVar5;\n        }" { (return_statement "return (int *)*piVar5;" return (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier)) ;) })) (expression_statement "piVar5 = (int *)piVar5[2];" (assignment_expression "piVar5 = (int *)piVar5[2]" identifier = (cast_expression "(int *)piVar5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[2]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) })) (return_statement "return piVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (parenthesized_expression ( (binary_expression IDENT & (binary_expression (pointer_expression * IDENT) - LIT)) )) * 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00019710(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}" (primitive_type "int") (pointer_declarator "* FUN_00019710(char *param_1)" (* "*") (function_declarator "FUN_00019710(char *param_1)" (identifier "FUN_00019710") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  \n  piVar5 = DAT_000251a8;\n  if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }\n  return piVar5;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (expression_statement "piVar5 = DAT_000251a8;" (assignment_expression "piVar5 = DAT_000251a8" (identifier "piVar5") (= "=") (identifier "DAT_000251a8")) (; ";")) (if_statement "if (DAT_000251a8 != (int *)0x0) {\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }" (if "if") (parenthesized_expression "(DAT_000251a8 != (int *)0x0)" (( "(") (binary_expression "DAT_000251a8 != (int *)0x0" (identifier "DAT_000251a8") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }\n    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);\n    if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }\n  }" ({ "{") (if_statement "if (*param_1 == '\0') {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" (if "if") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" (else "else") (compound_statement "{\n      uVar2 = 0;\n      pcVar4 = param_1;\n      cVar1 = *param_1;\n      do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = param_1;" (assignment_expression "pcVar4 = param_1" (identifier "pcVar4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (do_statement "do {\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      } while (*pcVar4 != '\0');" (do "do") (compound_statement "{\n        pcVar4 = pcVar4 + 1;\n        uVar2 = (int)cVar1 + uVar2 * 0xd;\n        cVar1 = *pcVar4;\n      }" ({ "{") (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = (int)cVar1 + uVar2 * 0xd;" (assignment_expression "uVar2 = (int)cVar1 + uVar2 * 0xd" (identifier "uVar2") (= "=") (binary_expression "(int)cVar1 + uVar2 * 0xd" (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) (+ "+") (binary_expression "uVar2 * 0xd" (identifier "uVar2") (* "*") (number_literal "0xd")))) (; ";")) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" (identifier "cVar1") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pcVar4 != '\0')" (( "(") (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}")))) (expression_statement "piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);" (assignment_expression "piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" (* "*") (cast_expression "(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4)" (( "(") (binary_expression "DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4" (subscript_expression "DAT_000251a8[3]" (identifier "DAT_000251a8") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "(uVar2 & *DAT_000251a8 - 1U) * 4" (parenthesized_expression "(uVar2 & *DAT_000251a8 - 1U)" (( "(") (binary_expression "uVar2 & *DAT_000251a8 - 1U" (identifier "uVar2") (& "&") (binary_expression "*DAT_000251a8 - 1U" (pointer_expression "*DAT_000251a8" (* "*") (identifier "DAT_000251a8")) (- "-") (number_literal "1U"))) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (piVar5 == (int *)0x0) {\n      piVar5 = (int *)0x0;\n    }\n    else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" (if "if") (parenthesized_expression "(piVar5 == (int *)0x0)" (( "(") (binary_expression "piVar5 == (int *)0x0" (identifier "piVar5") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      piVar5 = (int *)0x0;\n    }" ({ "{") (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" (identifier "piVar5") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" (else "else") (compound_statement "{\n      do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);\n    }" ({ "{") (do_statement "do {\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      } while (piVar5 != (int *)0x0);" (do "do") (compound_statement "{\n        iVar3 = strcmp((char *)piVar5[1],param_1);\n        if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }\n        piVar5 = (int *)piVar5[2];\n      }" ({ "{") (expression_statement "iVar3 = strcmp((char *)piVar5[1],param_1);" (assignment_expression "iVar3 = strcmp((char *)piVar5[1],param_1)" (identifier "iVar3") (= "=") (call_expression "strcmp((char *)piVar5[1],param_1)" (identifier "strcmp") (argument_list "((char *)piVar5[1],param_1)" (( "(") (cast_expression "(char *)piVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          return (int *)*piVar5;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return (int *)*piVar5;\n        }" ({ "{") (return_statement "return (int *)*piVar5;" (return "return") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (} "}"))) (expression_statement "piVar5 = (int *)piVar5[2];" (assignment_expression "piVar5 = (int *)piVar5[2]" (identifier "piVar5") (= "=") (cast_expression "(int *)piVar5[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (} "}"))) (return_statement "return piVar5;" (return "return") (identifier "piVar5") (; ";")) (} "}")))

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

type_1 * function_1(char *key)

{
  char cVar1;
  type_2 var_3;
  int var_6;
  char *var_2;
  type_1 *var_4;
  
  var_4 = (type_1 *)var_1;
  if (var_1 != (type_3 *)0x0) {
    if (*key == '\0') {
      var_3 = 0;
    }
    else {
      var_3 = 0;
      var_2 = key;
      cVar1 = *key;
      do {
        var_2 = var_2 + 1;
        var_3 = (int)cVar1 + var_3 * 0xd;
        cVar1 = *var_2;
      } while (*var_2 != '\0');
    }
    var_4 = (type_1 *)var_1->ht[var_3 & var_1->size - 1U];
    if (var_4 == (type_1 *)0x0) {
      var_4 = (type_1 *)0x0;
    }
    else {
      do {
        var_6 = var_5((char *)var_4->index,key);
        if (var_6 == 0) {
          return (type_1 *)var_4->name;
        }
        var_4 = (type_1 *)var_4->type;
      } while (var_4 != (type_1 *)0x0);
    }
  }
  return var_4;
}


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

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

int * MASKED(char *param_1)

{
  char cVar1;
  uint uVar2;
  int iVar3;
  char *pcVar4;
  int *piVar5;
  
  piVar5 = DAT_000251a8;
  if (DAT_000251a8 != (int *)0x0) {
    if (*param_1 == '\0') {
      uVar2 = 0;
    }
    else {
      uVar2 = 0;
      pcVar4 = param_1;
      cVar1 = *param_1;
      do {
        pcVar4 = pcVar4 + 1;
        uVar2 = (int)cVar1 + uVar2 * 0xd;
        cVar1 = *pcVar4;
      } while (*pcVar4 != '\0');
    }
    piVar5 = *(int **)(DAT_000251a8[3] + (uVar2 & *DAT_000251a8 - 1U) * 4);
    if (piVar5 == (int *)0x0) {
      piVar5 = (int *)0x0;
    }
    else {
      do {
        iVar3 = strcmp((char *)piVar5[1],param_1);
        if (iVar3 == 0) {
          return (int *)*piVar5;
        }
        piVar5 = (int *)piVar5[2];
      } while (piVar5 != (int *)0x0);
    }
  }
  return piVar5;
}

