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

reg_entry * __regparm3 parse_reg(char **ccp)

{
  byte *key;
  reg_entry *prVar1;
  byte *pbVar2;
  
  key = (byte *)*ccp;
  if (((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0) &&
     (pbVar2 = key, (lex_type[*key] & 2) != 0)) {
    do {
      do {
        pbVar2 = pbVar2 + 1;
      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);
    } while (*pbVar2 == 0x5f);
    prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key);
    if (prVar1 != (reg_entry *)0x0) {
      *ccp = (char *)pbVar2;
    }
    return prVar1;
  }
  return (reg_entry *)0x0;
}



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

int __regparm3 FUN_00043320(undefined4 *param_1)

{
  byte *pbVar1;
  int iVar2;
  byte *pbVar3;
  
  pbVar1 = (byte *)*param_1;
  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&
     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {
    do {
      do {
        pbVar3 = pbVar3 + 1;
      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);
    } while (*pbVar3 == 0x5f);
    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);
    if (iVar2 != 0) {
      *param_1 = pbVar3;
    }
    return iVar2;
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017140
ADD EBX,0x34cd7
SUB ESP,0xc
MOV EBP,dword ptr [EAX]
MOVZX EDX,byte ptr [EBP]
MOV EDI,dword ptr [EBX + 0xffffff50]
TEST byte ptr [EDI + EDX*0x2],0x88
JZ 0x00043390
LEA ECX,[EBX + 0x420]
TEST byte ptr [ECX + EDX*0x1],0x2
JZ 0x00043390
MOV ESI,EBP
LEA ESI,[ESI]
ADD ESI,0x1
MOVZX ECX,byte ptr [ESI]
TEST byte ptr [EDI + ECX*0x2],0x8c
JNZ 0x00043358
CMP CL,0x5f
JZ 0x00043358
MOV EDI,EAX
MOV EAX,ESI
SUB ESP,0x4
SUB EAX,EBP
PUSH EAX
PUSH EBP
PUSH dword ptr [EBX + 0x94e0]
CALL 0x00026640
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00043388
MOV dword ptr [EDI],ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR EAX,EAX
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\nint __regparm3 FUN_00043320(undefined4 *param_1)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}\n\n" comment (function_definition "int __regparm3 FUN_00043320(undefined4 *param_1)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043320(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar1 = (byte *)*param_1;" (assignment_expression "pbVar1 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0))" ( (binary_expression "((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)" (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0)" ( (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88)" ( (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar1 * 2]" identifier [ (binary_expression "(uint)*pbVar1 * 2" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) && (parenthesized_expression "(pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)" ( (comma_expression "pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0" (assignment_expression "pbVar3 = pbVar1" identifier = identifier) , (binary_expression "((&DAT_00078420)[*pbVar1] & 2) != 0" (parenthesized_expression "((&DAT_00078420)[*pbVar1] & 2)" ( (binary_expression "(&DAT_00078420)[*pbVar1] & 2" (subscript_expression "(&DAT_00078420)[*pbVar1]" (parenthesized_expression "(&DAT_00078420)" ( (pointer_expression "&DAT_00078420" & identifier) )) [ (pointer_expression "*pbVar1" * identifier) ]) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }" { (do_statement "do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);" do (compound_statement "{\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    }" { (do_statement "do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);" do (compound_statement "{\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0)" ( (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c)" ( (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar3 * 2]" identifier [ (binary_expression "(uint)*pbVar3 * 2" (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) ;) }) while (parenthesized_expression "(*pbVar3 == 0x5f)" ( (binary_expression "*pbVar3 == 0x5f" (pointer_expression "*pbVar3" * identifier) == number_literal) )) ;) (expression_statement "iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);" (assignment_expression "iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" identifier = (call_expression "FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" identifier (argument_list "(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" ( identifier , identifier , (binary_expression "(int)pbVar3 - (int)pbVar1" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      *param_1 = pbVar3;\n    }" { (expression_statement "*param_1 = pbVar3;" (assignment_expression "*param_1 = pbVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nreg_entry * __regparm3 parse_reg(char **ccp)\n\n{\n  byte *key;\n  reg_entry *prVar1;\n  byte *pbVar2;\n  \n  key = (byte *)*ccp;\n  if (((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0) &&\n     (pbVar2 = key, (lex_type[*key] & 2) != 0)) {\n    do {\n      do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);\n    } while (*pbVar2 == 0x5f);\n    prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key);\n    if (prVar1 != (reg_entry *)0x0) {\n      *ccp = (char *)pbVar2;\n    }\n    return prVar1;\n  }\n  return (reg_entry *)0x0;\n}\n\n" comment (ERROR "reg_entry * __regparm3 parse_reg(char **ccp)" (binary_expression "reg_entry * __regparm3 parse_reg(char **ccp)" identifier * (ERROR "__regparm3" identifier) (call_expression "parse_reg(char **ccp)" identifier (argument_list "(char **ccp)" ( (binary_expression "char **ccp" identifier * (pointer_expression "*ccp" * identifier)) ))))) (compound_statement "{\n  byte *key;\n  reg_entry *prVar1;\n  byte *pbVar2;\n  \n  key = (byte *)*ccp;\n  if (((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0) &&\n     (pbVar2 = key, (lex_type[*key] & 2) != 0)) {\n    do {\n      do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);\n    } while (*pbVar2 == 0x5f);\n    prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key);\n    if (prVar1 != (reg_entry *)0x0) {\n      *ccp = (char *)pbVar2;\n    }\n    return prVar1;\n  }\n  return (reg_entry *)0x0;\n}" { (declaration "byte *key;" type_identifier (pointer_declarator "*key" * identifier) ;) (declaration "reg_entry *prVar1;" type_identifier (pointer_declarator "*prVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (expression_statement "key = (byte *)*ccp;" (assignment_expression "key = (byte *)*ccp" identifier = (cast_expression "(byte *)*ccp" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ccp" * identifier))) ;) (if_statement "if (((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0) &&\n     (pbVar2 = key, (lex_type[*key] & 2) != 0)) {\n    do {\n      do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);\n    } while (*pbVar2 == 0x5f);\n    prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key);\n    if (prVar1 != (reg_entry *)0x0) {\n      *ccp = (char *)pbVar2;\n    }\n    return prVar1;\n  }" if (parenthesized_expression "(((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0) &&\n     (pbVar2 = key, (lex_type[*key] & 2) != 0))" ( (binary_expression "((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0) &&\n     (pbVar2 = key, (lex_type[*key] & 2) != 0)" (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0)" ( (binary_expression "(PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88)" ( (binary_expression "PTR__sch_istable_00077f50[(uint)*key * 2] & 0x88" (subscript_expression "PTR__sch_istable_00077f50[(uint)*key * 2]" identifier [ (binary_expression "(uint)*key * 2" (binary_expression "(uint)*key" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) && (parenthesized_expression "(pbVar2 = key, (lex_type[*key] & 2) != 0)" ( (comma_expression "pbVar2 = key, (lex_type[*key] & 2) != 0" (assignment_expression "pbVar2 = key" identifier = identifier) , (binary_expression "(lex_type[*key] & 2) != 0" (parenthesized_expression "(lex_type[*key] & 2)" ( (binary_expression "lex_type[*key] & 2" (subscript_expression "lex_type[*key]" identifier [ (pointer_expression "*key" * identifier) ]) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    do {\n      do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);\n    } while (*pbVar2 == 0x5f);\n    prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key);\n    if (prVar1 != (reg_entry *)0x0) {\n      *ccp = (char *)pbVar2;\n    }\n    return prVar1;\n  }" { (do_statement "do {\n      do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);\n    } while (*pbVar2 == 0x5f);" do (compound_statement "{\n      do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);\n    }" { (do_statement "do {\n        pbVar2 = pbVar2 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0);" do (compound_statement "{\n        pbVar2 = pbVar2 + 1;\n      }" { (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0)" ( (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c)" ( (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar2 * 2] & 0x8c" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar2 * 2]" identifier [ (binary_expression "(uint)*pbVar2 * 2" (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) ;) }) while (parenthesized_expression "(*pbVar2 == 0x5f)" ( (binary_expression "*pbVar2 == 0x5f" (pointer_expression "*pbVar2" * identifier) == number_literal) )) ;) (expression_statement "prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key);" (assignment_expression "prVar1 = (reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key)" identifier = (cast_expression "(reg_entry *)hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key)" ( (type_descriptor "reg_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_find_n(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key)" identifier (argument_list "(aarch64_reg_hsh,(char *)key,(int)pbVar2 - (int)key)" ( identifier , (cast_expression "(char *)key" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "(int)pbVar2 - (int)key" (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)key" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (if_statement "if (prVar1 != (reg_entry *)0x0) {\n      *ccp = (char *)pbVar2;\n    }" if (parenthesized_expression "(prVar1 != (reg_entry *)0x0)" ( (binary_expression "prVar1 != (reg_entry *)0x0" identifier != (cast_expression "(reg_entry *)0x0" ( (type_descriptor "reg_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *ccp = (char *)pbVar2;\n    }" { (expression_statement "*ccp = (char *)pbVar2;" (assignment_expression "*ccp = (char *)pbVar2" (pointer_expression "*ccp" * identifier) = (cast_expression "(char *)pbVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (return_statement "return prVar1;" return identifier ;) })) (return_statement "return (reg_entry *)0x0;" return (cast_expression "(reg_entry *)0x0" ( (type_descriptor "reg_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "int __regparm3 FUN_00043320(undefined4 *param_1)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}\n\n" (function_definition "int __regparm3 FUN_00043320(undefined4 *param_1)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043320(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar1 = (byte *)*param_1;" (assignment_expression "pbVar1 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0))" ( (binary_expression "((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)" (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0)" ( (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88)" ( (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar1 * 2]" identifier [ (binary_expression "(uint)*pbVar1 * 2" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) && (parenthesized_expression "(pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)" ( (comma_expression "pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0" (assignment_expression "pbVar3 = pbVar1" identifier = identifier) , (binary_expression "((&DAT_00078420)[*pbVar1] & 2) != 0" (parenthesized_expression "((&DAT_00078420)[*pbVar1] & 2)" ( (binary_expression "(&DAT_00078420)[*pbVar1] & 2" (subscript_expression "(&DAT_00078420)[*pbVar1]" (parenthesized_expression "(&DAT_00078420)" ( (pointer_expression "&DAT_00078420" & identifier) )) [ (pointer_expression "*pbVar1" * identifier) ]) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }" { (do_statement "do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);" do (compound_statement "{\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    }" { (do_statement "do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);" do (compound_statement "{\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0)" ( (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c)" ( (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar3 * 2]" identifier [ (binary_expression "(uint)*pbVar3 * 2" (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) ;) }) while (parenthesized_expression "(*pbVar3 == 0x5f)" ( (binary_expression "*pbVar3 == 0x5f" (pointer_expression "*pbVar3" * identifier) == number_literal) )) ;) (expression_statement "iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);" (assignment_expression "iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" identifier = (call_expression "FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" identifier (argument_list "(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" ( identifier , identifier , (binary_expression "(int)pbVar3 - (int)pbVar1" (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      *param_1 = pbVar3;\n    }" { (expression_statement "*param_1 = pbVar3;" (assignment_expression "*param_1 = pbVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ]) & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) & LIT) )) != LIT)) ))) )) (compound_statement { (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ]) & LIT) )) != LIT) )) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "int __regparm3 FUN_00043320(undefined4 *param_1)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00043320(undefined4 *param_1)" (identifier "FUN_00043320") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  \n  pbVar1 = (byte *)*param_1;\n  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (expression_statement "pbVar1 = (byte *)*param_1;" (assignment_expression "pbVar1 = (byte *)*param_1" (identifier "pbVar1") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0))" (( "(") (binary_expression "((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&\n     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)" (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0)" (( "(") (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88)" (( "(") (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar1 * 2]" (identifier "PTR__sch_istable_00077f50") ([ "[") (binary_expression "(uint)*pbVar1 * 2" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x88")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)" (( "(") (comma_expression "pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0" (assignment_expression "pbVar3 = pbVar1" (identifier "pbVar3") (= "=") (identifier "pbVar1")) (, ",") (binary_expression "((&DAT_00078420)[*pbVar1] & 2) != 0" (parenthesized_expression "((&DAT_00078420)[*pbVar1] & 2)" (( "(") (binary_expression "(&DAT_00078420)[*pbVar1] & 2" (subscript_expression "(&DAT_00078420)[*pbVar1]" (parenthesized_expression "(&DAT_00078420)" (( "(") (pointer_expression "&DAT_00078420" (& "&") (identifier "DAT_00078420")) () ")")) ([ "[") (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (] "]")) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);\n    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);\n    if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }\n    return iVar2;\n  }" ({ "{") (do_statement "do {\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    } while (*pbVar3 == 0x5f);" (do "do") (compound_statement "{\n      do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);\n    }" ({ "{") (do_statement "do {\n        pbVar3 = pbVar3 + 1;\n      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);" (do "do") (compound_statement "{\n        pbVar3 = pbVar3 + 1;\n      }" ({ "{") (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0)" (( "(") (binary_expression "(PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0" (parenthesized_expression "(PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c)" (( "(") (binary_expression "PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c" (subscript_expression "PTR__sch_istable_00077f50[(uint)*pbVar3 * 2]" (identifier "PTR__sch_istable_00077f50") ([ "[") (binary_expression "(uint)*pbVar3 * 2" (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x8c")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pbVar3 == 0x5f)" (( "(") (binary_expression "*pbVar3 == 0x5f" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (number_literal "0x5f")) () ")")) (; ";")) (expression_statement "iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);" (assignment_expression "iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" (identifier "FUN_00026640") (argument_list "(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1)" (( "(") (identifier "DAT_000814e0") (, ",") (identifier "pbVar1") (, ",") (binary_expression "(int)pbVar3 - (int)pbVar1" (cast_expression "(int)pbVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar3")) (- "-") (cast_expression "(int)pbVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar1"))) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      *param_1 = pbVar3;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *param_1 = pbVar3;\n    }" ({ "{") (expression_statement "*param_1 = pbVar3;" (assignment_expression "*param_1 = pbVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "pbVar3")) (; ";")) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_2 * __regparm3 parse_reg(char **ccp)

{
  type_1 *var_1;
  type_2 *var_4;
  type_1 *var_2;
  
  var_1 = (type_1 *)*ccp;
  if (((PTR__sch_istable_00077f50[(uint)*var_1 * 2] & 0x88) != 0) &&
     (var_2 = var_1, (lex_type[*var_1] & 2) != 0)) {
    do {
      do {
        var_2 = var_2 + 1;
      } while ((PTR__sch_istable_00077f50[(uint)*var_2 * 2] & 0x8c) != 0);
    } while (*var_2 == 0x5f);
    var_4 = (type_2 *)var_3(aarch64_reg_hsh,(char *)var_1,(int)var_2 - (int)var_1);
    if (var_4 != (type_2 *)0x0) {
      *ccp = (char *)var_2;
    }
    return var_4;
  }
  return (type_2 *)0x0;
}


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

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

int __regparm3 MASKED(undefined4 *param_1)

{
  byte *pbVar1;
  int iVar2;
  byte *pbVar3;
  
  pbVar1 = (byte *)*param_1;
  if (((PTR__sch_istable_00077f50[(uint)*pbVar1 * 2] & 0x88) != 0) &&
     (pbVar3 = pbVar1, ((&DAT_00078420)[*pbVar1] & 2) != 0)) {
    do {
      do {
        pbVar3 = pbVar3 + 1;
      } while ((PTR__sch_istable_00077f50[(uint)*pbVar3 * 2] & 0x8c) != 0);
    } while (*pbVar3 == 0x5f);
    iVar2 = FUN_00026640(DAT_000814e0,pbVar1,(int)pbVar3 - (int)pbVar1);
    if (iVar2 != 0) {
      *param_1 = pbVar3;
    }
    return iVar2;
  }
  return 0;
}

