
/* std::wstring::_M_disjunct(wchar_t const*) const */

undefined4 __thiscall std::wstring::_M_disjunct(wstring *this,wchar_t *param_1)

{
  wchar_t *pwVar1;
  undefined4 uVar2;
  
  uVar2 = 1;
  if (*(wchar_t **)this <= param_1) {
    pwVar1 = *(wchar_t **)this + *(int *)(this + 4);
    uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);
  }
  return uVar2;
}



undefined4 FUN_001ead00(uint *param_1,uint param_2)

{
  uint uVar1;
  undefined4 uVar2;
  
  uVar2 = 1;
  if (*param_1 <= param_2) {
    uVar1 = *param_1 + param_1[1] * 4;
    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);
  }
  return uVar2;
}


PUSH EBX
MOV EBX,dword ptr [ESP + 0x8]
MOV EAX,0x1
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EBX]
CMP ECX,EDX
JA 0x001ead1f
MOV EAX,dword ptr [EBX + 0x4]
LEA EAX,[ECX + EAX*0x4]
CMP EDX,EAX
SETA AL
POP EBX
RET
(translation_unit "undefined4 FUN_001ead00(uint *param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_001ead00(uint *param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001ead00(uint *param_1,uint param_2)" identifier (parameter_list "(uint *param_1,uint param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }" if (parenthesized_expression "(*param_1 <= param_2)" ( (binary_expression "*param_1 <= param_2" (pointer_expression "*param_1" * identifier) <= identifier) )) (compound_statement "{\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }" { (expression_statement "uVar1 = *param_1 + param_1[1] * 4;" (assignment_expression "uVar1 = *param_1 + param_1[1] * 4" identifier = (binary_expression "*param_1 + param_1[1] * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "param_1[1] * 4" (subscript_expression "param_1[1]" identifier [ number_literal ]) * number_literal))) ;) (expression_statement "uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);" (assignment_expression "uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2)" identifier = (call_expression "CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2)" identifier (argument_list "((int3)(uVar1 >> 8),uVar1 < param_2)" ( (call_expression "(int3)(uVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "(uVar1 >> 8)" ( (binary_expression "uVar1 >> 8" identifier >> number_literal) ))) , (binary_expression "uVar1 < param_2" identifier < identifier) )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* std::wstring::_M_disjunct(wchar_t const*) const */\n\nundefined4 __thiscall std::wstring::_M_disjunct(wstring *this,wchar_t *param_1)\n\n{\n  wchar_t *pwVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*(wchar_t **)this <= param_1) {\n    pwVar1 = *(wchar_t **)this + *(int *)(this + 4);\n    uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 __thiscall std::wstring::_M_disjunct(wstring *this,wchar_t *param_1)\n\n{\n  wchar_t *pwVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*(wchar_t **)this <= param_1) {\n    pwVar1 = *(wchar_t **)this + *(int *)(this + 4);\n    uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);\n  }\n  return uVar2;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "_M_disjunct(wstring *this,wchar_t *param_1)" identifier (parameter_list "(wstring *this,wchar_t *param_1)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  wchar_t *pwVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*(wchar_t **)this <= param_1) {\n    pwVar1 = *(wchar_t **)this + *(int *)(this + 4);\n    uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);\n  }\n  return uVar2;\n}" { (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (*(wchar_t **)this <= param_1) {\n    pwVar1 = *(wchar_t **)this + *(int *)(this + 4);\n    uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);\n  }" if (parenthesized_expression "(*(wchar_t **)this <= param_1)" ( (binary_expression "*(wchar_t **)this <= param_1" (pointer_expression "*(wchar_t **)this" * (cast_expression "(wchar_t **)this" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) <= identifier) )) (compound_statement "{\n    pwVar1 = *(wchar_t **)this + *(int *)(this + 4);\n    uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);\n  }" { (expression_statement "pwVar1 = *(wchar_t **)this + *(int *)(this + 4);" (assignment_expression "pwVar1 = *(wchar_t **)this + *(int *)(this + 4)" identifier = (binary_expression "*(wchar_t **)this + *(int *)(this + 4)" (pointer_expression "*(wchar_t **)this" * (cast_expression "(wchar_t **)this" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) + (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))))) ;) (expression_statement "uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1);" (assignment_expression "uVar2 = CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1)" identifier = (call_expression "CONCAT31((int3)((uint)pwVar1 >> 8),pwVar1 < param_1)" identifier (argument_list "((int3)((uint)pwVar1 >> 8),pwVar1 < param_1)" ( (call_expression "(int3)((uint)pwVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)pwVar1 >> 8)" ( (binary_expression "(uint)pwVar1 >> 8" (cast_expression "(uint)pwVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "pwVar1 < param_1" identifier < identifier) )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_001ead00(uint *param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_001ead00(uint *param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001ead00(uint *param_1,uint param_2)" identifier (parameter_list "(uint *param_1,uint param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }" if (parenthesized_expression "(*param_1 <= param_2)" ( (binary_expression "*param_1 <= param_2" (pointer_expression "*param_1" * identifier) <= identifier) )) (compound_statement "{\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }" { (expression_statement "uVar1 = *param_1 + param_1[1] * 4;" (assignment_expression "uVar1 = *param_1 + param_1[1] * 4" identifier = (binary_expression "*param_1 + param_1[1] * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "param_1[1] * 4" (subscript_expression "param_1[1]" identifier [ number_literal ]) * number_literal))) ;) (expression_statement "uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);" (assignment_expression "uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2)" identifier = (call_expression "CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2)" identifier (argument_list "((int3)(uVar1 >> 8),uVar1 < param_2)" ( (call_expression "(int3)(uVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "(uVar1 >> 8)" ( (binary_expression "uVar1 >> 8" identifier >> number_literal) ))) , (binary_expression "uVar1 < param_2" identifier < identifier) )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) ))) , (binary_expression IDENT < IDENT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_001ead00(uint *param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_001ead00(uint *param_1,uint param_2)" (identifier "FUN_001ead00") (parameter_list "(uint *param_1,uint param_2)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 1;\n  if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }\n  return uVar2;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*param_1 <= param_2) {\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }" (if "if") (parenthesized_expression "(*param_1 <= param_2)" (( "(") (binary_expression "*param_1 <= param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar1 = *param_1 + param_1[1] * 4;\n    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);\n  }" ({ "{") (expression_statement "uVar1 = *param_1 + param_1[1] * 4;" (assignment_expression "uVar1 = *param_1 + param_1[1] * 4" (identifier "uVar1") (= "=") (binary_expression "*param_1 + param_1[1] * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "param_1[1] * 4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (* "*") (number_literal "4")))) (; ";")) (expression_statement "uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);" (assignment_expression "uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2)" (identifier "uVar2") (= "=") (call_expression "CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2)" (identifier "CONCAT31") (argument_list "((int3)(uVar1 >> 8),uVar1 < param_2)" (( "(") (call_expression "(int3)(uVar1 >> 8)" (parenthesized_expression "(int3)" (( "(") (identifier "int3") () ")")) (argument_list "(uVar1 >> 8)" (( "(") (binary_expression "uVar1 >> 8" (identifier "uVar1") (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "uVar1 < param_2" (identifier "uVar1") (< "<") (identifier "param_2")) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* std::wstring::_M_disjunct(wchar_t const*) const */

type_1 __thiscall std::type_2::function_1(type_2 *var_2,type_3 *var_1)

{
  type_3 *var_4;
  type_1 uVar2;
  
  uVar2 = 1;
  if (*(type_3 **)var_2 <= var_1) {
    var_4 = *(type_3 **)var_2 + *(int *)(var_2 + 4);
    uVar2 = var_3((int3)((type_4)var_4 >> 8),var_4 < var_1);
  }
  return uVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) (binary_expression left: (identifier) right: (identifier)))))))) (return_statement (identifier)))))

undefined4 MASKED(uint *param_1,uint param_2)

{
  uint uVar1;
  undefined4 uVar2;
  
  uVar2 = 1;
  if (*param_1 <= param_2) {
    uVar1 = *param_1 + param_1[1] * 4;
    uVar2 = CONCAT31((int3)(uVar1 >> 8),uVar1 < param_2);
  }
  return uVar2;
}

