
/* std::collate<wchar_t>::_M_compare(wchar_t const*, wchar_t const*) const */

uint __thiscall
std::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));
  return iVar1 >> 0x1e | (uint)(iVar1 != 0);
}



/* std::collate<wchar_t>::_M_compare(wchar_t const*, wchar_t const*) const */

uint __thiscall
std::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));
  return iVar1 >> 0x1e | (uint)(iVar1 != 0);
}


lui gp,0xd
addiu gp,gp,-0x1e70
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x3928(gp)
or v0,a2,zero
lw a2,0x8(a0)
or a0,a1,zero
sw ra,0x1c(sp)
sw gp,0x10(sp)
jalr t9
_or a1,v0,zero
lw ra,0x1c(sp)
sra v1,v0,0x1e
sltu v0,zero,v0
or v0,v1,v0
jr ra
_addiu sp,sp,0x20
(translation_unit "/* std::collate<wchar_t>::_M_compare(wchar_t const*, wchar_t const*) const */\n\nuint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}\n\n" comment (function_definition "uint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" identifier (parameter_list "(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" ( (parameter_declaration "collate<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));" (assignment_expression "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" identifier = (call_expression "(*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" (parenthesized_expression "(*(code *)PTR___wcscoll_l_004368a8)" ( (pointer_expression "*(code *)PTR___wcscoll_l_004368a8" * (cast_expression "(code *)PTR___wcscoll_l_004368a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,*(undefined4 *)(this + 8))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1 >> 0x1e | (uint)(iVar1 != 0);" return (binary_expression "iVar1 >> 0x1e | (uint)(iVar1 != 0)" (binary_expression "iVar1 >> 0x1e" identifier >> number_literal) | (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )))) ;) })))
(translation_unit "/* std::collate<wchar_t>::_M_compare(wchar_t const*, wchar_t const*) const */\n\nuint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}\n\n" comment (function_definition "uint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" identifier (parameter_list "(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" ( (parameter_declaration "collate<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));" (assignment_expression "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" identifier = (call_expression "(*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" (parenthesized_expression "(*(code *)PTR___wcscoll_l_004368a8)" ( (pointer_expression "*(code *)PTR___wcscoll_l_004368a8" * (cast_expression "(code *)PTR___wcscoll_l_004368a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,*(undefined4 *)(this + 8))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1 >> 0x1e | (uint)(iVar1 != 0);" return (binary_expression "iVar1 >> 0x1e | (uint)(iVar1 != 0)" (binary_expression "iVar1 >> 0x1e" identifier >> number_literal) | (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )))) ;) })))
(translation_unit "uint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}\n\n" (function_definition "uint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" identifier (parameter_list "(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" ( (parameter_declaration "collate<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));" (assignment_expression "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" identifier = (call_expression "(*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" (parenthesized_expression "(*(code *)PTR___wcscoll_l_004368a8)" ( (pointer_expression "*(code *)PTR___wcscoll_l_004368a8" * (cast_expression "(code *)PTR___wcscoll_l_004368a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,*(undefined4 *)(this + 8))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1 >> 0x1e | (uint)(iVar1 != 0);" return (binary_expression "iVar1 >> 0x1e | (uint)(iVar1 != 0)" (binary_expression "iVar1 >> 0x1e" identifier >> number_literal) | (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT < IDENT > : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (ERROR < IDENT >) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return (binary_expression (binary_expression IDENT >> LIT) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) })))
(function_definition "uint __thiscall\nstd::collate<wchar_t>::_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" (type_identifier "uint") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::collate<wchar_t>::" (identifier "std") (: ":") (: ":") (identifier "collate") (< "<") (identifier "wchar_t") (> ">") (: ":") (: ":")) (function_declarator "_M_compare(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" (identifier "_M_compare") (parameter_list "(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)" (( "(") (parameter_declaration "collate<wchar_t> *this" (type_identifier "collate") (ERROR "<wchar_t>" (< "<") (identifier "wchar_t") (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "wchar_t *param_1" (type_identifier "wchar_t") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "wchar_t *param_2" (type_identifier "wchar_t") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));\n  return iVar1 >> 0x1e | (uint)(iVar1 != 0);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));" (assignment_expression "iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8))" (parenthesized_expression "(*(code *)PTR___wcscoll_l_004368a8)" (( "(") (pointer_expression "*(code *)PTR___wcscoll_l_004368a8" (* "*") (cast_expression "(code *)PTR___wcscoll_l_004368a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___wcscoll_l_004368a8"))) () ")")) (argument_list "(param_1,param_2,*(undefined4 *)(this + 8))" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(this + 8)" (* "*") (cast_expression "(undefined4 *)(this + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (return_statement "return iVar1 >> 0x1e | (uint)(iVar1 != 0);" (return "return") (binary_expression "iVar1 >> 0x1e | (uint)(iVar1 != 0)" (binary_expression "iVar1 >> 0x1e" (identifier "iVar1") (>> ">>") (number_literal "0x1e")) (| "|") (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) (ms_call_modifier) (ERROR (identifier) (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (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) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))))

/* std::collate<wchar_t>::MASKED(wchar_t const*, wchar_t const*) const */

uint __thiscall
std::collate<wchar_t>::MASKED(collate<wchar_t> *this,wchar_t *param_1,wchar_t *param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR___wcscoll_l_004368a8)(param_1,param_2,*(undefined4 *)(this + 8));
  return iVar1 >> 0x1e | (uint)(iVar1 != 0);
}

