
/* __cxxabiv1::__class_type_info::__do_dyncast(long, __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 */

undefined8 __thiscall
__cxxabiv1::__class_type_info::__do_dyncast
          (__class_type_info *this,undefined8 param_2,undefined4 param_3,long param_4,long param_5,
          long param_6,long param_7,long *param_8)

{
  char *__s1;
  int iVar1;
  char *__s2;
  
  __s1 = *(char **)(this + 8);
  if (param_5 == param_7) {
    if (*(char **)(param_6 + 8) == __s1) {
LAB_002dadc0:
      *(undefined4 *)((long)param_8 + 0xc) = param_3;
      return 0;
    }
    if (*__s1 == '*') {
      if (*(char **)(param_4 + 8) != __s1) {
        return 0;
      }
      goto LAB_002dad5a;
    }
    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));
    if (iVar1 == 0) goto LAB_002dadc0;
    __s2 = *(char **)(param_4 + 8);
    if (__s1 == __s2) goto LAB_002dad5a;
  }
  else {
    __s2 = *(char **)(param_4 + 8);
    if (__s2 == __s1) goto LAB_002dad5a;
    if (*__s1 == '*') {
      return 0;
    }
  }
  iVar1 = strcmp(__s1,__s2);
  if (iVar1 != 0) {
    return 0;
  }
LAB_002dad5a:
  *param_8 = param_5;
  *(undefined4 *)(param_8 + 1) = param_3;
  *(undefined4 *)(param_8 + 2) = 1;
  return 0;
}



undefined8
FUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,
            long param_6,long param_7,long *param_8)

{
  char *__s1;
  int iVar1;
  char *__s2;
  
  __s1 = *(char **)(param_1 + 8);
  if (param_5 == param_7) {
    if (*(char **)(param_6 + 8) == __s1) {
LAB_002dadc0:
      *(undefined4 *)((long)param_8 + 0xc) = param_3;
      return 0;
    }
    if (*__s1 == '*') {
      if (*(char **)(param_4 + 8) != __s1) {
        return 0;
      }
      goto LAB_002dad5a;
    }
    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));
    if (iVar1 == 0) goto LAB_002dadc0;
    __s2 = *(char **)(param_4 + 8);
    if (__s1 == __s2) goto LAB_002dad5a;
  }
  else {
    __s2 = *(char **)(param_4 + 8);
    if (__s2 == __s1) goto LAB_002dad5a;
    if (*__s1 == '*') {
      return 0;
    }
  }
  iVar1 = strcmp(__s1,__s2);
  if (iVar1 != 0) {
    return 0;
  }
LAB_002dad5a:
  *param_8 = param_5;
  *(undefined4 *)(param_8 + 1) = param_3;
  *(undefined4 *)(param_8 + 2) = 1;
  return 0;
}


