
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* __cxxabiv1::__si_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::__si_class_type_info::__do_dyncast
          (__si_class_type_info *this,int param_1,int param_3,int param_4,int param_5,int param_6,
          int param_7,int *param_8)

{
  char cVar1;
  char *__s1;
  int iVar2;
  undefined4 uVar3;
  
  __s1 = *(char **)(this + 4);
  if (__s1 == *(char **)(param_4 + 4)) {
LAB_001e5020:
    *param_8 = param_5;
    param_8[1] = param_3;
    if (param_1 < 0) {
      if (param_1 == -2) {
        param_8[3] = 1;
      }
    }
    else {
      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;
    }
  }
  else {
    cVar1 = *__s1;
    if (cVar1 != '*') {
      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));
      if (iVar2 == 0) goto LAB_001e5020;
    }
    if (param_5 != param_7) goto LAB_001e4fdb;
    if (__s1 != *(char **)(param_6 + 4)) {
      if (cVar1 == '*') {
LAB_001e4fdb:
                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();
        return uVar3;
      }
      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));
      if (iVar2 != 0) goto LAB_001e4fdb;
    }
    param_8[2] = param_3;
  }
  return 0;
}



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

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

{
  char cVar1;
  char *__s1;
  int iVar2;
  undefined4 uVar3;
  
  __s1 = *(char **)(param_1 + 4);
  if (__s1 == *(char **)(param_4 + 4)) {
LAB_001e5020:
    *param_8 = param_5;
    param_8[1] = param_3;
    if (param_2 < 0) {
      if (param_2 == -2) {
        param_8[3] = 1;
      }
    }
    else {
      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;
    }
  }
  else {
    cVar1 = *__s1;
    if (cVar1 != '*') {
      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));
      if (iVar2 == 0) goto LAB_001e5020;
    }
    if (param_5 != param_7) goto LAB_001e4fdb;
    if (__s1 != *(char **)(param_6 + 4)) {
      if (cVar1 == '*') {
LAB_001e4fdb:
                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();
        return uVar3;
      }
      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));
      if (iVar2 != 0) goto LAB_001e4fdb;
    }
    param_8[2] = param_3;
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1aa0a7
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x44]
MOV ECX,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [ESP + 0x4c]
MOV EDI,dword ptr [ESP + 0x50]
MOV ESI,dword ptr [ECX + 0x4]
MOV EBP,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0x10],EAX
CMP ESI,EAX
JZ 0x001e5020
MOVZX EAX,byte ptr [ESI]
MOV byte ptr [ESP + 0x1f],AL
CMP AL,0x2a
JZ 0x001e4fd2
MOV dword ptr [ESP + 0x18],EDX
SUB ESP,0x8
MOV dword ptr [ESP + 0x1c],ECX
PUSH dword ptr [ESP + 0x18]
PUSH ESI
CALL 0x00029b10
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x001e5020
CMP EDI,dword ptr [ESP]
JZ 0x001e5060
MOV EAX,dword ptr [ECX + 0x8]
MOV EBX,dword ptr [ESP]
MOV ESI,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [EAX]
MOV dword ptr [ESP + 0x58],EBX
MOV dword ptr [ESP + 0x50],EDI
MOV EBX,dword ptr [ESP + 0xc]
MOV EDI,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x5c],EBP
MOV dword ptr [ESP + 0x54],EBX
MOV dword ptr [ESP + 0x48],EDI
MOV dword ptr [ESP + 0x44],ESI
MOV dword ptr [ESP + 0x4c],EDX
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [ECX + 0x1c]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP],EDI
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JS 0x001e5050
ADD EDI,EAX
XOR EAX,EAX
CMP dword ptr [ESP],EDI
SETZ AL
LEA EAX,[EAX + EAX*0x4 + 0x1]
MOV dword ptr [EBP + 0xc],EAX
ADD ESP,0x2c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP dword ptr [ESP + 0x4],-0x2
JNZ 0x001e5043
MOV dword ptr [EBP + 0xc],0x1
JMP 0x001e5043
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + 0x4]
CMP ESI,EAX
JZ 0x001e509b
CMP byte ptr [ESP + 0x1f],0x2a
JZ 0x001e4fdb
MOV dword ptr [ESP + 0x14],EDX
SUB ESP,0x8
MOV dword ptr [ESP + 0x18],ECX
PUSH EAX
PUSH ESI
CALL 0x00029b10
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JNZ 0x001e4fdb
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP + 0x8],EAX
JMP 0x001e5043
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nFUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4\nFUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type 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 cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier 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 (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" if (parenthesized_expression "(__s1 == *(char **)(param_4 + 4))" ( (binary_expression "__s1 == *(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) ))))) )) (compound_statement "{\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }" { (labeled_statement "LAB_001e5020:\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[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }" { (if_statement "if (param_2 == -2) {\n        param_8[3] = 1;\n      }" if (parenthesized_expression "(param_2 == -2)" ( (binary_expression "param_2 == -2" identifier == number_literal) )) (compound_statement "{\n        param_8[3] = 1;\n      }" { (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" else (compound_statement "{\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" { (expression_statement "param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;" (assignment_expression "param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = (binary_expression "(uint)(param_7 == param_5 + param_2) * 5 + 1" (binary_expression "(uint)(param_7 == param_5 + param_2) * 5" (call_expression "(uint)(param_7 == param_5 + param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_7 == param_5 + param_2)" ( (binary_expression "param_7 == param_5 + param_2" identifier == (binary_expression "param_5 + param_2" identifier + identifier)) ))) * number_literal) + number_literal)) ;) }))) }) (else_clause "else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" else (compound_statement "{\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" { (expression_statement "cVar1 = *__s1;" (assignment_expression "cVar1 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (if_statement "if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" if (parenthesized_expression "(cVar1 != '*')" ( (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) )) (compound_statement "{\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" { (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_4 + 4));" (assignment_expression "iVar2 = strcmp(__s1,*(char **)(param_4 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(param_4 + 4))" identifier (argument_list "(__s1,*(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 (iVar2 == 0) goto LAB_001e5020;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e5020;" goto statement_identifier ;)) })) (if_statement "if (param_5 != param_7) goto LAB_001e4fdb;" if (parenthesized_expression "(param_5 != param_7)" ( (binary_expression "param_5 != param_7" identifier != identifier) )) (goto_statement "goto LAB_001e4fdb;" goto statement_identifier ;)) (if_statement "if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" if (parenthesized_expression "(__s1 != *(char **)(param_6 + 4))" ( (binary_expression "__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) ))))) )) (compound_statement "{\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" { (if_statement "if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }" if (parenthesized_expression "(cVar1 == '*')" ( (binary_expression "cVar1 == '*'" identifier == (char_literal "'*'" ' character ')) )) (compound_statement "{\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }" { (labeled_statement "LAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();" statement_identifier : comment comment (expression_statement "uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();" (assignment_expression "uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))()" identifier = (call_expression "(**(code **)(**(int **)(param_1 + 8) + 0x1c))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 0x1c)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 0x1c)" ( (binary_expression "**(int **)(param_1 + 8) + 0x1c" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;)) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar2 = 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 (iVar2 != 0) goto LAB_001e4fdb;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_001e4fdb;" goto 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 ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* __cxxabiv1::__si_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::__si_class_type_info::__do_dyncast\n          (__si_class_type_info *this,int param_1,int param_3,int param_4,int param_5,int param_6,\n          int param_7,int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(this + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_1 < 0) {\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}\n\n" comment comment (function_definition "undefined4 __thiscall\n__cxxabiv1::__si_class_type_info::__do_dyncast\n          (__si_class_type_info *this,int param_1,int param_3,int param_4,int param_5,int param_6,\n          int param_7,int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(this + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_1 < 0) {\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "__cxxabiv1::__si_class_type_info::" identifier : : identifier : :) (function_declarator "__do_dyncast\n          (__si_class_type_info *this,int param_1,int param_3,int param_4,int param_5,int param_6,\n          int param_7,int *param_8)" identifier (parameter_list "(__si_class_type_info *this,int param_1,int param_3,int param_4,int param_5,int param_6,\n          int param_7,int *param_8)" ( (parameter_declaration "__si_class_type_info *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int param_1" primitive_type 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 cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(this + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_1 < 0) {\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier 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 (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_1 < 0) {\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" if (parenthesized_expression "(__s1 == *(char **)(param_4 + 4))" ( (binary_expression "__s1 == *(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) ))))) )) (compound_statement "{\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_1 < 0) {\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }\n  }" { (labeled_statement "LAB_001e5020:\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[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_1 < 0) {\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }" if (parenthesized_expression "(param_1 < 0)" ( (binary_expression "param_1 < 0" identifier < number_literal) )) (compound_statement "{\n      if (param_1 == -2) {\n        param_8[3] = 1;\n      }\n    }" { (if_statement "if (param_1 == -2) {\n        param_8[3] = 1;\n      }" if (parenthesized_expression "(param_1 == -2)" ( (binary_expression "param_1 == -2" identifier == number_literal) )) (compound_statement "{\n        param_8[3] = 1;\n      }" { (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else {\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }" else (compound_statement "{\n      param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;\n    }" { (expression_statement "param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1;" (assignment_expression "param_8[3] = (uint)(param_7 == param_5 + param_1) * 5 + 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = (binary_expression "(uint)(param_7 == param_5 + param_1) * 5 + 1" (binary_expression "(uint)(param_7 == param_5 + param_1) * 5" (call_expression "(uint)(param_7 == param_5 + param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_7 == param_5 + param_1)" ( (binary_expression "param_7 == param_5 + param_1" identifier == (binary_expression "param_5 + param_1" identifier + identifier)) ))) * number_literal) + number_literal)) ;) }))) }) (else_clause "else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" else (compound_statement "{\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" { (expression_statement "cVar1 = *__s1;" (assignment_expression "cVar1 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (if_statement "if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" if (parenthesized_expression "(cVar1 != '*')" ( (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) )) (compound_statement "{\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" { (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_4 + 4));" (assignment_expression "iVar2 = strcmp(__s1,*(char **)(param_4 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(param_4 + 4))" identifier (argument_list "(__s1,*(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 (iVar2 == 0) goto LAB_001e5020;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e5020;" goto statement_identifier ;)) })) (if_statement "if (param_5 != param_7) goto LAB_001e4fdb;" if (parenthesized_expression "(param_5 != param_7)" ( (binary_expression "param_5 != param_7" identifier != identifier) )) (goto_statement "goto LAB_001e4fdb;" goto statement_identifier ;)) (if_statement "if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" if (parenthesized_expression "(__s1 != *(char **)(param_6 + 4))" ( (binary_expression "__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) ))))) )) (compound_statement "{\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" { (if_statement "if (cVar1 == '*') {\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }" if (parenthesized_expression "(cVar1 == '*')" ( (binary_expression "cVar1 == '*'" identifier == (char_literal "'*'" ' character ')) )) (compound_statement "{\nLAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();\n        return uVar3;\n      }" { (labeled_statement "LAB_001e4fdb:\n                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();" statement_identifier : comment comment (expression_statement "uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))();" (assignment_expression "uVar3 = (**(code **)(**(int **)(this + 8) + 0x1c))()" identifier = (call_expression "(**(code **)(**(int **)(this + 8) + 0x1c))()" (parenthesized_expression "(**(code **)(**(int **)(this + 8) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(this + 8) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(this + 8) + 0x1c)" * (cast_expression "(code **)(**(int **)(this + 8) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 8) + 0x1c)" ( (binary_expression "**(int **)(this + 8) + 0x1c" (pointer_expression "**(int **)(this + 8)" * (pointer_expression "*(int **)(this + 8)" * (cast_expression "(int **)(this + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;)) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar2 = 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 (iVar2 != 0) goto LAB_001e4fdb;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_001e4fdb;" goto 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 ;) })))
(translation_unit "undefined4\nFUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type 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 cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier 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 (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" if (parenthesized_expression "(__s1 == *(char **)(param_4 + 4))" ( (binary_expression "__s1 == *(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) ))))) )) (compound_statement "{\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }" { (labeled_statement "LAB_001e5020:\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[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }" { (if_statement "if (param_2 == -2) {\n        param_8[3] = 1;\n      }" if (parenthesized_expression "(param_2 == -2)" ( (binary_expression "param_2 == -2" identifier == number_literal) )) (compound_statement "{\n        param_8[3] = 1;\n      }" { (expression_statement "param_8[3] = 1;" (assignment_expression "param_8[3] = 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" else (compound_statement "{\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" { (expression_statement "param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;" (assignment_expression "param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1" (subscript_expression "param_8[3]" identifier [ number_literal ]) = (binary_expression "(uint)(param_7 == param_5 + param_2) * 5 + 1" (binary_expression "(uint)(param_7 == param_5 + param_2) * 5" (call_expression "(uint)(param_7 == param_5 + param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_7 == param_5 + param_2)" ( (binary_expression "param_7 == param_5 + param_2" identifier == (binary_expression "param_5 + param_2" identifier + identifier)) ))) * number_literal) + number_literal)) ;) }))) }) (else_clause "else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" else (compound_statement "{\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" { (expression_statement "cVar1 = *__s1;" (assignment_expression "cVar1 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (if_statement "if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" if (parenthesized_expression "(cVar1 != '*')" ( (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) )) (compound_statement "{\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" { (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_4 + 4));" (assignment_expression "iVar2 = strcmp(__s1,*(char **)(param_4 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(param_4 + 4))" identifier (argument_list "(__s1,*(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 (iVar2 == 0) goto LAB_001e5020;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e5020;" goto statement_identifier ;)) })) (if_statement "if (param_5 != param_7) goto LAB_001e4fdb;" if (parenthesized_expression "(param_5 != param_7)" ( (binary_expression "param_5 != param_7" identifier != identifier) )) (goto_statement "goto LAB_001e4fdb;" goto statement_identifier ;)) (if_statement "if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" if (parenthesized_expression "(__s1 != *(char **)(param_6 + 4))" ( (binary_expression "__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) ))))) )) (compound_statement "{\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" { (if_statement "if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }" if (parenthesized_expression "(cVar1 == '*')" ( (binary_expression "cVar1 == '*'" identifier == (char_literal "'*'" ' character ')) )) (compound_statement "{\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }" { (labeled_statement "LAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();" statement_identifier : (expression_statement "uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();" (assignment_expression "uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))()" identifier = (call_expression "(**(code **)(**(int **)(param_1 + 8) + 0x1c))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 0x1c)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 0x1c)" ( (binary_expression "**(int **)(param_1 + 8) + 0x1c" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;)) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar2 = 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 (iVar2 != 0) goto LAB_001e4fdb;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_001e4fdb;" goto 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 ;) })))
(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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == (binary_expression IDENT + IDENT)) ))) * LIT) + LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (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 ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( )))) ;)) (return_statement return IDENT ;) })) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)\n\n{\n  char cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_001e4f50(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)" (identifier "FUN_001e4f50") (parameter_list "(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,\n            int *param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (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 cVar1;\n  char *__s1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  __s1 = *(char **)(param_1 + 4);\n  if (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }\n  return 0;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (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 (__s1 == *(char **)(param_4 + 4)) {\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }\n  else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" (if "if") (parenthesized_expression "(__s1 == *(char **)(param_4 + 4))" (( "(") (binary_expression "__s1 == *(char **)(param_4 + 4)" (identifier "__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")) () ")"))))) () ")")) (compound_statement "{\nLAB_001e5020:\n    *param_8 = param_5;\n    param_8[1] = param_3;\n    if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }\n  }" ({ "{") (labeled_statement "LAB_001e5020:\n    *param_8 = param_5;" (statement_identifier "LAB_001e5020") (: ":") (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[1] = param_3;" (assignment_expression "param_8[1] = param_3" (subscript_expression "param_8[1]" (identifier "param_8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_2 < 0) {\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }\n    else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" (if "if") (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_2 == -2) {\n        param_8[3] = 1;\n      }\n    }" ({ "{") (if_statement "if (param_2 == -2) {\n        param_8[3] = 1;\n      }" (if "if") (parenthesized_expression "(param_2 == -2)" (( "(") (binary_expression "param_2 == -2" (identifier "param_2") (== "==") (number_literal "-2")) () ")")) (compound_statement "{\n        param_8[3] = 1;\n      }" ({ "{") (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")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" (else "else") (compound_statement "{\n      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;\n    }" ({ "{") (expression_statement "param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;" (assignment_expression "param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1" (subscript_expression "param_8[3]" (identifier "param_8") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "(uint)(param_7 == param_5 + param_2) * 5 + 1" (binary_expression "(uint)(param_7 == param_5 + param_2) * 5" (call_expression "(uint)(param_7 == param_5 + param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_7 == param_5 + param_2)" (( "(") (binary_expression "param_7 == param_5 + param_2" (identifier "param_7") (== "==") (binary_expression "param_5 + param_2" (identifier "param_5") (+ "+") (identifier "param_2"))) () ")"))) (* "*") (number_literal "5")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" (else "else") (compound_statement "{\n    cVar1 = *__s1;\n    if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }\n    if (param_5 != param_7) goto LAB_001e4fdb;\n    if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }\n    param_8[2] = param_3;\n  }" ({ "{") (expression_statement "cVar1 = *__s1;" (assignment_expression "cVar1 = *__s1" (identifier "cVar1") (= "=") (pointer_expression "*__s1" (* "*") (identifier "__s1"))) (; ";")) (if_statement "if (cVar1 != '*') {\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" (if "if") (parenthesized_expression "(cVar1 != '*')" (( "(") (binary_expression "cVar1 != '*'" (identifier "cVar1") (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\n      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));\n      if (iVar2 == 0) goto LAB_001e5020;\n    }" ({ "{") (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_4 + 4));" (assignment_expression "iVar2 = strcmp(__s1,*(char **)(param_4 + 4))" (identifier "iVar2") (= "=") (call_expression "strcmp(__s1,*(char **)(param_4 + 4))" (identifier "strcmp") (argument_list "(__s1,*(char **)(param_4 + 4))" (( "(") (identifier "__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")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_001e5020;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001e5020;" (goto "goto") (statement_identifier "LAB_001e5020") (; ";"))) (} "}"))) (if_statement "if (param_5 != param_7) goto LAB_001e4fdb;" (if "if") (parenthesized_expression "(param_5 != param_7)" (( "(") (binary_expression "param_5 != param_7" (identifier "param_5") (!= "!=") (identifier "param_7")) () ")")) (goto_statement "goto LAB_001e4fdb;" (goto "goto") (statement_identifier "LAB_001e4fdb") (; ";"))) (if_statement "if (__s1 != *(char **)(param_6 + 4)) {\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" (if "if") (parenthesized_expression "(__s1 != *(char **)(param_6 + 4))" (( "(") (binary_expression "__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")) () ")"))))) () ")")) (compound_statement "{\n      if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }\n      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));\n      if (iVar2 != 0) goto LAB_001e4fdb;\n    }" ({ "{") (if_statement "if (cVar1 == '*') {\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }" (if "if") (parenthesized_expression "(cVar1 == '*')" (( "(") (binary_expression "cVar1 == '*'" (identifier "cVar1") (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\nLAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();\n        return uVar3;\n      }" ({ "{") (labeled_statement "LAB_001e4fdb:\n                    \n                    \n        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();" (statement_identifier "LAB_001e4fdb") (: ":") (expression_statement "uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();" (assignment_expression "uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))()" (identifier "uVar3") (= "=") (call_expression "(**(code **)(**(int **)(param_1 + 8) + 0x1c))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 0x1c))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 0x1c)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 0x1c)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 8) + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 8) + 0x1c)" (( "(") (binary_expression "**(int **)(param_1 + 8) + 0x1c" (pointer_expression "**(int **)(param_1 + 8)" (* "*") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "iVar2 = strcmp(__s1,*(char **)(param_6 + 4));" (assignment_expression "iVar2 = strcmp(__s1,*(char **)(param_6 + 4))" (identifier "iVar2") (= "=") (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 (iVar2 != 0) goto LAB_001e4fdb;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_001e4fdb;" (goto "goto") (statement_identifier "LAB_001e4fdb") (; ";"))) (} "}"))) (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") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* __cxxabiv1::__si_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,int var_4,int param_3,int var_3,int var_6,int var_10,
          int var_5,int *param_8)

{
  char var_7;
  char *var_2;
  int var_9;
  type_1 uVar3;
  
  var_2 = *(char **)(var_1 + 4);
  if (var_2 == *(char **)(var_3 + 4)) {
LAB_001e5020:
    *param_8 = var_6;
    param_8[1] = param_3;
    if (var_4 < 0) {
      if (var_4 == -2) {
        param_8[3] = 1;
      }
    }
    else {
      param_8[3] = (uint)(var_5 == var_6 + var_4) * 5 + 1;
    }
  }
  else {
    var_7 = *var_2;
    if (var_7 != '*') {
      var_9 = var_8(var_2,*(char **)(var_3 + 4));
      if (var_9 == 0) goto LAB_001e5020;
    }
    if (var_6 != var_5) goto LAB_001e4fdb;
    if (var_2 != *(char **)(var_10 + 4)) {
      if (var_7 == '*') {
LAB_001e4fdb:
                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        uVar3 = (**(type_3 **)(**(int **)(var_1 + 8) + 0x1c))();
        return uVar3;
      }
      var_9 = var_8(var_2,*(char **)(var_10 + 4));
      if (var_9 != 0) goto LAB_001e4fdb;
    }
    param_8[2] = 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: (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: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (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))))))) consequence: (compound_statement (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) right: (number_literal)) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (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))))) (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: (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))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (number_literal))))))) arguments: (argument_list))))) (return_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: (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,int param_2,int param_3,int param_4,int param_5,int param_6,int param_7,
            int *param_8)

{
  char cVar1;
  char *__s1;
  int iVar2;
  undefined4 uVar3;
  
  __s1 = *(char **)(param_1 + 4);
  if (__s1 == *(char **)(param_4 + 4)) {
LAB_001e5020:
    *param_8 = param_5;
    param_8[1] = param_3;
    if (param_2 < 0) {
      if (param_2 == -2) {
        param_8[3] = 1;
      }
    }
    else {
      param_8[3] = (uint)(param_7 == param_5 + param_2) * 5 + 1;
    }
  }
  else {
    cVar1 = *__s1;
    if (cVar1 != '*') {
      iVar2 = strcmp(__s1,*(char **)(param_4 + 4));
      if (iVar2 == 0) goto LAB_001e5020;
    }
    if (param_5 != param_7) goto LAB_001e4fdb;
    if (__s1 != *(char **)(param_6 + 4)) {
      if (cVar1 == '*') {
LAB_001e4fdb:
                    /* WARNING: Could not recover jumptable at 0x001e5019. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        uVar3 = (**(code **)(**(int **)(param_1 + 8) + 0x1c))();
        return uVar3;
      }
      iVar2 = strcmp(__s1,*(char **)(param_6 + 4));
      if (iVar2 != 0) goto LAB_001e4fdb;
    }
    param_8[2] = param_3;
  }
  return 0;
}

