
/* std::_V2::error_category::equivalent(int, std::error_condition const&) const */

bool __thiscall
std::_V2::error_category::equivalent(error_category *this,int param_1,error_condition *param_2)

{
  int local_18;
  int local_14 [4];
  
  (**(code **)(*(int *)this + 0x14))(local_14,this,param_1);
  if (*(int *)(param_2 + 4) != local_14[0]) {
    return false;
  }
  return *(int *)param_2 == local_18;
}



bool FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)

{
  int local_18;
  int local_14 [4];
  
  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);
  if (param_3[1] != local_14[0]) {
    return false;
  }
  return *param_3 == local_18;
}


PUSH EBX
SUB ESP,0x18
MOV EAX,dword ptr [ESP + 0x20]
MOV EBX,dword ptr [ESP + 0x28]
LEA ECX,[ESP + 0x8]
SUB ESP,0x4
MOV EDX,dword ptr [EAX]
PUSH dword ptr [ESP + 0x28]
PUSH EAX
PUSH ECX
CALL dword ptr [EDX + 0x14]
XOR EAX,EAX
MOV EDX,dword ptr [ESP + 0x14]
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0xc]
CMP dword ptr [EBX + 0x4],ECX
JZ 0x003f2bb8
ADD ESP,0x18
POP EBX
RET
CMP dword ptr [EBX],EDX
SETZ AL
ADD ESP,0x18
POP EBX
RET
(translation_unit "bool FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}\n\n" (function_definition "bool FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}" primitive_type (function_declarator "FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}" { (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14 [4];" primitive_type (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (expression_statement "(**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);" (call_expression "(**(code **)(*param_1 + 0x14))(local_14,param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x14))" ( (pointer_expression "**(code **)(*param_1 + 0x14)" * (pointer_expression "*(code **)(*param_1 + 0x14)" * (cast_expression "(code **)(*param_1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(local_14,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_3[1] != local_14[0]) {\n    return false;\n  }" if (parenthesized_expression "(param_3[1] != local_14[0])" ( (binary_expression "param_3[1] != local_14[0]" (subscript_expression "param_3[1]" identifier [ number_literal ]) != (subscript_expression "local_14[0]" identifier [ number_literal ])) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *param_3 == local_18;" return (binary_expression "*param_3 == local_18" (pointer_expression "*param_3" * identifier) == identifier) ;) })))
(translation_unit "/* std::_V2::error_category::equivalent(int, std::error_condition const&) const */\n\nbool __thiscall\nstd::_V2::error_category::equivalent(error_category *this,int param_1,error_condition *param_2)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*(int *)this + 0x14))(local_14,this,param_1);\n  if (*(int *)(param_2 + 4) != local_14[0]) {\n    return false;\n  }\n  return *(int *)param_2 == local_18;\n}\n\n" comment (function_definition "bool __thiscall\nstd::_V2::error_category::equivalent(error_category *this,int param_1,error_condition *param_2)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*(int *)this + 0x14))(local_14,this,param_1);\n  if (*(int *)(param_2 + 4) != local_14[0]) {\n    return false;\n  }\n  return *(int *)param_2 == local_18;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::_V2::error_category::" identifier : : identifier : : identifier : :) (function_declarator "equivalent(error_category *this,int param_1,error_condition *param_2)" identifier (parameter_list "(error_category *this,int param_1,error_condition *param_2)" ( (parameter_declaration "error_category *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "error_condition *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*(int *)this + 0x14))(local_14,this,param_1);\n  if (*(int *)(param_2 + 4) != local_14[0]) {\n    return false;\n  }\n  return *(int *)param_2 == local_18;\n}" { (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14 [4];" primitive_type (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (expression_statement "(**(code **)(*(int *)this + 0x14))(local_14,this,param_1);" (call_expression "(**(code **)(*(int *)this + 0x14))(local_14,this,param_1)" (parenthesized_expression "(**(code **)(*(int *)this + 0x14))" ( (pointer_expression "**(code **)(*(int *)this + 0x14)" * (pointer_expression "*(code **)(*(int *)this + 0x14)" * (cast_expression "(code **)(*(int *)this + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x14)" ( (binary_expression "*(int *)this + 0x14" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(local_14,this,param_1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(int *)(param_2 + 4) != local_14[0]) {\n    return false;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4) != local_14[0])" ( (binary_expression "*(int *)(param_2 + 4) != local_14[0]" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != (subscript_expression "local_14[0]" identifier [ number_literal ])) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *(int *)param_2 == local_18;" return (binary_expression "*(int *)param_2 == local_18" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == identifier) ;) })))
(translation_unit "bool FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}\n\n" (function_definition "bool FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}" primitive_type (function_declarator "FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}" { (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14 [4];" primitive_type (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (expression_statement "(**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);" (call_expression "(**(code **)(*param_1 + 0x14))(local_14,param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x14))" ( (pointer_expression "**(code **)(*param_1 + 0x14)" * (pointer_expression "*(code **)(*param_1 + 0x14)" * (cast_expression "(code **)(*param_1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(local_14,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_3[1] != local_14[0]) {\n    return false;\n  }" if (parenthesized_expression "(param_3[1] != local_14[0])" ( (binary_expression "param_3[1] != local_14[0]" (subscript_expression "param_3[1]" identifier [ number_literal ]) != (subscript_expression "local_14[0]" identifier [ number_literal ])) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *param_3 == local_18;" return (binary_expression "*param_3 == local_18" (pointer_expression "*param_3" * identifier) == identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (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 ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (subscript_expression IDENT [ LIT ])) )) (compound_statement { (return_statement return BOOL ;) })) (return_statement return (binary_expression (pointer_expression * IDENT) == IDENT) ;) })))
(function_definition "bool FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)\n\n{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}" (primitive_type "bool") (function_declarator "FUN_003f2b80(int *param_1,undefined4 param_2,int *param_3)" (identifier "FUN_003f2b80") (parameter_list "(int *param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int local_18;\n  int local_14 [4];\n  \n  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);\n  if (param_3[1] != local_14[0]) {\n    return false;\n  }\n  return *param_3 == local_18;\n}" ({ "{") (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14 [4];" (primitive_type "int") (array_declarator "local_14 [4]" (identifier "local_14") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "(**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);" (call_expression "(**(code **)(*param_1 + 0x14))(local_14,param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x14))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x14)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x14)" (* "*") (cast_expression "(code **)(*param_1 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x14)" (( "(") (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(local_14,param_1,param_2)" (( "(") (identifier "local_14") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (param_3[1] != local_14[0]) {\n    return false;\n  }" (if "if") (parenthesized_expression "(param_3[1] != local_14[0])" (( "(") (binary_expression "param_3[1] != local_14[0]" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (subscript_expression "local_14[0]" (identifier "local_14") ([ "[") (number_literal "0") (] "]"))) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (return_statement "return *param_3 == local_18;" (return "return") (binary_expression "*param_3 == local_18" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (identifier "local_18")) (; ";")) (} "}")))

/* std::_V2::error_category::equivalent(int, std::error_condition const&) const */

bool __thiscall
std::_V2::type_1::function_1(type_1 *this,int param_1,type_2 *var_1)

{
  int var_2;
  int local_14 [4];
  
  (**(type_3 **)(*(int *)this + 0x14))(local_14,this,param_1);
  if (*(int *)(var_1 + 4) != local_14[0]) {
    return false;
  }
  return *(int *)var_1 == var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) 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: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (return_statement (false)))) (return_statement (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))

bool MASKED(int *param_1,undefined4 param_2,int *param_3)

{
  int local_18;
  int local_14 [4];
  
  (**(code **)(*param_1 + 0x14))(local_14,param_1,param_2);
  if (param_3[1] != local_14[0]) {
    return false;
  }
  return *param_3 == local_18;
}