PUSH R13
MOV R13D,EDX
PUSH R12
MOV R12,R8
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RBX,qword ptr [RDI + 0x8]
MOV RBP,qword ptr [RSP + 0x48]
CMP R8,qword ptr [RSP + 0x40]
JZ 0x002dad80
MOV RSI,qword ptr [RCX + 0x8]
CMP RSI,RBX
JZ 0x002dad5a
CMP byte ptr [RBX],0x2a
JZ 0x002dad69
MOV RDI,RBX
CALL 0x001477a0
TEST EAX,EAX
JNZ 0x002dad69
MOV qword ptr [RBP],R12
MOV dword ptr [RBP + 0x8],R13D
MOV dword ptr [RBP + 0x10],0x1
ADD RSP,0x18
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RSI,qword ptr [R9 + 0x8]
CMP RSI,RBX
JZ 0x002dadc0
CMP byte ptr [RBX],0x2a
JZ 0x002dadb0
MOV RDI,RBX
MOV qword ptr [RSP + 0x8],RCX
CALL 0x001477a0
TEST EAX,EAX
JZ 0x002dadc0
MOV RCX,qword ptr [RSP + 0x8]
MOV RSI,qword ptr [RCX + 0x8]
CMP RBX,RSI
JNZ 0x002dad4e
JMP 0x002dad5a
CMP qword ptr [RCX + 0x8],RBX
JNZ 0x002dad69
JMP 0x002dad5a
MOV dword ptr [RBP + 0xc],R13D
ADD RSP,0x18
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "undefined8\nFUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" type_identifier (function_declarator "FUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_8" (sized_type_specifier "long" long) (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (expression_statement "__s1 = *(char **)(param_1 + 8);" (assignment_expression "__s1 = *(char **)(param_1 + 8)" identifier = (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\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 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }" { (if_statement "if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" if (parenthesized_expression "(*(char **)(param_6 + 8) == __s1)" ( (binary_expression "*(char **)(param_6 + 8) == __s1" (pointer_expression "*(char **)(param_6 + 8)" * (cast_expression "(char **)(param_6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 8)" ( (binary_expression "param_6 + 8" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" { (labeled_statement "LAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;" statement_identifier : (expression_statement "*(undefined4 *)((long)param_8 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)((long)param_8 + 0xc) = param_3" (pointer_expression "*(undefined4 *)((long)param_8 + 0xc)" * (cast_expression "(undefined4 *)((long)param_8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_8 + 0xc)" ( (binary_expression "(long)param_8 + 0xc" (cast_expression "(long)param_8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" { (if_statement "if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }" if (parenthesized_expression "(*(char **)(param_4 + 8) != __s1)" ( (binary_expression "*(char **)(param_4 + 8) != __s1" (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_002dad5a;" goto statement_identifier ;) })) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 8));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 8))" identifier = (call_expression "strcmp(__s1,*(char **)(param_6 + 8))" identifier (argument_list "(__s1,*(char **)(param_6 + 8))" ( identifier , (pointer_expression "*(char **)(param_6 + 8)" * (cast_expression "(char **)(param_6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 8)" ( (binary_expression "param_6 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) goto LAB_002dadc0;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002dadc0;" goto statement_identifier ;)) (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" identifier = (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s1 == __s2) goto LAB_002dad5a;" if (parenthesized_expression "(__s1 == __s2)" ( (binary_expression "__s1 == __s2" identifier == identifier) )) (goto_statement "goto LAB_002dad5a;" goto statement_identifier ;)) }) (else_clause "else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" else (compound_statement "{\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" { (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" identifier = (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s2 == __s1) goto LAB_002dad5a;" if (parenthesized_expression "(__s2 == __s1)" ( (binary_expression "__s2 == __s1" identifier == identifier) )) (goto_statement "goto LAB_002dad5a;" 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_002dad5a:\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 "*(undefined4 *)(param_8 + 1) = param_3;" (assignment_expression "*(undefined4 *)(param_8 + 1) = param_3" (pointer_expression "*(undefined4 *)(param_8 + 1)" * (cast_expression "(undefined4 *)(param_8 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 1)" ( (binary_expression "param_8 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_8 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_8 + 2) = 1" (pointer_expression "*(undefined4 *)(param_8 + 2)" * (cast_expression "(undefined4 *)(param_8 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 2)" ( (binary_expression "param_8 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* __cxxabiv1::__class_type_info::__do_dyncast(long, __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\nundefined8 __thiscall\n__cxxabiv1::__class_type_info::__do_dyncast\n          (__class_type_info *this,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n          long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(this + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}\n\n" comment (function_definition "undefined8 __thiscall\n__cxxabiv1::__class_type_info::__do_dyncast\n          (__class_type_info *this,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n          long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(this + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\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,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n          long param_6,long param_7,long *param_8)" identifier (parameter_list "(__class_type_info *this,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n          long param_6,long param_7,long *param_8)" ( (parameter_declaration "__class_type_info *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_8" (sized_type_specifier "long" long) (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(this + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (expression_statement "__s1 = *(char **)(this + 8);" (assignment_expression "__s1 = *(char **)(this + 8)" identifier = (pointer_expression "*(char **)(this + 8)" * (cast_expression "(char **)(this + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\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 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }" { (if_statement "if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" if (parenthesized_expression "(*(char **)(param_6 + 8) == __s1)" ( (binary_expression "*(char **)(param_6 + 8) == __s1" (pointer_expression "*(char **)(param_6 + 8)" * (cast_expression "(char **)(param_6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 8)" ( (binary_expression "param_6 + 8" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" { (labeled_statement "LAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;" statement_identifier : (expression_statement "*(undefined4 *)((long)param_8 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)((long)param_8 + 0xc) = param_3" (pointer_expression "*(undefined4 *)((long)param_8 + 0xc)" * (cast_expression "(undefined4 *)((long)param_8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_8 + 0xc)" ( (binary_expression "(long)param_8 + 0xc" (cast_expression "(long)param_8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" { (if_statement "if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }" if (parenthesized_expression "(*(char **)(param_4 + 8) != __s1)" ( (binary_expression "*(char **)(param_4 + 8) != __s1" (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_002dad5a;" goto statement_identifier ;) })) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 8));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 8))" identifier = (call_expression "strcmp(__s1,*(char **)(param_6 + 8))" identifier (argument_list "(__s1,*(char **)(param_6 + 8))" ( identifier , (pointer_expression "*(char **)(param_6 + 8)" * (cast_expression "(char **)(param_6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 8)" ( (binary_expression "param_6 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) goto LAB_002dadc0;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002dadc0;" goto statement_identifier ;)) (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" identifier = (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s1 == __s2) goto LAB_002dad5a;" if (parenthesized_expression "(__s1 == __s2)" ( (binary_expression "__s1 == __s2" identifier == identifier) )) (goto_statement "goto LAB_002dad5a;" goto statement_identifier ;)) }) (else_clause "else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" else (compound_statement "{\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" { (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" identifier = (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s2 == __s1) goto LAB_002dad5a;" if (parenthesized_expression "(__s2 == __s1)" ( (binary_expression "__s2 == __s1" identifier == identifier) )) (goto_statement "goto LAB_002dad5a;" 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_002dad5a:\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 "*(undefined4 *)(param_8 + 1) = param_3;" (assignment_expression "*(undefined4 *)(param_8 + 1) = param_3" (pointer_expression "*(undefined4 *)(param_8 + 1)" * (cast_expression "(undefined4 *)(param_8 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 1)" ( (binary_expression "param_8 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_8 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_8 + 2) = 1" (pointer_expression "*(undefined4 *)(param_8 + 2)" * (cast_expression "(undefined4 *)(param_8 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 2)" ( (binary_expression "param_8 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8\nFUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" type_identifier (function_declarator "FUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_8" (sized_type_specifier "long" long) (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (expression_statement "__s1 = *(char **)(param_1 + 8);" (assignment_expression "__s1 = *(char **)(param_1 + 8)" identifier = (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\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 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }" { (if_statement "if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" if (parenthesized_expression "(*(char **)(param_6 + 8) == __s1)" ( (binary_expression "*(char **)(param_6 + 8) == __s1" (pointer_expression "*(char **)(param_6 + 8)" * (cast_expression "(char **)(param_6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 8)" ( (binary_expression "param_6 + 8" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" { (labeled_statement "LAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;" statement_identifier : (expression_statement "*(undefined4 *)((long)param_8 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)((long)param_8 + 0xc) = param_3" (pointer_expression "*(undefined4 *)((long)param_8 + 0xc)" * (cast_expression "(undefined4 *)((long)param_8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_8 + 0xc)" ( (binary_expression "(long)param_8 + 0xc" (cast_expression "(long)param_8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" if (parenthesized_expression "(*__s1 == '*')" ( (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) )) (compound_statement "{\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" { (if_statement "if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }" if (parenthesized_expression "(*(char **)(param_4 + 8) != __s1)" ( (binary_expression "*(char **)(param_4 + 8) != __s1" (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_002dad5a;" goto statement_identifier ;) })) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 8));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 8))" identifier = (call_expression "strcmp(__s1,*(char **)(param_6 + 8))" identifier (argument_list "(__s1,*(char **)(param_6 + 8))" ( identifier , (pointer_expression "*(char **)(param_6 + 8)" * (cast_expression "(char **)(param_6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_6 + 8)" ( (binary_expression "param_6 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) goto LAB_002dadc0;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002dadc0;" goto statement_identifier ;)) (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" identifier = (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s1 == __s2) goto LAB_002dad5a;" if (parenthesized_expression "(__s1 == __s2)" ( (binary_expression "__s1 == __s2" identifier == identifier) )) (goto_statement "goto LAB_002dad5a;" goto statement_identifier ;)) }) (else_clause "else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" else (compound_statement "{\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" { (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" identifier = (pointer_expression "*(char **)(param_4 + 8)" * (cast_expression "(char **)(param_4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s2 == __s1) goto LAB_002dad5a;" if (parenthesized_expression "(__s2 == __s1)" ( (binary_expression "__s2 == __s1" identifier == identifier) )) (goto_statement "goto LAB_002dad5a;" 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_002dad5a:\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 "*(undefined4 *)(param_8 + 1) = param_3;" (assignment_expression "*(undefined4 *)(param_8 + 1) = param_3" (pointer_expression "*(undefined4 *)(param_8 + 1)" * (cast_expression "(undefined4 *)(param_8 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 1)" ( (binary_expression "param_8 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_8 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_8 + 2) = 1" (pointer_expression "*(undefined4 *)(param_8 + 2)" * (cast_expression "(undefined4 *)(param_8 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 2)" ( (binary_expression "param_8 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined8\nFUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_002dad20(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)" (identifier "FUN_002dad20") (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3,long param_4,long param_5,\n            long param_6,long param_7,long *param_8)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "long param_5" (sized_type_specifier "long" (long "long")) (identifier "param_5")) (, ",") (parameter_declaration "long param_6" (sized_type_specifier "long" (long "long")) (identifier "param_6")) (, ",") (parameter_declaration "long param_7" (sized_type_specifier "long" (long "long")) (identifier "param_7")) (, ",") (parameter_declaration "long *param_8" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n  __s1 = *(char **)(param_1 + 8);\n  if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }\n  iVar1 = strcmp(__s1,__s2);\n  if (iVar1 != 0) {\n    return 0;\n  }\nLAB_002dad5a:\n  *param_8 = param_5;\n  *(undefined4 *)(param_8 + 1) = param_3;\n  *(undefined4 *)(param_8 + 2) = 1;\n  return 0;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (expression_statement "__s1 = *(char **)(param_1 + 8);" (assignment_expression "__s1 = *(char **)(param_1 + 8)" (identifier "__s1") (= "=") (pointer_expression "*(char **)(param_1 + 8)" (* "*") (cast_expression "(char **)(param_1 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (param_5 == param_7) {\n    if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }\n  else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\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 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }\n    if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }\n    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));\n    if (iVar1 == 0) goto LAB_002dadc0;\n    __s2 = *(char **)(param_4 + 8);\n    if (__s1 == __s2) goto LAB_002dad5a;\n  }" ({ "{") (if_statement "if (*(char **)(param_6 + 8) == __s1) {\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(char **)(param_6 + 8) == __s1)" (( "(") (binary_expression "*(char **)(param_6 + 8) == __s1" (pointer_expression "*(char **)(param_6 + 8)" (* "*") (cast_expression "(char **)(param_6 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_6 + 8)" (( "(") (binary_expression "param_6 + 8" (identifier "param_6") (+ "+") (number_literal "8")) () ")")))) (== "==") (identifier "__s1")) () ")")) (compound_statement "{\nLAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;\n      return 0;\n    }" ({ "{") (labeled_statement "LAB_002dadc0:\n      *(undefined4 *)((long)param_8 + 0xc) = param_3;" (statement_identifier "LAB_002dadc0") (: ":") (expression_statement "*(undefined4 *)((long)param_8 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)((long)param_8 + 0xc) = param_3" (pointer_expression "*(undefined4 *)((long)param_8 + 0xc)" (* "*") (cast_expression "(undefined4 *)((long)param_8 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_8 + 0xc)" (( "(") (binary_expression "(long)param_8 + 0xc" (cast_expression "(long)param_8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_8")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_3")) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*__s1 == '*') {\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" (if "if") (parenthesized_expression "(*__s1 == '*')" (( "(") (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\n      if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }\n      goto LAB_002dad5a;\n    }" ({ "{") (if_statement "if (*(char **)(param_4 + 8) != __s1) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(*(char **)(param_4 + 8) != __s1)" (( "(") (binary_expression "*(char **)(param_4 + 8) != __s1" (pointer_expression "*(char **)(param_4 + 8)" (* "*") (cast_expression "(char **)(param_4 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (identifier "__s1")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (goto_statement "goto LAB_002dad5a;" (goto "goto") (statement_identifier "LAB_002dad5a") (; ";")) (} "}"))) (expression_statement "iVar1 = strcmp(__s1,*(char **)(param_6 + 8));" (assignment_expression "iVar1 = strcmp(__s1,*(char **)(param_6 + 8))" (identifier "iVar1") (= "=") (call_expression "strcmp(__s1,*(char **)(param_6 + 8))" (identifier "strcmp") (argument_list "(__s1,*(char **)(param_6 + 8))" (( "(") (identifier "__s1") (, ",") (pointer_expression "*(char **)(param_6 + 8)" (* "*") (cast_expression "(char **)(param_6 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_6 + 8)" (( "(") (binary_expression "param_6 + 8" (identifier "param_6") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_002dadc0;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002dadc0;" (goto "goto") (statement_identifier "LAB_002dadc0") (; ";"))) (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(param_4 + 8)" (* "*") (cast_expression "(char **)(param_4 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (__s1 == __s2) goto LAB_002dad5a;" (if "if") (parenthesized_expression "(__s1 == __s2)" (( "(") (binary_expression "__s1 == __s2" (identifier "__s1") (== "==") (identifier "__s2")) () ")")) (goto_statement "goto LAB_002dad5a;" (goto "goto") (statement_identifier "LAB_002dad5a") (; ";"))) (} "}")) (else_clause "else {\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    __s2 = *(char **)(param_4 + 8);\n    if (__s2 == __s1) goto LAB_002dad5a;\n    if (*__s1 == '*') {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "__s2 = *(char **)(param_4 + 8);" (assignment_expression "__s2 = *(char **)(param_4 + 8)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(param_4 + 8)" (* "*") (cast_expression "(char **)(param_4 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (__s2 == __s1) goto LAB_002dad5a;" (if "if") (parenthesized_expression "(__s2 == __s1)" (( "(") (binary_expression "__s2 == __s1" (identifier "__s2") (== "==") (identifier "__s1")) () ")")) (goto_statement "goto LAB_002dad5a;" (goto "goto") (statement_identifier "LAB_002dad5a") (; ";"))) (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_002dad5a:\n  *param_8 = param_5;" (statement_identifier "LAB_002dad5a") (: ":") (expression_statement "*param_8 = param_5;" (assignment_expression "*param_8 = param_5" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (identifier "param_5")) (; ";"))) (expression_statement "*(undefined4 *)(param_8 + 1) = param_3;" (assignment_expression "*(undefined4 *)(param_8 + 1) = param_3" (pointer_expression "*(undefined4 *)(param_8 + 1)" (* "*") (cast_expression "(undefined4 *)(param_8 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 1)" (( "(") (binary_expression "param_8 + 1" (identifier "param_8") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(param_8 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_8 + 2) = 1" (pointer_expression "*(undefined4 *)(param_8 + 2)" (* "*") (cast_expression "(undefined4 *)(param_8 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 2)" (( "(") (binary_expression "param_8 + 2" (identifier "param_8") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* __cxxabiv1::__class_type_info::__do_dyncast(long, __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_2,type_3 param_3,long var_6,long var_2,
          long var_4,long var_3,long *var_10)

{
  char *var_5;
  int var_8;
  char *var_9;
  
  var_5 = *(char **)(var_1 + 8);
  if (var_2 == var_3) {
    if (*(char **)(var_4 + 8) == var_5) {
LAB_002dadc0:
      *(type_3 *)((long)var_10 + 0xc) = param_3;
      return 0;
    }
    if (*var_5 == '*') {
      if (*(char **)(var_6 + 8) != var_5) {
        return 0;
      }
      goto LAB_002dad5a;
    }
    var_8 = var_7(var_5,*(char **)(var_4 + 8));
    if (var_8 == 0) goto LAB_002dadc0;
    var_9 = *(char **)(var_6 + 8);
    if (var_5 == var_9) goto LAB_002dad5a;
  }
  else {
    var_9 = *(char **)(var_6 + 8);
    if (var_9 == var_5) goto LAB_002dad5a;
    if (*var_5 == '*') {
      return 0;
    }
  }
  var_8 = var_7(var_5,var_9);
  if (var_8 != 0) {
    return 0;
  }
LAB_002dad5a:
  *var_10 = var_2;
  *(type_3 *)(var_10 + 1) = param_3;
  *(type_3 *)(var_10 + 2) = 1;
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement (number_literal)))))

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

{
  char *__s1;
  int iVar1;
  char *__s2;
  
  __s1 = *(char **)(param_1 + 8);
  if (param_5 == param_7) {
    if (*(char **)(param_6 + 8) == __s1) {
LAB_002dadc0:
      *(undefined4 *)((long)param_8 + 0xc) = param_3;
      return 0;
    }
    if (*__s1 == '*') {
      if (*(char **)(param_4 + 8) != __s1) {
        return 0;
      }
      goto LAB_002dad5a;
    }
    iVar1 = strcmp(__s1,*(char **)(param_6 + 8));
    if (iVar1 == 0) goto LAB_002dadc0;
    __s2 = *(char **)(param_4 + 8);
    if (__s1 == __s2) goto LAB_002dad5a;
  }
  else {
    __s2 = *(char **)(param_4 + 8);
    if (__s2 == __s1) goto LAB_002dad5a;
    if (*__s1 == '*') {
      return 0;
    }
  }
  iVar1 = strcmp(__s1,__s2);
  if (iVar1 != 0) {
    return 0;
  }
LAB_002dad5a:
  *param_8 = param_5;
  *(undefined4 *)(param_8 + 1) = param_3;
  *(undefined4 *)(param_8 + 2) = 1;
  return 0;
}

