
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* __cxxabiv1::__class_type_info::__do_dyncast(int, __cxxabiv1::__class_type_info::__sub_kind,
   __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void
   const*, __cxxabiv1::__class_type_info::__dyncast_result&) const */

undefined4 __thiscall
__cxxabiv1::__class_type_info::__do_dyncast
          (__class_type_info *this,undefined4 param_1,int param_3,int param_4,int param_5,
          int param_6,int param_7,int *param_8)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = *(char **)(this + 4);
  if (param_5 == param_7) {
    if (*(char **)(param_6 + 4) == __s1) {
LAB_001fd1d0:
      param_8[2] = param_3;
      return 0;
    }
    if (*__s1 == '*') {
      if (*(char **)(param_4 + 4) != __s1) {
        return 0;
      }
      goto LAB_001fd168;
    }
    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));
    if (iVar1 == 0) goto LAB_001fd1d0;
    __s2 = *(char **)(param_4 + 4);
    if (__s1 == __s2) goto LAB_001fd168;
  }
  else {
    __s2 = *(char **)(param_4 + 4);
    if (__s2 == __s1) goto LAB_001fd168;
    if (*__s1 == '*') {
      return 0;
    }
  }
  iVar1 = strcmp(__s1,__s2);
  if (iVar1 != 0) {
    return 0;
  }
LAB_001fd168:
  *param_8 = param_5;
  param_8[3] = 1;
  param_8[1] = param_3;
  return 0;
}



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

undefined4
FUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,
            int param_7,int *param_8)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = *(char **)(param_1 + 4);
  if (param_5 == param_7) {
    if (*(char **)(param_6 + 4) == __s1) {
LAB_001fd1d0:
      param_8[2] = param_3;
      return 0;
    }
    if (*__s1 == '*') {
      if (*(char **)(param_4 + 4) != __s1) {
        return 0;
      }
      goto LAB_001fd168;
    }
    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));
    if (iVar1 == 0) goto LAB_001fd1d0;
    __s2 = *(char **)(param_4 + 4);
    if (__s1 == __s2) goto LAB_001fd168;
  }
  else {
    __s2 = *(char **)(param_4 + 4);
    if (__s2 == __s1) goto LAB_001fd168;
    if (*__s1 == '*') {
      return 0;
    }
  }
  iVar1 = strcmp(__s1,__s2);
  if (iVar1 != 0) {
    return 0;
  }
