
/* __cxxabiv1::__class_type_info::__do_catch(std::type_info const*, void**, unsigned int) const */

undefined4 __thiscall
__cxxabiv1::__class_type_info::__do_catch
          (__class_type_info *this,type_info *param_1,void **param_2,uint param_3)

{
  char *pcVar1;
  int iVar2;
  undefined4 uVar3;
  
  pcVar1 = *(char **)(this + 4);
  if (pcVar1 == *(char **)(param_1 + 4)) {
    return 1;
  }
  if ((*pcVar1 != '*') &&
     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)) {
    return 1;
  }
  if (param_3 < 4) {
                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);
    return uVar3;
  }
  return 0;
}



undefined4 FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)

{
  char *pcVar1;
  int iVar2;
  undefined4 uVar3;
  
  pcVar1 = *(char **)(param_1 + 4);
  if (pcVar1 == (char *)param_2[1]) {
    return 1;
  }
  if ((*pcVar1 != '*') &&
     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {
    return 1;
  }
  if (param_4 < 4) {
                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);
    return uVar3;
  }
  return 0;
}


lui gp,0x1a
addiu gp,gp,-0x7f70
addu gp,gp,t9
lw v0,0x4(a0)
lw v1,0x4(a1)
beq v0,v1,0x00331274
_nop
addiu sp,sp,-0x30
sw s3,0x28(sp)
or s3,a2,zero
sw s2,0x24(sp)
or s2,a0,zero
sw s1,0x20(sp)
li a0,0x2a
sw s0,0x1c(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
lb a1,0x0(v0)
beq a1,a0,0x0033123c
_or s1,a3,zero
lw t9,-0x37d8(gp)
or a1,v1,zero
jalr t9
_or a0,v0,zero
bne v0,zero,0x0033123c
_lw gp,0x10(sp)
lw ra,0x2c(sp)
li v0,0x1
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
sltiu a3,s1,0x4
beq a3,zero,0x0033127c
_or a2,s3,zero
lw v0,0x0(s0)
lw ra,0x2c(sp)
or a1,s2,zero
lw s3,0x28(sp)
or a0,s0,zero
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,0x14(v0)
jr t9
_addiu sp,sp,0x30
jr ra
_li v0,0x1
lw ra,0x2c(sp)
or v0,zero,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "undefined4 FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)" identifier (parameter_list "(int param_1,int *param_2,undefined4 param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 4);" (assignment_expression "pcVar1 = *(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 (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }" if (parenthesized_expression "(pcVar1 == (char *)param_2[1])" ( (binary_expression "pcVar1 == (char *)param_2[1]" identifier == (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }" if (parenthesized_expression "((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0))" ( (binary_expression "(*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)" (parenthesized_expression "(*pcVar1 != '*')" ( (binary_expression "*pcVar1 != '*'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'*'" ' character ')) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1])" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1])" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,(char *)param_2[1])" ( identifier , (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_4 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }" if (parenthesized_expression "(param_4 < 4)" ( (binary_expression "param_4 < 4" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }" { comment comment (expression_statement "uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);" (assignment_expression "uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3)" identifier = (call_expression "(**(code **)(*param_2 + 0x14))(param_2,param_1,param_3)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_1,param_3)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* __cxxabiv1::__class_type_info::__do_catch(std::type_info const*, void**, unsigned int) const */\n\nundefined4 __thiscall\n__cxxabiv1::__class_type_info::__do_catch\n          (__class_type_info *this,type_info *param_1,void **param_2,uint param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(this + 4);\n  if (pcVar1 == *(char **)(param_1 + 4)) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_3 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);\n    return uVar3;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __thiscall\n__cxxabiv1::__class_type_info::__do_catch\n          (__class_type_info *this,type_info *param_1,void **param_2,uint param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(this + 4);\n  if (pcVar1 == *(char **)(param_1 + 4)) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_3 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "__cxxabiv1::__class_type_info::" identifier : : identifier : :) (function_declarator "__do_catch\n          (__class_type_info *this,type_info *param_1,void **param_2,uint param_3)" identifier (parameter_list "(__class_type_info *this,type_info *param_1,void **param_2,uint param_3)" ( (parameter_declaration "__class_type_info *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "type_info *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void **param_2" primitive_type (pointer_declarator "**param_2" * (pointer_declarator "*param_2" * identifier))) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(this + 4);\n  if (pcVar1 == *(char **)(param_1 + 4)) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_3 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "pcVar1 = *(char **)(this + 4);" (assignment_expression "pcVar1 = *(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 (pcVar1 == *(char **)(param_1 + 4)) {\n    return 1;\n  }" if (parenthesized_expression "(pcVar1 == *(char **)(param_1 + 4))" ( (binary_expression "pcVar1 == *(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) ))))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)) {\n    return 1;\n  }" if (parenthesized_expression "((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0))" ( (binary_expression "(*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)" (parenthesized_expression "(*pcVar1 != '*')" ( (binary_expression "*pcVar1 != '*'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'*'" ' character ')) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4)), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4))" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar1,*(char **)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,*(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) )))) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_3 < 4) {\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);\n    return uVar3;\n  }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);\n    return uVar3;\n  }" { comment comment (expression_statement "uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2);" (assignment_expression "uVar3 = (**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2)" identifier = (call_expression "(**(code **)(*(int *)param_1 + 0x14))(param_1,this,param_2)" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0x14))" ( (pointer_expression "**(code **)(*(int *)param_1 + 0x14)" * (pointer_expression "*(code **)(*(int *)param_1 + 0x14)" * (cast_expression "(code **)(*(int *)param_1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1 + 0x14)" ( (binary_expression "*(int *)param_1 + 0x14" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(param_1,this,param_2)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)" identifier (parameter_list "(int param_1,int *param_2,undefined4 param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 4);" (assignment_expression "pcVar1 = *(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 (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }" if (parenthesized_expression "(pcVar1 == (char *)param_2[1])" ( (binary_expression "pcVar1 == (char *)param_2[1]" identifier == (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }" if (parenthesized_expression "((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0))" ( (binary_expression "(*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)" (parenthesized_expression "(*pcVar1 != '*')" ( (binary_expression "*pcVar1 != '*'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'*'" ' character ')) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1])" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1])" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,(char *)param_2[1])" ( identifier , (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }" if (parenthesized_expression "(param_4 < 4)" ( (binary_expression "param_4 < 4" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }" { (expression_statement "uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);" (assignment_expression "uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3)" identifier = (call_expression "(**(code **)(*param_2 + 0x14))(param_2,param_1,param_3)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_1,param_3)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar3;" return 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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (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 * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_003311b0(int param_1,int *param_2,undefined4 param_3,uint param_4)" (identifier "FUN_003311b0") (parameter_list "(int param_1,int *param_2,undefined4 param_3,uint param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  pcVar1 = *(char **)(param_1 + 4);\n  if (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }\n  if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }\n  if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }\n  return 0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "pcVar1 = *(char **)(param_1 + 4);" (assignment_expression "pcVar1 = *(char **)(param_1 + 4)" (identifier "pcVar1") (= "=") (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 (pcVar1 == (char *)param_2[1]) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(pcVar1 == (char *)param_2[1])" (( "(") (binary_expression "pcVar1 == (char *)param_2[1]" (identifier "pcVar1") (== "==") (cast_expression "(char *)param_2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if ((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0))" (( "(") (binary_expression "(*pcVar1 != '*') &&\n     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)" (parenthesized_expression "(*pcVar1 != '*')" (( "(") (binary_expression "*pcVar1 != '*'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1])" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1])" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" (( "(") (pointer_expression "*(code *)PTR_strcmp_004c5a68" (* "*") (cast_expression "(code *)PTR_strcmp_004c5a68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_004c5a68"))) () ")")) (argument_list "(pcVar1,(char *)param_2[1])" (( "(") (identifier "pcVar1") (, ",") (cast_expression "(char *)param_2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (param_4 < 4) {\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(param_4 < 4)" (( "(") (binary_expression "param_4 < 4" (identifier "param_4") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n                    \n                    \n    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);\n    return uVar3;\n  }" ({ "{") (expression_statement "uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);" (assignment_expression "uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*param_2 + 0x14))(param_2,param_1,param_3)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x14)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x14)" (* "*") (cast_expression "(code **)(*param_2 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x14)" (( "(") (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(param_2,param_1,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier))))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int *param_2,undefined4 param_3,uint param_4)

{
  char *pcVar1;
  int iVar2;
  undefined4 uVar3;
  
  pcVar1 = *(char **)(param_1 + 4);
  if (pcVar1 == (char *)param_2[1]) {
    return 1;
  }
  if ((*pcVar1 != '*') &&
     (iVar2 = (*(code *)PTR_strcmp_004c5a68)(pcVar1,(char *)param_2[1]), iVar2 == 0)) {
    return 1;
  }
  if (param_4 < 4) {
                    /* WARNING: Could not recover jumptable at 0x0033126c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (**(code **)(*param_2 + 0x14))(param_2,param_1,param_3);
    return uVar3;
  }
  return 0;
}

