
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::locale::TEMPNAMEPLACEHOLDERVALUE(std::locale const&) const */

bool __thiscall std::locale::operator==(locale *this,locale *param_1)

{
  undefined4 *puVar1;
  char *__s1;
  undefined4 *puVar2;
  char *__s2;
  int iVar3;
  bool bVar4;
  undefined1 *local_4c;
  size_t local_48;
  undefined1 local_44 [16];
  undefined1 *local_34;
  size_t local_30;
  undefined1 local_2c [28];
  
  if (*(int *)this == *(int *)param_1) {
    return true;
  }
  puVar1 = *(undefined4 **)(*(int *)this + 0x10);
  __s1 = (char *)*puVar1;
  if (__s1 != (char *)0x0) {
    puVar2 = *(undefined4 **)(*(int *)param_1 + 0x10);
    __s2 = (char *)*puVar2;
    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {
      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {
        return true;
      }
                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */
      name_abi_cxx11_();
                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */
      name_abi_cxx11_();
      bVar4 = false;
      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {
        iVar3 = memcmp(local_4c,local_34,local_48);
        bVar4 = iVar3 == 0;
      }
      if (local_4c != local_44) {
        operator_delete(local_4c);
      }
      if (local_34 == local_2c) {
        return bVar4;
      }
      operator_delete(local_34);
      return bVar4;
    }
  }
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

bool FUN_00201380(int *param_1,int *param_2)

{
  undefined4 *puVar1;
  char *__s1;
  undefined4 *puVar2;
  char *__s2;
  int iVar3;
  bool bVar4;
  undefined1 *local_4c;
  size_t local_48;
  undefined1 local_44 [16];
  undefined1 *local_34;
  size_t local_30;
  undefined1 local_2c [28];
  
  if (*param_1 == *param_2) {
    return true;
  }
  puVar1 = *(undefined4 **)(*param_1 + 0x10);
  __s1 = (char *)*puVar1;
  if (__s1 != (char *)0x0) {
    puVar2 = *(undefined4 **)(*param_2 + 0x10);
    __s2 = (char *)*puVar2;
    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {
      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {
        return true;
      }
                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */
      FUN_00201010(&local_34,param_2);
                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */
      FUN_00201010(&local_4c,param_1);
      bVar4 = false;
      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {
        iVar3 = memcmp(local_4c,local_34,local_48);
        bVar4 = iVar3 == 0;
      }
      if (local_4c != local_44) {
        FUN_001ff030(local_4c);
      }
      if (local_34 == local_2c) {
        return bVar4;
      }
      FUN_001ff030(local_34);
      return bVar4;
    }
  }
  return false;
}


CALL 0x000644ba
ADD ECX,0x1adc7b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV EAX,dword ptr [EBP + 0x8]
MOV ESI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x4c],ECX
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [ESI]
CMP EAX,EDX
JZ 0x00201473
MOV EDI,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00201458
MOV ESI,dword ptr [EDX + 0x10]
MOV EBX,dword ptr [ESI]
TEST EBX,EBX
JZ 0x00201458
SUB ESP,0x8
PUSH EBX
MOV EBX,ECX
PUSH EAX
CALL 0x0002ab10
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00201458
MOV ECX,dword ptr [EDI + 0x4]
TEST ECX,ECX
JZ 0x00201468
SUB ESP,0x8
LEA EAX,[EBP + -0x30]
PUSH dword ptr [EBP + 0xc]
MOV EDI,dword ptr [EBP + -0x4c]
PUSH EAX
MOV EBX,EDI
CALL 0x00201010
POP EAX
LEA EAX,[EBP + -0x48]
PUSH dword ptr [EBP + 0x8]
PUSH EAX
CALL 0x00201010
ADD ESP,0xc
MOV EDX,dword ptr [EBP + -0x44]
MOV ESI,dword ptr [EBP + -0x48]
XOR EAX,EAX
CMP EDX,dword ptr [EBP + -0x2c]
JZ 0x00201480
LEA EDX,[EBP + -0x40]
CMP ESI,EDX
JZ 0x00201433
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x4c]
MOV byte ptr [EBP + -0x4d],AL
PUSH ESI
CALL 0x001ff030
MOVZX EAX,byte ptr [EBP + -0x4d]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x30]
LEA ECX,[EBP + -0x28]
CMP EDX,ECX
JZ 0x0020145a
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x4c]
MOV byte ptr [EBP + -0x4d],AL
PUSH EDX
CALL 0x001ff030
ADD ESP,0x10
MOVZX EAX,byte ptr [EBP + -0x4d]
JMP 0x0020145a
XOR EAX,EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JNZ 0x002013e5
LEA ESP,[EBP + -0xc]
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x1
TEST EDX,EDX
JZ 0x00201416
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x4c]
PUSH EDX
PUSH dword ptr [EBP + -0x30]
PUSH ESI
CALL 0x0002a140
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
JMP 0x00201416
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nbool FUN_00201380(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}\n\n" comment (function_definition "bool FUN_00201380(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_00201380(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined1 *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "undefined1 local_44 [16];" type_identifier (array_declarator "local_44 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (if_statement "if (*param_1 == *param_2) {\n    return true;\n  }" if (parenthesized_expression "(*param_1 == *param_2)" ( (binary_expression "*param_1 == *param_2" (pointer_expression "*param_1" * identifier) == (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "puVar1 = *(undefined4 **)(*param_1 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + 0x10)" * (cast_expression "(undefined4 **)(*param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "__s1 = (char *)*puVar1;" (assignment_expression "__s1 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }" { (expression_statement "puVar2 = *(undefined4 **)(*param_2 + 0x10);" (assignment_expression "puVar2 = *(undefined4 **)(*param_2 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" * (cast_expression "(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "__s2 = (char *)*puVar2;" (assignment_expression "__s2 = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (if_statement "if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }" if (parenthesized_expression "((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0))" ( (binary_expression "(__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)" (parenthesized_expression "(__s2 != (char *)0x0)" ( (binary_expression "__s2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = strcmp(__s1,__s2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(__s1,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      FUN_00201010(&local_34,param_2);\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }" { (if_statement "if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }" if (parenthesized_expression "((puVar1[1] == 0) && (puVar2[1] == 0))" ( (binary_expression "(puVar1[1] == 0) && (puVar2[1] == 0)" (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(puVar2[1] == 0)" ( (binary_expression "puVar2[1] == 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) comment (expression_statement "FUN_00201010(&local_34,param_2);" (call_expression "FUN_00201010(&local_34,param_2)" identifier (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) comment (expression_statement "FUN_00201010(&local_4c,param_1);" (call_expression "FUN_00201010(&local_4c,param_1)" identifier (argument_list "(&local_4c,param_1)" ( (pointer_expression "&local_4c" & identifier) , identifier ))) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (if_statement "if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" if (parenthesized_expression "((local_48 == local_30) && (bVar4 = true, local_48 != 0))" ( (binary_expression "(local_48 == local_30) && (bVar4 = true, local_48 != 0)" (parenthesized_expression "(local_48 == local_30)" ( (binary_expression "local_48 == local_30" identifier == identifier) )) && (parenthesized_expression "(bVar4 = true, local_48 != 0)" ( (comma_expression "bVar4 = true, local_48 != 0" (assignment_expression "bVar4 = true" identifier = true) , (binary_expression "local_48 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" { (expression_statement "iVar3 = memcmp(local_4c,local_34,local_48);" (assignment_expression "iVar3 = memcmp(local_4c,local_34,local_48)" identifier = (call_expression "memcmp(local_4c,local_34,local_48)" identifier (argument_list "(local_4c,local_34,local_48)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;) })) (if_statement "if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }" if (parenthesized_expression "(local_4c != local_44)" ( (binary_expression "local_4c != local_44" identifier != identifier) )) (compound_statement "{\n        FUN_001ff030(local_4c);\n      }" { (expression_statement "FUN_001ff030(local_4c);" (call_expression "FUN_001ff030(local_4c)" identifier (argument_list "(local_4c)" ( identifier ))) ;) })) (if_statement "if (local_34 == local_2c) {\n        return bVar4;\n      }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n        return bVar4;\n      }" { (return_statement "return bVar4;" return identifier ;) })) (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (return_statement "return bVar4;" return identifier ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* std::locale::TEMPNAMEPLACEHOLDERVALUE(std::locale const&) const */\n\nbool __thiscall std::locale::operator==(locale *this,locale *param_1)\n\n{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*(int *)this == *(int *)param_1) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*(int *)this + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*(int *)param_1 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      name_abi_cxx11_();\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      name_abi_cxx11_();\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        operator_delete(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      operator_delete(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}\n\n" comment comment (declaration "bool __thiscall std::locale::operator==(locale *this,locale *param_1)\n\n{\n  undefined4 *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::locale::operator==(locale" identifier : : identifier : : identifier == ( identifier) (pointer_declarator "*this" * identifier) , (ERROR "locale *param_1)\n\n{\n  undefined4" identifier (pointer_declarator "*param_1" * identifier) ) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined1 *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "undefined1 local_44 [16];" type_identifier (array_declarator "local_44 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (if_statement "if (*(int *)this == *(int *)param_1) {\n    return true;\n  }" if (parenthesized_expression "(*(int *)this == *(int *)param_1)" ( (binary_expression "*(int *)this == *(int *)param_1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "puVar1 = *(undefined4 **)(*(int *)this + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)this + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*(int *)this + 0x10)" * (cast_expression "(undefined4 **)(*(int *)this + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x10)" ( (binary_expression "*(int *)this + 0x10" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "__s1 = (char *)*puVar1;" (assignment_expression "__s1 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*(int *)param_1 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      name_abi_cxx11_();\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      name_abi_cxx11_();\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        operator_delete(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      operator_delete(local_34);\n      return bVar4;\n    }\n  }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(*(int *)param_1 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      name_abi_cxx11_();\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      name_abi_cxx11_();\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        operator_delete(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      operator_delete(local_34);\n      return bVar4;\n    }\n  }" { (expression_statement "puVar2 = *(undefined4 **)(*(int *)param_1 + 0x10);" (assignment_expression "puVar2 = *(undefined4 **)(*(int *)param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*(int *)param_1 + 0x10)" * (cast_expression "(undefined4 **)(*(int *)param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1 + 0x10)" ( (binary_expression "*(int *)param_1 + 0x10" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "__s2 = (char *)*puVar2;" (assignment_expression "__s2 = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (if_statement "if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      name_abi_cxx11_();\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      name_abi_cxx11_();\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        operator_delete(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      operator_delete(local_34);\n      return bVar4;\n    }" if (parenthesized_expression "((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0))" ( (binary_expression "(__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)" (parenthesized_expression "(__s2 != (char *)0x0)" ( (binary_expression "__s2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = strcmp(__s1,__s2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(__s1,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */\n      name_abi_cxx11_();\n                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */\n      name_abi_cxx11_();\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        operator_delete(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      operator_delete(local_34);\n      return bVar4;\n    }" { (if_statement "if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }" if (parenthesized_expression "((puVar1[1] == 0) && (puVar2[1] == 0))" ( (binary_expression "(puVar1[1] == 0) && (puVar2[1] == 0)" (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(puVar2[1] == 0)" ( (binary_expression "puVar2[1] == 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) comment (expression_statement "name_abi_cxx11_();" (call_expression "name_abi_cxx11_()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "name_abi_cxx11_();" (call_expression "name_abi_cxx11_()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (if_statement "if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" if (parenthesized_expression "((local_48 == local_30) && (bVar4 = true, local_48 != 0))" ( (binary_expression "(local_48 == local_30) && (bVar4 = true, local_48 != 0)" (parenthesized_expression "(local_48 == local_30)" ( (binary_expression "local_48 == local_30" identifier == identifier) )) && (parenthesized_expression "(bVar4 = true, local_48 != 0)" ( (comma_expression "bVar4 = true, local_48 != 0" (assignment_expression "bVar4 = true" identifier = true) , (binary_expression "local_48 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" { (expression_statement "iVar3 = memcmp(local_4c,local_34,local_48);" (assignment_expression "iVar3 = memcmp(local_4c,local_34,local_48)" identifier = (call_expression "memcmp(local_4c,local_34,local_48)" identifier (argument_list "(local_4c,local_34,local_48)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;) })) (if_statement "if (local_4c != local_44) {\n        operator_delete(local_4c);\n      }" if (parenthesized_expression "(local_4c != local_44)" ( (binary_expression "local_4c != local_44" identifier != identifier) )) (compound_statement "{\n        operator_delete(local_4c);\n      }" { (expression_statement "operator_delete(local_4c);" (call_expression "operator_delete(local_4c)" identifier (argument_list "(local_4c)" ( identifier ))) ;) })) (if_statement "if (local_34 == local_2c) {\n        return bVar4;\n      }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n        return bVar4;\n      }" { (return_statement "return bVar4;" return identifier ;) })) (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (return_statement "return bVar4;" return identifier ;) })) })) (return_statement "return false;" return false ;) (ERROR "}" }))
(translation_unit "bool FUN_00201380(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_00201380(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_00201380(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined1 *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "undefined1 local_44 [16];" type_identifier (array_declarator "local_44 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (if_statement "if (*param_1 == *param_2) {\n    return true;\n  }" if (parenthesized_expression "(*param_1 == *param_2)" ( (binary_expression "*param_1 == *param_2" (pointer_expression "*param_1" * identifier) == (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "puVar1 = *(undefined4 **)(*param_1 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + 0x10)" * (cast_expression "(undefined4 **)(*param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "__s1 = (char *)*puVar1;" (assignment_expression "__s1 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }" { (expression_statement "puVar2 = *(undefined4 **)(*param_2 + 0x10);" (assignment_expression "puVar2 = *(undefined4 **)(*param_2 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" * (cast_expression "(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "__s2 = (char *)*puVar2;" (assignment_expression "__s2 = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (if_statement "if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }" if (parenthesized_expression "((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0))" ( (binary_expression "(__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)" (parenthesized_expression "(__s2 != (char *)0x0)" ( (binary_expression "__s2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = strcmp(__s1,__s2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(__s1,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }" { (if_statement "if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }" if (parenthesized_expression "((puVar1[1] == 0) && (puVar2[1] == 0))" ( (binary_expression "(puVar1[1] == 0) && (puVar2[1] == 0)" (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(puVar2[1] == 0)" ( (binary_expression "puVar2[1] == 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (expression_statement "FUN_00201010(&local_34,param_2);" (call_expression "FUN_00201010(&local_34,param_2)" identifier (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "FUN_00201010(&local_4c,param_1);" (call_expression "FUN_00201010(&local_4c,param_1)" identifier (argument_list "(&local_4c,param_1)" ( (pointer_expression "&local_4c" & identifier) , identifier ))) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (if_statement "if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" if (parenthesized_expression "((local_48 == local_30) && (bVar4 = true, local_48 != 0))" ( (binary_expression "(local_48 == local_30) && (bVar4 = true, local_48 != 0)" (parenthesized_expression "(local_48 == local_30)" ( (binary_expression "local_48 == local_30" identifier == identifier) )) && (parenthesized_expression "(bVar4 = true, local_48 != 0)" ( (comma_expression "bVar4 = true, local_48 != 0" (assignment_expression "bVar4 = true" identifier = true) , (binary_expression "local_48 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" { (expression_statement "iVar3 = memcmp(local_4c,local_34,local_48);" (assignment_expression "iVar3 = memcmp(local_4c,local_34,local_48)" identifier = (call_expression "memcmp(local_4c,local_34,local_48)" identifier (argument_list "(local_4c,local_34,local_48)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;) })) (if_statement "if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }" if (parenthesized_expression "(local_4c != local_44)" ( (binary_expression "local_4c != local_44" identifier != identifier) )) (compound_statement "{\n        FUN_001ff030(local_4c);\n      }" { (expression_statement "FUN_001ff030(local_4c);" (call_expression "FUN_001ff030(local_4c)" identifier (argument_list "(local_4c)" ( identifier ))) ;) })) (if_statement "if (local_34 == local_2c) {\n        return bVar4;\n      }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n        return bVar4;\n      }" { (return_statement "return bVar4;" return identifier ;) })) (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (return_statement "return bVar4;" return identifier ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_00201380(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_00201380(int *param_1,int *param_2)" (identifier "FUN_00201380") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  char *__s1;\n  undefined4 *puVar2;\n  char *__s2;\n  int iVar3;\n  bool bVar4;\n  undefined1 *local_4c;\n  size_t local_48;\n  undefined1 local_44 [16];\n  undefined1 *local_34;\n  size_t local_30;\n  undefined1 local_2c [28];\n  \n  if (*param_1 == *param_2) {\n    return true;\n  }\n  puVar1 = *(undefined4 **)(*param_1 + 0x10);\n  __s1 = (char *)*puVar1;\n  if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }\n  return false;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "undefined1 *local_4c;" (type_identifier "undefined1") (pointer_declarator "*local_4c" (* "*") (identifier "local_4c")) (; ";")) (declaration "size_t local_48;" (primitive_type "size_t") (identifier "local_48") (; ";")) (declaration "undefined1 local_44 [16];" (type_identifier "undefined1") (array_declarator "local_44 [16]" (identifier "local_44") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "size_t local_30;" (primitive_type "size_t") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [28];" (type_identifier "undefined1") (array_declarator "local_2c [28]" (identifier "local_2c") ([ "[") (number_literal "28") (] "]")) (; ";")) (if_statement "if (*param_1 == *param_2) {\n    return true;\n  }" (if "if") (parenthesized_expression "(*param_1 == *param_2)" (( "(") (binary_expression "*param_1 == *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "puVar1 = *(undefined4 **)(*param_1 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*param_1 + 0x10)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 **)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "__s1 = (char *)*puVar1;" (assignment_expression "__s1 = (char *)*puVar1" (identifier "__s1") (= "=") (cast_expression "(char *)*puVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (if_statement "if (__s1 != (char *)0x0) {\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }" (if "if") (parenthesized_expression "(__s1 != (char *)0x0)" (( "(") (binary_expression "__s1 != (char *)0x0" (identifier "__s1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar2 = *(undefined4 **)(*param_2 + 0x10);\n    __s2 = (char *)*puVar2;\n    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }\n  }" ({ "{") (expression_statement "puVar2 = *(undefined4 **)(*param_2 + 0x10);" (assignment_expression "puVar2 = *(undefined4 **)(*param_2 + 0x10)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" (* "*") (cast_expression "(undefined4 **)(*param_2 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x10)" (( "(") (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "__s2 = (char *)*puVar2;" (assignment_expression "__s2 = (char *)*puVar2" (identifier "__s2") (= "=") (cast_expression "(char *)*puVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (if_statement "if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }" (if "if") (parenthesized_expression "((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0))" (( "(") (binary_expression "(__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)" (parenthesized_expression "(__s2 != (char *)0x0)" (( "(") (binary_expression "__s2 != (char *)0x0" (identifier "__s2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = strcmp(__s1,__s2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = strcmp(__s1,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,__s2)" (identifier "iVar3") (= "=") (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }\n                    \n      FUN_00201010(&local_34,param_2);\n                    \n      FUN_00201010(&local_4c,param_1);\n      bVar4 = false;\n      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }\n      if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }\n      if (local_34 == local_2c) {\n        return bVar4;\n      }\n      FUN_001ff030(local_34);\n      return bVar4;\n    }" ({ "{") (if_statement "if ((puVar1[1] == 0) && (puVar2[1] == 0)) {\n        return true;\n      }" (if "if") (parenthesized_expression "((puVar1[1] == 0) && (puVar2[1] == 0))" (( "(") (binary_expression "(puVar1[1] == 0) && (puVar2[1] == 0)" (parenthesized_expression "(puVar1[1] == 0)" (( "(") (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar2[1] == 0)" (( "(") (binary_expression "puVar2[1] == 0" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        return true;\n      }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "FUN_00201010(&local_34,param_2);" (call_expression "FUN_00201010(&local_34,param_2)" (identifier "FUN_00201010") (argument_list "(&local_34,param_2)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_00201010(&local_4c,param_1);" (call_expression "FUN_00201010(&local_4c,param_1)" (identifier "FUN_00201010") (argument_list "(&local_4c,param_1)" (( "(") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (; ";")) (if_statement "if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" (if "if") (parenthesized_expression "((local_48 == local_30) && (bVar4 = true, local_48 != 0))" (( "(") (binary_expression "(local_48 == local_30) && (bVar4 = true, local_48 != 0)" (parenthesized_expression "(local_48 == local_30)" (( "(") (binary_expression "local_48 == local_30" (identifier "local_48") (== "==") (identifier "local_30")) () ")")) (&& "&&") (parenthesized_expression "(bVar4 = true, local_48 != 0)" (( "(") (comma_expression "bVar4 = true, local_48 != 0" (assignment_expression "bVar4 = true" (identifier "bVar4") (= "=") (true "true")) (, ",") (binary_expression "local_48 != 0" (identifier "local_48") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        iVar3 = memcmp(local_4c,local_34,local_48);\n        bVar4 = iVar3 == 0;\n      }" ({ "{") (expression_statement "iVar3 = memcmp(local_4c,local_34,local_48);" (assignment_expression "iVar3 = memcmp(local_4c,local_34,local_48)" (identifier "iVar3") (= "=") (call_expression "memcmp(local_4c,local_34,local_48)" (identifier "memcmp") (argument_list "(local_4c,local_34,local_48)" (( "(") (identifier "local_4c") (, ",") (identifier "local_34") (, ",") (identifier "local_48") () ")")))) (; ";")) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" (identifier "bVar4") (= "=") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) (; ";")) (} "}"))) (if_statement "if (local_4c != local_44) {\n        FUN_001ff030(local_4c);\n      }" (if "if") (parenthesized_expression "(local_4c != local_44)" (( "(") (binary_expression "local_4c != local_44" (identifier "local_4c") (!= "!=") (identifier "local_44")) () ")")) (compound_statement "{\n        FUN_001ff030(local_4c);\n      }" ({ "{") (expression_statement "FUN_001ff030(local_4c);" (call_expression "FUN_001ff030(local_4c)" (identifier "FUN_001ff030") (argument_list "(local_4c)" (( "(") (identifier "local_4c") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_34 == local_2c) {\n        return bVar4;\n      }" (if "if") (parenthesized_expression "(local_34 == local_2c)" (( "(") (binary_expression "local_34 == local_2c" (identifier "local_34") (== "==") (identifier "local_2c")) () ")")) (compound_statement "{\n        return bVar4;\n      }" ({ "{") (return_statement "return bVar4;" (return "return") (identifier "bVar4") (; ";")) (} "}"))) (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" (identifier "FUN_001ff030") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (return_statement "return bVar4;" (return "return") (identifier "bVar4") (; ";")) (} "}"))) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::locale::TEMPNAMEPLACEHOLDERVALUE(std::locale const&) const */

bool __thiscall std::locale::operator==(locale *this,locale *param_1)

{
  type_1 *puVar1;
  char *var_1;
  type_1 *puVar2;
  char *var_2;
  int var_4;
  bool bVar4;
  type_2 *var_9;
  size_t var_6;
  type_2 var_10 [16];
  type_2 *var_12;
  size_t var_7;
  type_2 var_13 [28];
  
  if (*(int *)this == *(int *)param_1) {
    return true;
  }
  puVar1 = *(type_1 **)(*(int *)this + 0x10);
  var_1 = (char *)*puVar1;
  if (var_1 != (char *)0x0) {
    puVar2 = *(type_1 **)(*(int *)param_1 + 0x10);
    var_2 = (char *)*puVar2;
    if ((var_2 != (char *)0x0) && (var_4 = var_3(var_1,var_2), var_4 == 0)) {
      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {
        return true;
      }
                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */
      var_5();
                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */
      var_5();
      bVar4 = false;
      if ((var_6 == var_7) && (bVar4 = true, var_6 != 0)) {
        var_4 = var_8(var_9,var_12,var_6);
        bVar4 = var_4 == 0;
      }
      if (var_9 != var_10) {
        var_11(var_9);
      }
      if (var_12 == var_13) {
        return bVar4;
      }
      var_11(var_12);
      return bVar4;
    }
  }
  return false;
}


(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (true)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (return_statement (true)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (true)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))) (return_statement (false)))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

bool MASKED(int *param_1,int *param_2)

{
  undefined4 *puVar1;
  char *__s1;
  undefined4 *puVar2;
  char *__s2;
  int iVar3;
  bool bVar4;
  undefined1 *local_4c;
  size_t local_48;
  undefined1 local_44 [16];
  undefined1 *local_34;
  size_t local_30;
  undefined1 local_2c [28];
  
  if (*param_1 == *param_2) {
    return true;
  }
  puVar1 = *(undefined4 **)(*param_1 + 0x10);
  __s1 = (char *)*puVar1;
  if (__s1 != (char *)0x0) {
    puVar2 = *(undefined4 **)(*param_2 + 0x10);
    __s2 = (char *)*puVar2;
    if ((__s2 != (char *)0x0) && (iVar3 = strcmp(__s1,__s2), iVar3 == 0)) {
      if ((puVar1[1] == 0) && (puVar2[1] == 0)) {
        return true;
      }
                    /* try { // try from 002013f4 to 002013f8 has its CatchHandler @ 002014af */
      FUN_00201010(&local_34,param_2);
                    /* try { // try from 00201401 to 00201405 has its CatchHandler @ 002014a6 */
      FUN_00201010(&local_4c,param_1);
      bVar4 = false;
      if ((local_48 == local_30) && (bVar4 = true, local_48 != 0)) {
        iVar3 = memcmp(local_4c,local_34,local_48);
        bVar4 = iVar3 == 0;
      }
      if (local_4c != local_44) {
        FUN_001ff030(local_4c);
      }
      if (local_34 == local_2c) {
        return bVar4;
      }
      FUN_001ff030(local_34);
      return bVar4;
    }
  }
  return false;
}

