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

templ_ty * is_reserved(char *str,size_t len)

{
  int iVar1;
  templ_ty *ptVar2;
  uint uVar3;
  int iVar4;
  
  ptVar2 = (templ_ty *)0x0;
  if (len - 2 < 9) {
    uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +
            (byte)asso_values_4300[(byte)*str] + len;
    if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&
       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"
        [iVar4] == len)) {
      if (*is_reserved::wordlist[iVar4].rwd == *str) {
        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);
        if (iVar1 == 0) {
          ptVar2 = is_reserved::wordlist + iVar4;
        }
      }
    }
  }
  return ptVar2;
}



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

undefined ** FUN_00015d10(byte *param_1,uint param_2)

{
  int iVar1;
  undefined **ppuVar2;
  uint uVar3;
  int iVar4;
  
  ppuVar2 = (undefined **)0x0;
  if (param_2 - 2 < 9) {
    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +
            (byte)(&DAT_00020800)[*param_1] + param_2;
    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&
       ((byte)(&DAT_00020900)[iVar4] == param_2)) {
      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {
        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);
        if (iVar1 == 0) {
          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;
        }
      }
    }
  }
  return ppuVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
XOR ESI,ESI
PUSH EBX
CALL 0x00012b10
ADD EBX,0x102e5
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x24]
LEA EDX,[EAX + -0x2]
CMP EDX,0x8
JA 0x00015da5
MOV EDX,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x20]
LEA ECX,[EAX + -0x1]
MOVZX EBP,byte ptr [EDX]
MOVZX EDI,byte ptr [EDI + EAX*0x1 + -0x1]
MOV EDX,EBP
MOVZX EBP,byte ptr [EBX + EBP*0x1 + 0xffffa800]
MOVZX EDI,byte ptr [EBX + EDI*0x1 + 0xffffa800]
ADD EBP,EAX
ADD EDI,EBP
CMP EDI,0x31
JA 0x00015da5
MOVSX EDI,byte ptr [EBX + EDI*0x1 + 0xffffa940]
TEST EDI,EDI
JS 0x00015da5
MOVZX EBP,byte ptr [EBX + EDI*0x1 + 0xffffa900]
CMP EBP,EAX
JNZ 0x00015da5
LEA EBP,[EBX + 0x420]
MOV EAX,dword ptr [EBP + EDI*0x8]
CMP byte ptr [EAX],DL
JNZ 0x00015da5
SUB ESP,0x4
ADD EAX,0x1
PUSH ECX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x2c]
ADD EAX,0x1
PUSH EAX
CALL 0x000120e0
ADD ESP,0x10
LEA EDX,[EBP + EDI*0x8]
TEST EAX,EAX
CMOVZ ESI,EDX
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined ** FUN_00015d10(byte *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}\n\n" comment (function_definition "undefined ** FUN_00015d10(byte *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}" type_identifier (pointer_declarator "** FUN_00015d10(byte *param_1,uint param_2)" * (pointer_declarator "* FUN_00015d10(byte *param_1,uint param_2)" * (function_declarator "FUN_00015d10(byte *param_1,uint param_2)" identifier (parameter_list "(byte *param_1,uint param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))))) (compound_statement "{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "ppuVar2 = (undefined **)0x0;" (assignment_expression "ppuVar2 = (undefined **)0x0" identifier = (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (if_statement "if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(param_2 - 2 < 9)" ( (binary_expression "param_2 - 2 < 9" (binary_expression "param_2 - 2" identifier - number_literal) < number_literal) )) (compound_statement "{\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }" { (expression_statement "uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;" (assignment_expression "uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2" identifier = (binary_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2" (binary_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1]" (subscript_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]]" (call_expression "(uint)(byte)(&DAT_00020800)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_00020800)" ( (pointer_expression "&DAT_00020800" & identifier) ))) [ (subscript_expression "param_1[param_2 - 1]" identifier [ (binary_expression "param_2 - 1" identifier - number_literal) ]) ]) + (subscript_expression "(byte)(&DAT_00020800)[*param_1]" (call_expression "(byte)(&DAT_00020800)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_00020800)" ( (pointer_expression "&DAT_00020800" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ])) + identifier)) ;) (if_statement "if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }" if (parenthesized_expression "(((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2))" ( (binary_expression "((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)" (parenthesized_expression "((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4))" ( (binary_expression "(uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)" (parenthesized_expression "(uVar3 < 0x32)" ( (binary_expression "uVar3 < 0x32" identifier < number_literal) )) && (parenthesized_expression "(iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)" ( (comma_expression "iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4" (assignment_expression "iVar4 = (int)(char)(&DAT_00020940)[uVar3]" identifier = (cast_expression "(int)(char)(&DAT_00020940)[uVar3]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(&DAT_00020940)[uVar3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_00020940)[uVar3]" (parenthesized_expression "(&DAT_00020940)" ( (pointer_expression "&DAT_00020940" & identifier) )) [ identifier ])))) , (binary_expression "-1 < iVar4" number_literal < identifier)) ))) )) && (parenthesized_expression "((byte)(&DAT_00020900)[iVar4] == param_2)" ( (binary_expression "(byte)(&DAT_00020900)[iVar4] == param_2" (subscript_expression "(byte)(&DAT_00020900)[iVar4]" (call_expression "(byte)(&DAT_00020900)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_00020900)" ( (pointer_expression "&DAT_00020900" & identifier) ))) [ identifier ]) == identifier) ))) )) (compound_statement "{\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }" { (if_statement "if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }" if (parenthesized_expression "(*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1)" ( (binary_expression "*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1" (pointer_expression "*(&PTR_DAT_00026420)[iVar4 * 2]" * (subscript_expression "(&PTR_DAT_00026420)[iVar4 * 2]" (parenthesized_expression "(&PTR_DAT_00026420)" ( (pointer_expression "&PTR_DAT_00026420" & identifier) )) [ (binary_expression "iVar4 * 2" identifier * number_literal) ])) == (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }" { (expression_statement "iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);" (assignment_expression "iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" identifier = (call_expression "memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" identifier (argument_list "(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "(&PTR_DAT_00026420)[iVar4 * 2] + 1" (subscript_expression "(&PTR_DAT_00026420)[iVar4 * 2]" (parenthesized_expression "(&PTR_DAT_00026420)" ( (pointer_expression "&PTR_DAT_00026420" & identifier) )) [ (binary_expression "iVar4 * 2" identifier * number_literal) ]) + number_literal) , (binary_expression "param_2 - 1" identifier - number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }" { (expression_statement "ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;" (assignment_expression "ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2" identifier = (binary_expression "&PTR_DAT_00026420 + iVar4 * 2" (pointer_expression "&PTR_DAT_00026420" & identifier) + (binary_expression "iVar4 * 2" identifier * number_literal))) ;) })) })) })) })) (return_statement "return ppuVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\ntempl_ty * is_reserved(char *str,size_t len)\n\n{\n  int iVar1;\n  templ_ty *ptVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ptVar2 = (templ_ty *)0x0;\n  if (len - 2 < 9) {\n    uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len;\n    if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)) {\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }\n  }\n  return ptVar2;\n}\n\n" comment comment (function_definition "templ_ty * is_reserved(char *str,size_t len)\n\n{\n  int iVar1;\n  templ_ty *ptVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ptVar2 = (templ_ty *)0x0;\n  if (len - 2 < 9) {\n    uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len;\n    if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)) {\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }\n  }\n  return ptVar2;\n}" type_identifier (pointer_declarator "* is_reserved(char *str,size_t len)" * (function_declarator "is_reserved(char *str,size_t len)" identifier (parameter_list "(char *str,size_t len)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  templ_ty *ptVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ptVar2 = (templ_ty *)0x0;\n  if (len - 2 < 9) {\n    uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len;\n    if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)) {\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }\n  }\n  return ptVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "templ_ty *ptVar2;" type_identifier (pointer_declarator "*ptVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "ptVar2 = (templ_ty *)0x0;" (assignment_expression "ptVar2 = (templ_ty *)0x0" identifier = (cast_expression "(templ_ty *)0x0" ( (type_descriptor "templ_ty *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (len - 2 < 9) {\n    uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len;\n    if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)) {\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(len - 2 < 9)" ( (binary_expression "len - 2 < 9" (binary_expression "len - 2" identifier - number_literal) < number_literal) )) (compound_statement "{\n    uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len;\n    if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)) {\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }\n  }" { (expression_statement "uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len;" (assignment_expression "uVar3 = (uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len" identifier = (binary_expression "(uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str] + len" (binary_expression "(uint)(byte)asso_values_4300[(byte)str[len - 1]] +\n            (byte)asso_values_4300[(byte)*str]" (cast_expression "(uint)(byte)asso_values_4300[(byte)str[len - 1]]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)asso_values_4300[(byte)str[len - 1]]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "asso_values_4300[(byte)str[len - 1]]" identifier [ (cast_expression "(byte)str[len - 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "str[len - 1]" identifier [ (binary_expression "len - 1" identifier - number_literal) ])) ]))) + (cast_expression "(byte)asso_values_4300[(byte)*str]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "asso_values_4300[(byte)*str]" identifier [ (binary_expression "(byte)*str" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]))) + identifier)) ;) (if_statement "if (((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)) {\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }" if (parenthesized_expression "(((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len))" ( (binary_expression "((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)) &&\n       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)" (parenthesized_expression "((uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4))" ( (binary_expression "(uVar3 < 0x32) && (iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)" (parenthesized_expression "(uVar3 < 0x32)" ( (binary_expression "uVar3 < 0x32" identifier < number_literal) )) && (parenthesized_expression "(iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4)" ( (comma_expression "iVar4 = (int)is_reserved::lookup[uVar3], -1 < iVar4" (subscript_expression "iVar4 = (int)is_reserved::lookup[uVar3]" (assignment_expression "iVar4 = (int)is_reserved" identifier = (cast_expression "(int)is_reserved" ( (type_descriptor "int" primitive_type) ) identifier)) (ERROR "::lookup" : : identifier) [ identifier ]) , (binary_expression "-1 < iVar4" number_literal < identifier)) ))) )) && (parenthesized_expression "("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len)" ( (binary_expression ""\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4] == len" (subscript_expression ""\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"\n        [iVar4]" (string_literal ""\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"" " escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence ") [ identifier ]) == identifier) ))) )) (compound_statement "{\n      if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }\n    }" { (if_statement "if (*is_reserved::wordlist[iVar4].rwd == *str) {\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }" if (parenthesized_expression "(*is_reserved::wordlist[iVar4].rwd == *str)" ( (binary_expression "*is_reserved::wordlist[iVar4].rwd == *str" (field_expression "*is_reserved::wordlist[iVar4].rwd" (subscript_expression "*is_reserved::wordlist[iVar4]" (pointer_expression "*is_reserved" * identifier) (ERROR "::wordlist" : : identifier) [ identifier ]) . field_identifier) == (pointer_expression "*str" * identifier)) )) (compound_statement "{\n        iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);\n        if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }\n      }" { (expression_statement "iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1);" (assignment_expression "iVar1 = memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1)" identifier = (call_expression "memcmp(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1)" identifier (argument_list "(str + 1,is_reserved::wordlist[iVar4].rwd + 1,len - 1)" ( (binary_expression "str + 1" identifier + number_literal) , (binary_expression "is_reserved::wordlist[iVar4].rwd + 1" (field_expression "is_reserved::wordlist[iVar4].rwd" (subscript_expression "is_reserved::wordlist[iVar4]" identifier (ERROR "::wordlist" : : identifier) [ identifier ]) . field_identifier) + number_literal) , (binary_expression "len - 1" identifier - number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          ptVar2 = is_reserved::wordlist + iVar4;\n        }" { (expression_statement "ptVar2 = is_reserved::wordlist + iVar4;" (binary_expression "ptVar2 = is_reserved::wordlist + iVar4" (assignment_expression "ptVar2 = is_reserved" identifier = identifier) (ERROR "::wordlist" : : identifier) + identifier) ;) })) })) })) })) (return_statement "return ptVar2;" return identifier ;) })))
(translation_unit "undefined ** FUN_00015d10(byte *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}\n\n" (function_definition "undefined ** FUN_00015d10(byte *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}" type_identifier (pointer_declarator "** FUN_00015d10(byte *param_1,uint param_2)" * (pointer_declarator "* FUN_00015d10(byte *param_1,uint param_2)" * (function_declarator "FUN_00015d10(byte *param_1,uint param_2)" identifier (parameter_list "(byte *param_1,uint param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))))) (compound_statement "{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "ppuVar2 = (undefined **)0x0;" (assignment_expression "ppuVar2 = (undefined **)0x0" identifier = (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (if_statement "if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(param_2 - 2 < 9)" ( (binary_expression "param_2 - 2 < 9" (binary_expression "param_2 - 2" identifier - number_literal) < number_literal) )) (compound_statement "{\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }" { (expression_statement "uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;" (assignment_expression "uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2" identifier = (binary_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2" (binary_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1]" (subscript_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]]" (call_expression "(uint)(byte)(&DAT_00020800)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_00020800)" ( (pointer_expression "&DAT_00020800" & identifier) ))) [ (subscript_expression "param_1[param_2 - 1]" identifier [ (binary_expression "param_2 - 1" identifier - number_literal) ]) ]) + (subscript_expression "(byte)(&DAT_00020800)[*param_1]" (call_expression "(byte)(&DAT_00020800)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_00020800)" ( (pointer_expression "&DAT_00020800" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ])) + identifier)) ;) (if_statement "if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }" if (parenthesized_expression "(((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2))" ( (binary_expression "((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)" (parenthesized_expression "((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4))" ( (binary_expression "(uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)" (parenthesized_expression "(uVar3 < 0x32)" ( (binary_expression "uVar3 < 0x32" identifier < number_literal) )) && (parenthesized_expression "(iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)" ( (comma_expression "iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4" (assignment_expression "iVar4 = (int)(char)(&DAT_00020940)[uVar3]" identifier = (cast_expression "(int)(char)(&DAT_00020940)[uVar3]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(&DAT_00020940)[uVar3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_00020940)[uVar3]" (parenthesized_expression "(&DAT_00020940)" ( (pointer_expression "&DAT_00020940" & identifier) )) [ identifier ])))) , (binary_expression "-1 < iVar4" number_literal < identifier)) ))) )) && (parenthesized_expression "((byte)(&DAT_00020900)[iVar4] == param_2)" ( (binary_expression "(byte)(&DAT_00020900)[iVar4] == param_2" (subscript_expression "(byte)(&DAT_00020900)[iVar4]" (call_expression "(byte)(&DAT_00020900)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_00020900)" ( (pointer_expression "&DAT_00020900" & identifier) ))) [ identifier ]) == identifier) ))) )) (compound_statement "{\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }" { (if_statement "if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }" if (parenthesized_expression "(*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1)" ( (binary_expression "*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1" (pointer_expression "*(&PTR_DAT_00026420)[iVar4 * 2]" * (subscript_expression "(&PTR_DAT_00026420)[iVar4 * 2]" (parenthesized_expression "(&PTR_DAT_00026420)" ( (pointer_expression "&PTR_DAT_00026420" & identifier) )) [ (binary_expression "iVar4 * 2" identifier * number_literal) ])) == (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }" { (expression_statement "iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);" (assignment_expression "iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" identifier = (call_expression "memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" identifier (argument_list "(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "(&PTR_DAT_00026420)[iVar4 * 2] + 1" (subscript_expression "(&PTR_DAT_00026420)[iVar4 * 2]" (parenthesized_expression "(&PTR_DAT_00026420)" ( (pointer_expression "&PTR_DAT_00026420" & identifier) )) [ (binary_expression "iVar4 * 2" identifier * number_literal) ]) + number_literal) , (binary_expression "param_2 - 1" identifier - number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }" { (expression_statement "ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;" (assignment_expression "ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2" identifier = (binary_expression "&PTR_DAT_00026420 + iVar4 * 2" (pointer_expression "&PTR_DAT_00026420" & identifier) + (binary_expression "iVar4 * 2" identifier * number_literal))) ;) })) })) })) })) (return_statement "return ppuVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (pointer_expression & IDENT) ))) [ (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) ]) + (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_expression & IDENT) ))) [ (pointer_expression * IDENT) ])) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])))) , (binary_expression LIT < IDENT)) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_expression & IDENT) ))) [ IDENT ]) == IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) == (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) + LIT) , (binary_expression IDENT - LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT))) ;) })) })) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined ** FUN_00015d10(byte *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}" (type_identifier "undefined") (pointer_declarator "** FUN_00015d10(byte *param_1,uint param_2)" (* "*") (pointer_declarator "* FUN_00015d10(byte *param_1,uint param_2)" (* "*") (function_declarator "FUN_00015d10(byte *param_1,uint param_2)" (identifier "FUN_00015d10") (parameter_list "(byte *param_1,uint param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))))) (compound_statement "{\n  int iVar1;\n  undefined **ppuVar2;\n  uint uVar3;\n  int iVar4;\n  \n  ppuVar2 = (undefined **)0x0;\n  if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }\n  return ppuVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined **ppuVar2;" (type_identifier "undefined") (pointer_declarator "**ppuVar2" (* "*") (pointer_declarator "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "ppuVar2 = (undefined **)0x0;" (assignment_expression "ppuVar2 = (undefined **)0x0" (identifier "ppuVar2") (= "=") (cast_expression "(undefined **)0x0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (param_2 - 2 < 9) {\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 - 2 < 9)" (( "(") (binary_expression "param_2 - 2 < 9" (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2")) (< "<") (number_literal "9")) () ")")) (compound_statement "{\n    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;\n    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2;" (assignment_expression "uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2" (identifier "uVar3") (= "=") (binary_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1] + param_2" (binary_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +\n            (byte)(&DAT_00020800)[*param_1]" (subscript_expression "(uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]]" (call_expression "(uint)(byte)(&DAT_00020800)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (argument_list "(&DAT_00020800)" (( "(") (pointer_expression "&DAT_00020800" (& "&") (identifier "DAT_00020800")) () ")"))) ([ "[") (subscript_expression "param_1[param_2 - 1]" (identifier "param_1") ([ "[") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (] "]")) (] "]")) (+ "+") (subscript_expression "(byte)(&DAT_00020800)[*param_1]" (call_expression "(byte)(&DAT_00020800)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_00020800)" (( "(") (pointer_expression "&DAT_00020800" (& "&") (identifier "DAT_00020800")) () ")"))) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]"))) (+ "+") (identifier "param_2"))) (; ";")) (if_statement "if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)) {\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2))" (( "(") (binary_expression "((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&\n       ((byte)(&DAT_00020900)[iVar4] == param_2)" (parenthesized_expression "((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4))" (( "(") (binary_expression "(uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)" (parenthesized_expression "(uVar3 < 0x32)" (( "(") (binary_expression "uVar3 < 0x32" (identifier "uVar3") (< "<") (number_literal "0x32")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)" (( "(") (comma_expression "iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4" (assignment_expression "iVar4 = (int)(char)(&DAT_00020940)[uVar3]" (identifier "iVar4") (= "=") (cast_expression "(int)(char)(&DAT_00020940)[uVar3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)(&DAT_00020940)[uVar3]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "(&DAT_00020940)[uVar3]" (parenthesized_expression "(&DAT_00020940)" (( "(") (pointer_expression "&DAT_00020940" (& "&") (identifier "DAT_00020940")) () ")")) ([ "[") (identifier "uVar3") (] "]"))))) (, ",") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((byte)(&DAT_00020900)[iVar4] == param_2)" (( "(") (binary_expression "(byte)(&DAT_00020900)[iVar4] == param_2" (subscript_expression "(byte)(&DAT_00020900)[iVar4]" (call_expression "(byte)(&DAT_00020900)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_00020900)" (( "(") (pointer_expression "&DAT_00020900" (& "&") (identifier "DAT_00020900")) () ")"))) ([ "[") (identifier "iVar4") (] "]")) (== "==") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }\n    }" ({ "{") (if_statement "if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }" (if "if") (parenthesized_expression "(*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1)" (( "(") (binary_expression "*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1" (pointer_expression "*(&PTR_DAT_00026420)[iVar4 * 2]" (* "*") (subscript_expression "(&PTR_DAT_00026420)[iVar4 * 2]" (parenthesized_expression "(&PTR_DAT_00026420)" (( "(") (pointer_expression "&PTR_DAT_00026420" (& "&") (identifier "PTR_DAT_00026420")) () ")")) ([ "[") (binary_expression "iVar4 * 2" (identifier "iVar4") (* "*") (number_literal "2")) (] "]"))) (== "==") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);\n        if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }\n      }" ({ "{") (expression_statement "iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);" (assignment_expression "iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" (identifier "iVar1") (= "=") (call_expression "memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" (identifier "memcmp") (argument_list "(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (binary_expression "(&PTR_DAT_00026420)[iVar4 * 2] + 1" (subscript_expression "(&PTR_DAT_00026420)[iVar4 * 2]" (parenthesized_expression "(&PTR_DAT_00026420)" (( "(") (pointer_expression "&PTR_DAT_00026420" (& "&") (identifier "PTR_DAT_00026420")) () ")")) ([ "[") (binary_expression "iVar4 * 2" (identifier "iVar4") (* "*") (number_literal "2")) (] "]")) (+ "+") (number_literal "1")) (, ",") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;\n        }" ({ "{") (expression_statement "ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;" (assignment_expression "ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2" (identifier "ppuVar2") (= "=") (binary_expression "&PTR_DAT_00026420 + iVar4 * 2" (pointer_expression "&PTR_DAT_00026420" (& "&") (identifier "PTR_DAT_00026420")) (+ "+") (binary_expression "iVar4 * 2" (identifier "iVar4") (* "*") (number_literal "2")))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return ppuVar2;" (return "return") (identifier "ppuVar2") (; ";")) (} "}")))

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

type_1 * function_1(char *var_2,size_t var_1)

{
  int var_6;
  type_1 *ptVar2;
  type_2 var_3;
  int var_4;
  
  ptVar2 = (type_1 *)0x0;
  if (var_1 - 2 < 9) {
    var_3 = (type_2)(type_3)asso_values_4300[(type_3)var_2[var_1 - 1]] +
            (type_3)asso_values_4300[(type_3)*var_2] + var_1;
    if (((var_3 < 0x32) && (var_4 = (int)function_1::lookup[var_3], -1 < var_4)) &&
       ("\x03\x02\x05\x06\x05\x06\a\x03\x05\x06\b\a\x04\a\x06\b\x04\b\x06\x04\x06\a\b\b\x06\b\x04\t\a\x06\t\x05\x04\x05\x06\x02\x05\x04\x04\x04\x05\b\x06\b\n"
        [var_4] == var_1)) {
      if (*function_1::wordlist[var_4].rwd == *var_2) {
        var_6 = var_5(var_2 + 1,function_1::wordlist[var_4].rwd + 1,var_1 - 1);
        if (var_6 == 0) {
          ptVar2 = function_1::wordlist + var_4;
        }
      }
    }
  }
  return ptVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (pointer_expression argument: (identifier)))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier))))) right: (binary_expression left: (number_literal) right: (identifier)))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (identifier)) right: (identifier))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal)))) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))))))))) (return_statement (identifier)))))

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

undefined ** MASKED(byte *param_1,uint param_2)

{
  int iVar1;
  undefined **ppuVar2;
  uint uVar3;
  int iVar4;
  
  ppuVar2 = (undefined **)0x0;
  if (param_2 - 2 < 9) {
    uVar3 = (uint)(byte)(&DAT_00020800)[param_1[param_2 - 1]] +
            (byte)(&DAT_00020800)[*param_1] + param_2;
    if (((uVar3 < 0x32) && (iVar4 = (int)(char)(&DAT_00020940)[uVar3], -1 < iVar4)) &&
       ((byte)(&DAT_00020900)[iVar4] == param_2)) {
      if (*(&PTR_DAT_00026420)[iVar4 * 2] == *param_1) {
        iVar1 = memcmp(param_1 + 1,(&PTR_DAT_00026420)[iVar4 * 2] + 1,param_2 - 1);
        if (iVar1 == 0) {
          ppuVar2 = &PTR_DAT_00026420 + iVar4 * 2;
        }
      }
    }
  }
  return ppuVar2;
}