LAB_001fd168:
  *param_8 = param_5;
  param_8[3] = 1;
  param_8[1] = param_3;
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x1aced7
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x3c]
MOV ESI,dword ptr [EAX + 0x4]
CMP EBP,dword ptr [ESP + 0x38]
JZ 0x001fd188
MOV EAX,dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,ESI
JZ 0x001fd168
CMP byte ptr [ESI],0x2a
JZ 0x001fd178
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x0002ab10
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x001fd178
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [EDI],EBP
MOV dword ptr [EDI + 0xc],0x1
MOV dword ptr [EDI + 0x4],EAX
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,ESI
JZ 0x001fd1d0
CMP byte ptr [ESI],0x2a
JZ 0x001fd1c0
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x0002ab10
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001fd1d0
MOV EAX,dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [EAX + 0x4]
CMP ESI,EAX
JNZ 0x001fd157
JMP 0x001fd168
MOV EAX,dword ptr [ESP + 0x2c]
CMP dword ptr [EAX + 0x4],ESI
JNZ 0x001fd178
JMP 0x001fd168
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [EDI + 0x8],EAX
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\nundefined4\nFUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}\n\n" comment (function_definition "undefined4\nFUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" type_identifier (function_declarator "FUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = *(char **)(param_1 + 4);" (assignment_expression "__s1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" if (parenthesized_expression "(param_5 == param_7)" ( (binary_expression "param_5 == param_7" identifier == identifier) )) (compound_statement "{\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }" { (if_statement "if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" if (parenthesized_expression "(*(char **)(param_6 + 4) == __s1)" ( (binary_expression "*(char **)(param_6 + 4) == __s1" (pointer_expression "*(char **)(param_6 + 4)" * (cast_expression "(char **)(param_6 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" { (labeled_statement "LAB_001fd1d0:\n      param_8[2] = param_3;" statement_identifier : (expression_statement "param_8[2] = param_3;" (assignment_expression "param_8[2] = param_3" (subscript_expression "param_8[2]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" { (if_statement "if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }" if (parenthesized_expression "(*(char **)(param_4 + 4) != __s1)" ( (binary_expression "*(char **)(param_4 + 4) != __s1" (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;) })) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(param_6 + 4))" identifier (argument_list "(__s1,*(char **)(param_6 + 4))" ( identifier , (pointer_expression "*(char **)(param_6 + 4)" * (cast_expression "(char **)(param_6 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) goto LAB_001fd1d0;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001fd1d0;" goto statement_identifier ;)) (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" identifier = (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s1 == __s2) goto LAB_001fd168;" if (parenthesized_expression "(__s1 == __s2)" ( (binary_expression "__s1 == __s2" identifier == identifier) )) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;)) }) (else_clause "else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" else (compound_statement "{\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" { (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" identifier = (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s2 == __s1) goto LAB_001fd168;" if (parenthesized_expression "(__s2 == __s1)" ( (binary_expression "__s2 == __s1" identifier == identifier) )) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;)) (if_statement "if (*__s1 == '*') {\n      return 0;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }))) (expression_statement "iVar1 = strcmp(__s1,__s2);" (assignment_expression "iVar1 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_001fd168:\n  *param_8 = param_5;" statement_identifier : (expression_statement "*param_8 = param_5;" (assignment_expression "*param_8 = param_5" (pointer_expression "*param_8" * identifier) = identifier) ;)) (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_8[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" identifier [ number_literal ]) = 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/* __cxxabiv1::__class_type_info::__do_dyncast(int, __cxxabiv1::__class_type_info::__sub_kind,\n   __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void\n   const*, __cxxabiv1::__class_type_info::__dyncast_result&) const */\n\nundefined4 __thiscall\n__cxxabiv1::__class_type_info::__do_dyncast\n          (__class_type_info *this,undefined4 param_1,int param_3,int param_4,int param_5,\n          int param_6,int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(this + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}\n\n" comment comment (function_definition "undefined4 __thiscall\n__cxxabiv1::__class_type_info::__do_dyncast\n          (__class_type_info *this,undefined4 param_1,int param_3,int param_4,int param_5,\n          int param_6,int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(this + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "__cxxabiv1::__class_type_info::" identifier : : identifier : :) (function_declarator "__do_dyncast\n          (__class_type_info *this,undefined4 param_1,int param_3,int param_4,int param_5,\n          int param_6,int param_7,int *param_8)" identifier (parameter_list "(__class_type_info *this,undefined4 param_1,int param_3,int param_4,int param_5,\n          int param_6,int param_7,int *param_8)" ( (parameter_declaration "__class_type_info *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(this + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = *(char **)(this + 4);" (assignment_expression "__s1 = *(char **)(this + 4)" identifier = (pointer_expression "*(char **)(this + 4)" * (cast_expression "(char **)(this + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" if (parenthesized_expression "(param_5 == param_7)" ( (binary_expression "param_5 == param_7" identifier == identifier) )) (compound_statement "{\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }" { (if_statement "if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" if (parenthesized_expression "(*(char **)(param_6 + 4) == __s1)" ( (binary_expression "*(char **)(param_6 + 4) == __s1" (pointer_expression "*(char **)(param_6 + 4)" * (cast_expression "(char **)(param_6 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" { (labeled_statement "LAB_001fd1d0:\n      param_8[2] = param_3;" statement_identifier : (expression_statement "param_8[2] = param_3;" (assignment_expression "param_8[2] = param_3" (subscript_expression "param_8[2]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" { (if_statement "if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }" if (parenthesized_expression "(*(char **)(param_4 + 4) != __s1)" ( (binary_expression "*(char **)(param_4 + 4) != __s1" (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;) })) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(param_6 + 4))" identifier (argument_list "(__s1,*(char **)(param_6 + 4))" ( identifier , (pointer_expression "*(char **)(param_6 + 4)" * (cast_expression "(char **)(param_6 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) goto LAB_001fd1d0;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001fd1d0;" goto statement_identifier ;)) (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" identifier = (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s1 == __s2) goto LAB_001fd168;" if (parenthesized_expression "(__s1 == __s2)" ( (binary_expression "__s1 == __s2" identifier == identifier) )) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;)) }) (else_clause "else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" else (compound_statement "{\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" { (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" identifier = (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s2 == __s1) goto LAB_001fd168;" if (parenthesized_expression "(__s2 == __s1)" ( (binary_expression "__s2 == __s1" identifier == identifier) )) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;)) (if_statement "if (*__s1 == '*') {\n      return 0;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }))) (expression_statement "iVar1 = strcmp(__s1,__s2);" (assignment_expression "iVar1 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_001fd168:\n  *param_8 = param_5;" statement_identifier : (expression_statement "*param_8 = param_5;" (assignment_expression "*param_8 = param_5" (pointer_expression "*param_8" * identifier) = identifier) ;)) (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_8[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4\nFUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" type_identifier (function_declarator "FUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = *(char **)(param_1 + 4);" (assignment_expression "__s1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" if (parenthesized_expression "(param_5 == param_7)" ( (binary_expression "param_5 == param_7" identifier == identifier) )) (compound_statement "{\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }" { (if_statement "if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" if (parenthesized_expression "(*(char **)(param_6 + 4) == __s1)" ( (binary_expression "*(char **)(param_6 + 4) == __s1" (pointer_expression "*(char **)(param_6 + 4)" * (cast_expression "(char **)(param_6 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" { (labeled_statement "LAB_001fd1d0:\n      param_8[2] = param_3;" statement_identifier : (expression_statement "param_8[2] = param_3;" (assignment_expression "param_8[2] = param_3" (subscript_expression "param_8[2]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" { (if_statement "if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }" if (parenthesized_expression "(*(char **)(param_4 + 4) != __s1)" ( (binary_expression "*(char **)(param_4 + 4) != __s1" (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;) })) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(param_6 + 4))" identifier (argument_list "(__s1,*(char **)(param_6 + 4))" ( identifier , (pointer_expression "*(char **)(param_6 + 4)" * (cast_expression "(char **)(param_6 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) goto LAB_001fd1d0;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001fd1d0;" goto statement_identifier ;)) (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" identifier = (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s1 == __s2) goto LAB_001fd168;" if (parenthesized_expression "(__s1 == __s2)" ( (binary_expression "__s1 == __s2" identifier == identifier) )) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;)) }) (else_clause "else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" else (compound_statement "{\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" { (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" identifier = (pointer_expression "*(char **)(param_4 + 4)" * (cast_expression "(char **)(param_4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s2 == __s1) goto LAB_001fd168;" if (parenthesized_expression "(__s2 == __s1)" ( (binary_expression "__s2 == __s1" identifier == identifier) )) (goto_statement "goto LAB_001fd168;" goto statement_identifier ;)) (if_statement "if (*__s1 == '*') {\n      return 0;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }))) (expression_statement "iVar1 = strcmp(__s1,__s2);" (assignment_expression "iVar1 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_001fd168:\n  *param_8 = param_5;" statement_identifier : (expression_statement "*param_8 = param_5;" (assignment_expression "*param_8 = param_5" (pointer_expression "*param_8" * identifier) = identifier) ;)) (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_8[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_001fd120(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)" (identifier "FUN_001fd120") (parameter_list "(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,\n            int param_7,int *param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "int *param_8" (primitive_type "int") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_001fd168:\n  *param_8 = param_5;\n  param_8[3] = 1;\n  param_8[1] = param_3;\n  return 0;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "__s1 = *(char **)(param_1 + 4);" (assignment_expression "__s1 = *(char **)(param_1 + 4)" (identifier "__s1") (= "=") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(param_5 == param_7)" (( "(") (binary_expression "param_5 == param_7" (identifier "param_5") (== "==") (identifier "param_7")) () ")")) (compound_statement "{\n    if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));\n    if (iVar1 == 0) goto LAB_001fd1d0;\n    __s2 = *(char **)(param_4 + 4);\n    if (__s1 == __s2) goto LAB_001fd168;\n  }" ({ "{") (if_statement "if (*(char **)(param_6 + 4) == __s1) {\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(char **)(param_6 + 4) == __s1)" (( "(") (binary_expression "*(char **)(param_6 + 4) == __s1" (pointer_expression "*(char **)(param_6 + 4)" (* "*") (cast_expression "(char **)(param_6 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_6 + 4)" (( "(") (binary_expression "param_6 + 4" (identifier "param_6") (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "__s1")) () ")")) (compound_statement "{\nLAB_001fd1d0:\n      param_8[2] = param_3;\n      return 0;\n    }" ({ "{") (labeled_statement "LAB_001fd1d0:\n      param_8[2] = param_3;" (statement_identifier "LAB_001fd1d0") (: ":") (expression_statement "param_8[2] = param_3;" (assignment_expression "param_8[2] = param_3" (subscript_expression "param_8[2]" (identifier "param_8") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_3")) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" (if "if") (parenthesized_expression "(*__s1 == '*')" (( "(") (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\n      if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }\n      goto LAB_001fd168;\n    }" ({ "{") (if_statement "if (*(char **)(param_4 + 4) != __s1) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(*(char **)(param_4 + 4) != __s1)" (( "(") (binary_expression "*(char **)(param_4 + 4) != __s1" (pointer_expression "*(char **)(param_4 + 4)" (* "*") (cast_expression "(char **)(param_4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "__s1")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (goto_statement "goto LAB_001fd168;" (goto "goto") (statement_identifier "LAB_001fd168") (; ";")) (} "}"))) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 4))" (identifier "iVar1") (= "=") (call_expression "strcmp(__s1,*(char **)(param_6 + 4))" (identifier "strcmp") (argument_list "(__s1,*(char **)(param_6 + 4))" (( "(") (identifier "__s1") (, ",") (pointer_expression "*(char **)(param_6 + 4)" (* "*") (cast_expression "(char **)(param_6 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_6 + 4)" (( "(") (binary_expression "param_6 + 4" (identifier "param_6") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_001fd1d0;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001fd1d0;" (goto "goto") (statement_identifier "LAB_001fd1d0") (; ";"))) (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(param_4 + 4)" (* "*") (cast_expression "(char **)(param_4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (__s1 == __s2) goto LAB_001fd168;" (if "if") (parenthesized_expression "(__s1 == __s2)" (( "(") (binary_expression "__s1 == __s2" (identifier "__s1") (== "==") (identifier "__s2")) () ")")) (goto_statement "goto LAB_001fd168;" (goto "goto") (statement_identifier "LAB_001fd168") (; ";"))) (} "}")) (else_clause "else {\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    __s2 = *(char **)(param_4 + 4);\n    if (__s2 == __s1) goto LAB_001fd168;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "__s2 = *(char **)(param_4 + 4);" (assignment_expression "__s2 = *(char **)(param_4 + 4)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(param_4 + 4)" (* "*") (cast_expression "(char **)(param_4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (__s2 == __s1) goto LAB_001fd168;" (if "if") (parenthesized_expression "(__s2 == __s1)" (( "(") (binary_expression "__s2 == __s1" (identifier "__s2") (== "==") (identifier "__s1")) () ")")) (goto_statement "goto LAB_001fd168;" (goto "goto") (statement_identifier "LAB_001fd168") (; ";"))) (if_statement "if (*__s1 == '*') {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*__s1 == '*')" (( "(") (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar1 = strcmp(__s1,__s2);" (assignment_expression "iVar1 = strcmp(__s1,__s2)" (identifier "iVar1") (= "=") (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (labeled_statement "LAB_001fd168:\n  *param_8 = param_5;" (statement_identifier "LAB_001fd168") (: ":") (expression_statement "*param_8 = param_5;" (assignment_expression "*param_8 = param_5" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (identifier "param_5")) (; ";"))) (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" (identifier "param_8") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_8[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" (identifier "param_8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* __cxxabiv1::__class_type_info::__do_dyncast(int, __cxxabiv1::__class_type_info::__sub_kind,
   __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void
   const*, __cxxabiv1::__class_type_info::__dyncast_result&) const */

type_1 __thiscall
__cxxabiv1::type_2::function_1
          (type_2 *var_1,type_1 param_1,int param_3,int var_6,int var_2,
          int var_4,int var_3,int *param_8)

{
  char *var_5;
  char *var_9;
  int var_8;
  
  var_5 = *(char **)(var_1 + 4);
  if (var_2 == var_3) {
    if (*(char **)(var_4 + 4) == var_5) {
LAB_001fd1d0:
      param_8[2] = param_3;
      return 0;
    }
    if (*var_5 == '*') {
      if (*(char **)(var_6 + 4) != var_5) {
        return 0;
      }
      goto LAB_001fd168;
    }
    var_8 = var_7(var_5,*(char **)(var_4 + 4));
    if (var_8 == 0) goto LAB_001fd1d0;
    var_9 = *(char **)(var_6 + 4);
    if (var_5 == var_9) goto LAB_001fd168;
  }
  else {
    var_9 = *(char **)(var_6 + 4);
    if (var_9 == var_5) goto LAB_001fd168;
    if (*var_5 == '*') {
      return 0;
    }
  }
  var_8 = var_7(var_5,var_9);
  if (var_8 != 0) {
    return 0;
  }
LAB_001fd168:
  *param_8 = var_2;
  param_8[3] = 1;
  param_8[1] = param_3;
  return 0;
}


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

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

undefined4
MASKED(int param_1,undefined4 param_2,int param_3,int param_4,int param_5,int param_6,
            int param_7,int *param_8)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = *(char **)(param_1 + 4);
  if (param_5 == param_7) {
    if (*(char **)(param_6 + 4) == __s1) {
LAB_001fd1d0:
      param_8[2] = param_3;
      return 0;
    }
    if (*__s1 == '*') {
      if (*(char **)(param_4 + 4) != __s1) {
        return 0;
      }
      goto LAB_001fd168;
    }
    iVar1 = strcmp(__s1,*(char **)(param_6 + 4));
    if (iVar1 == 0) goto LAB_001fd1d0;
    __s2 = *(char **)(param_4 + 4);
    if (__s1 == __s2) goto LAB_001fd168;
  }
  else {
    __s2 = *(char **)(param_4 + 4);
    if (__s2 == __s1) goto LAB_001fd168;
    if (*__s1 == '*') {
      return 0;
    }
  }
  iVar1 = strcmp(__s1,__s2);
  if (iVar1 != 0) {
    return 0;
  }
LAB_001fd168:
  *param_8 = param_5;
  param_8[3] = 1;
  param_8[1] = param_3;
  return 0;
}

