
int cplus_demangle_fill_operator(demangle_component *p,char *opname,int args)

{
  demangle_component *pdVar1;
  undefined *puVar2;
  int iVar3;
  size_t sVar4;
  ulong uVar5;
  char *__s2;
  
  if ((p == (demangle_component *)0x0) || (opname == (char *)0x0)) {
    return 0;
  }
  sVar4 = strlen(opname);
  puVar2 = PTR_cplus_demangle_operators_0012afd0;
  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);
  if (__s2 != (char *)0x0) {
    uVar5 = 0;
    do {
      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);
      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&
         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {
        (p->u).s_fixed.length = pdVar1;
        p->type = DEMANGLE_COMPONENT_OPERATOR;
        p->d_printing = 0;
        return 1;
      }
      uVar5 = (ulong)((int)uVar5 + 1);
      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);
    } while (__s2 != (char *)0x0);
  }
  return 0;
}



undefined8 FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  size_t sVar4;
  ulong uVar5;
  char *__s2;
  
  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {
    return 0;
  }
  sVar4 = strlen(param_2);
  puVar2 = PTR_cplus_demangle_operators_0012afd0;
  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);
  if (__s2 != (char *)0x0) {
    uVar5 = 0;
    do {
      puVar1 = puVar2 + uVar5 * 0x18;
      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&
         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {
        param_1[1] = puVar1;
        *param_1 = 0x31;
        return 1;
      }
      uVar5 = (ulong)((int)uVar5 + 1);
      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);
    } while (__s2 != (char *)0x0);
  }
  return 0;
}


TEST RDI,RDI
JZ 0x0011ce88
TEST RSI,RSI
JZ 0x0011ce88
PUSH R15
PUSH R14
PUSH R13
MOV R13D,EDX
PUSH R12
MOV R12,RSI
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV qword ptr [RSP + 0x8],RDI
MOV RDI,RSI
CALL 0x00104260
MOV R14,qword ptr [0x0012afd0]
MOV R15D,EAX
MOV RSI,qword ptr [R14 + 0x8]
TEST RSI,RSI
JZ 0x0011ce70
XOR EBX,EBX
XOR ECX,ECX
JMP 0x0011ce34
LEA ECX,[RBX + 0x1]
LEA RSI,[RCX + RCX*0x2]
MOV RBX,RCX
MOV RSI,qword ptr [R14 + RSI*0x8 + 0x8]
TEST RSI,RSI
JZ 0x0011ce70
LEA RCX,[RCX + RCX*0x2]
LEA RBP,[R14 + RCX*0x8]
CMP dword ptr [RBP + 0x10],R15D
JNZ 0x0011ce20
CMP dword ptr [RBP + 0x14],R13D
JNZ 0x0011ce20
MOV RDI,R12
CALL 0x00104460
TEST EAX,EAX
JNZ 0x0011ce20
MOV RAX,qword ptr [RSP + 0x8]
MOV qword ptr [RAX + 0x8],RBP
MOV qword ptr [RAX],0x31
MOV EAX,0x1
JMP 0x0011ce72
XOR EAX,EAX
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
XOR EAX,EAX
RET
(translation_unit "undefined8 FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)" identifier (parameter_list "(undefined8 *param_1,char *param_2,int param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (if_statement "if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0))" ( (binary_expression "(param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)" (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "sVar4 = strlen(param_2);" (assignment_expression "sVar4 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "puVar2 = PTR_cplus_demangle_operators_0012afd0;" (assignment_expression "puVar2 = PTR_cplus_demangle_operators_0012afd0" identifier = identifier) ;) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" identifier = (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" * (cast_expression "(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0012afd0 + 8)" ( (binary_expression "PTR_cplus_demangle_operators_0012afd0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" if (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)) )) (compound_statement "{\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);" do (compound_statement "{\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    }" { (expression_statement "puVar1 = puVar2 + uVar5 * 0x18;" (assignment_expression "puVar1 = puVar2 + uVar5 * 0x18" identifier = (binary_expression "puVar2 + uVar5 * 0x18" identifier + (binary_expression "uVar5 * 0x18" identifier * number_literal))) ;) (if_statement "if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }" if (parenthesized_expression "(((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0))" ( (binary_expression "((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)" (parenthesized_expression "((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3))" ( (binary_expression "(*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)" (parenthesized_expression "(*(int *)(puVar1 + 0x10) == (int)sVar4)" ( (binary_expression "*(int *)(puVar1 + 0x10) == (int)sVar4" (pointer_expression "*(int *)(puVar1 + 0x10)" * (cast_expression "(int *)(puVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x10)" ( (binary_expression "puVar1 + 0x10" identifier + number_literal) )))) == (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(*(int *)(puVar1 + 0x14) == param_3)" ( (binary_expression "*(int *)(puVar1 + 0x14) == param_3" (pointer_expression "*(int *)(puVar1 + 0x14)" * (cast_expression "(int *)(puVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x14)" ( (binary_expression "puVar1 + 0x14" identifier + number_literal) )))) == identifier) ))) )) && (parenthesized_expression "(iVar3 = strcmp(param_2,__s2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(param_2,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(param_2,__s2)" identifier = (call_expression "strcmp(param_2,__s2)" identifier (argument_list "(param_2,__s2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }" { (expression_statement "param_1[1] = puVar1;" (assignment_expression "param_1[1] = puVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = 0x31;" (assignment_expression "*param_1 = 0x31" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar5 = (ulong)((int)uVar5 + 1);" (assignment_expression "uVar5 = (ulong)((int)uVar5 + 1)" identifier = (call_expression "(ulong)((int)uVar5 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)uVar5 + 1)" ( (binary_expression "(int)uVar5 + 1" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);" (assignment_expression "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8)" identifier = (pointer_expression "*(char **)(puVar2 + uVar5 * 0x18 + 8)" * (cast_expression "(char **)(puVar2 + uVar5 * 0x18 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + uVar5 * 0x18 + 8)" ( (binary_expression "puVar2 + uVar5 * 0x18 + 8" (binary_expression "puVar2 + uVar5 * 0x18" identifier + (binary_expression "uVar5 * 0x18" identifier * number_literal)) + number_literal) ))))) ;) }) while (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)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int cplus_demangle_fill_operator(demangle_component *p,char *opname,int args)\n\n{\n  demangle_component *pdVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((p == (demangle_component *)0x0) || (opname == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(opname);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "int cplus_demangle_fill_operator(demangle_component *p,char *opname,int args)\n\n{\n  demangle_component *pdVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((p == (demangle_component *)0x0) || (opname == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(opname);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" primitive_type (function_declarator "cplus_demangle_fill_operator(demangle_component *p,char *opname,int args)" identifier (parameter_list "(demangle_component *p,char *opname,int args)" ( (parameter_declaration "demangle_component *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *opname" primitive_type (pointer_declarator "*opname" * identifier)) , (parameter_declaration "int args" primitive_type identifier) ))) (compound_statement "{\n  demangle_component *pdVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((p == (demangle_component *)0x0) || (opname == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(opname);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" { (declaration "demangle_component *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (if_statement "if ((p == (demangle_component *)0x0) || (opname == (char *)0x0)) {\n    return 0;\n  }" if (parenthesized_expression "((p == (demangle_component *)0x0) || (opname == (char *)0x0))" ( (binary_expression "(p == (demangle_component *)0x0) || (opname == (char *)0x0)" (parenthesized_expression "(p == (demangle_component *)0x0)" ( (binary_expression "p == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(opname == (char *)0x0)" ( (binary_expression "opname == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "sVar4 = strlen(opname);" (assignment_expression "sVar4 = strlen(opname)" identifier = (call_expression "strlen(opname)" identifier (argument_list "(opname)" ( identifier )))) ;) (expression_statement "puVar2 = PTR_cplus_demangle_operators_0012afd0;" (assignment_expression "puVar2 = PTR_cplus_demangle_operators_0012afd0" identifier = identifier) ;) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" identifier = (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" * (cast_expression "(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0012afd0 + 8)" ( (binary_expression "PTR_cplus_demangle_operators_0012afd0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" if (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)) )) (compound_statement "{\n    uVar5 = 0;\n    do {\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);" do (compound_statement "{\n      pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);\n      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    }" { (expression_statement "pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18);" (assignment_expression "pdVar1 = (demangle_component *)(puVar2 + uVar5 * 0x18)" identifier = (cast_expression "(demangle_component *)(puVar2 + uVar5 * 0x18)" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + uVar5 * 0x18)" ( (binary_expression "puVar2 + uVar5 * 0x18" identifier + (binary_expression "uVar5 * 0x18" identifier * number_literal)) )))) ;) (if_statement "if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)) {\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }" if (parenthesized_expression "((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0))" ( (binary_expression "(((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)) &&\n         (iVar3 = strcmp(opname,__s2), iVar3 == 0)" (parenthesized_expression "(((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args))" ( (binary_expression "((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == args)" (parenthesized_expression "((pdVar1->u).s_name.len == (int)sVar4)" ( (binary_expression "(pdVar1->u).s_name.len == (int)sVar4" (field_expression "(pdVar1->u).s_name.len" (field_expression "(pdVar1->u).s_name" (parenthesized_expression "(pdVar1->u)" ( (field_expression "pdVar1->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) == (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(*(int *)((long)&pdVar1->u + 0xc) == args)" ( (binary_expression "*(int *)((long)&pdVar1->u + 0xc) == args" (pointer_expression "*(int *)((long)&pdVar1->u + 0xc)" * (cast_expression "(int *)((long)&pdVar1->u + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pdVar1->u + 0xc)" ( (binary_expression "(long)&pdVar1->u + 0xc" (cast_expression "(long)&pdVar1->u" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pdVar1->u" & (field_expression "pdVar1->u" identifier -> field_identifier))) + number_literal) )))) == identifier) ))) )) && (parenthesized_expression "(iVar3 = strcmp(opname,__s2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(opname,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(opname,__s2)" identifier = (call_expression "strcmp(opname,__s2)" identifier (argument_list "(opname,__s2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        (p->u).s_fixed.length = pdVar1;\n        p->type = DEMANGLE_COMPONENT_OPERATOR;\n        p->d_printing = 0;\n        return 1;\n      }" { (expression_statement "(p->u).s_fixed.length = pdVar1;" (assignment_expression "(p->u).s_fixed.length = pdVar1" (field_expression "(p->u).s_fixed.length" (field_expression "(p->u).s_fixed" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "p->type = DEMANGLE_COMPONENT_OPERATOR;" (assignment_expression "p->type = DEMANGLE_COMPONENT_OPERATOR" (field_expression "p->type" identifier -> field_identifier) = identifier) ;) (expression_statement "p->d_printing = 0;" (assignment_expression "p->d_printing = 0" (field_expression "p->d_printing" identifier -> field_identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar5 = (ulong)((int)uVar5 + 1);" (assignment_expression "uVar5 = (ulong)((int)uVar5 + 1)" identifier = (call_expression "(ulong)((int)uVar5 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)uVar5 + 1)" ( (binary_expression "(int)uVar5 + 1" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);" (assignment_expression "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8)" identifier = (pointer_expression "*(char **)(puVar2 + uVar5 * 0x18 + 8)" * (cast_expression "(char **)(puVar2 + uVar5 * 0x18 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + uVar5 * 0x18 + 8)" ( (binary_expression "puVar2 + uVar5 * 0x18 + 8" (binary_expression "puVar2 + uVar5 * 0x18" identifier + (binary_expression "uVar5 * 0x18" identifier * number_literal)) + number_literal) ))))) ;) }) while (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)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)" identifier (parameter_list "(undefined8 *param_1,char *param_2,int param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (if_statement "if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0))" ( (binary_expression "(param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)" (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "sVar4 = strlen(param_2);" (assignment_expression "sVar4 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "puVar2 = PTR_cplus_demangle_operators_0012afd0;" (assignment_expression "puVar2 = PTR_cplus_demangle_operators_0012afd0" identifier = identifier) ;) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" identifier = (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" * (cast_expression "(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0012afd0 + 8)" ( (binary_expression "PTR_cplus_demangle_operators_0012afd0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" if (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)) )) (compound_statement "{\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);" do (compound_statement "{\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    }" { (expression_statement "puVar1 = puVar2 + uVar5 * 0x18;" (assignment_expression "puVar1 = puVar2 + uVar5 * 0x18" identifier = (binary_expression "puVar2 + uVar5 * 0x18" identifier + (binary_expression "uVar5 * 0x18" identifier * number_literal))) ;) (if_statement "if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }" if (parenthesized_expression "(((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0))" ( (binary_expression "((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)" (parenthesized_expression "((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3))" ( (binary_expression "(*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)" (parenthesized_expression "(*(int *)(puVar1 + 0x10) == (int)sVar4)" ( (binary_expression "*(int *)(puVar1 + 0x10) == (int)sVar4" (pointer_expression "*(int *)(puVar1 + 0x10)" * (cast_expression "(int *)(puVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x10)" ( (binary_expression "puVar1 + 0x10" identifier + number_literal) )))) == (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(*(int *)(puVar1 + 0x14) == param_3)" ( (binary_expression "*(int *)(puVar1 + 0x14) == param_3" (pointer_expression "*(int *)(puVar1 + 0x14)" * (cast_expression "(int *)(puVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x14)" ( (binary_expression "puVar1 + 0x14" identifier + number_literal) )))) == identifier) ))) )) && (parenthesized_expression "(iVar3 = strcmp(param_2,__s2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(param_2,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(param_2,__s2)" identifier = (call_expression "strcmp(param_2,__s2)" identifier (argument_list "(param_2,__s2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }" { (expression_statement "param_1[1] = puVar1;" (assignment_expression "param_1[1] = puVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = 0x31;" (assignment_expression "*param_1 = 0x31" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar5 = (ulong)((int)uVar5 + 1);" (assignment_expression "uVar5 = (ulong)((int)uVar5 + 1)" identifier = (call_expression "(ulong)((int)uVar5 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)uVar5 + 1)" ( (binary_expression "(int)uVar5 + 1" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);" (assignment_expression "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8)" identifier = (pointer_expression "*(char **)(puVar2 + uVar5 * 0x18 + 8)" * (cast_expression "(char **)(puVar2 + uVar5 * 0x18 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + uVar5 * 0x18 + 8)" ( (binary_expression "puVar2 + uVar5 * 0x18 + 8" (binary_expression "puVar2 + uVar5 * 0x18" identifier + (binary_expression "uVar5 * 0x18" identifier * number_literal)) + number_literal) ))))) ;) }) while (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)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_0011cdd0(undefined8 *param_1,char *param_2,int param_3)" (identifier "FUN_0011cdd0") (parameter_list "(undefined8 *param_1,char *param_2,int param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong uVar5;\n  char *__s2;\n  \n  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }\n  sVar4 = strlen(param_2);\n  puVar2 = PTR_cplus_demangle_operators_0012afd0;\n  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);\n  if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (if_statement "if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0))" (( "(") (binary_expression "(param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)" (parenthesized_expression "(param_1 == (undefined8 *)0x0)" (( "(") (binary_expression "param_1 == (undefined8 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "sVar4 = strlen(param_2);" (assignment_expression "sVar4 = strlen(param_2)" (identifier "sVar4") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar2 = PTR_cplus_demangle_operators_0012afd0;" (assignment_expression "puVar2 = PTR_cplus_demangle_operators_0012afd0" (identifier "puVar2") (= "=") (identifier "PTR_cplus_demangle_operators_0012afd0")) (; ";")) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" (* "*") (cast_expression "(char **)(PTR_cplus_demangle_operators_0012afd0 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cplus_demangle_operators_0012afd0 + 8)" (( "(") (binary_expression "PTR_cplus_demangle_operators_0012afd0 + 8" (identifier "PTR_cplus_demangle_operators_0012afd0") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (__s2 != (char *)0x0) {\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" (if "if") (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"))) () ")")) (compound_statement "{\n    uVar5 = 0;\n    do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    } while (__s2 != (char *)0x0);" (do "do") (compound_statement "{\n      puVar1 = puVar2 + uVar5 * 0x18;\n      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }\n      uVar5 = (ulong)((int)uVar5 + 1);\n      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);\n    }" ({ "{") (expression_statement "puVar1 = puVar2 + uVar5 * 0x18;" (assignment_expression "puVar1 = puVar2 + uVar5 * 0x18" (identifier "puVar1") (= "=") (binary_expression "puVar2 + uVar5 * 0x18" (identifier "puVar2") (+ "+") (binary_expression "uVar5 * 0x18" (identifier "uVar5") (* "*") (number_literal "0x18")))) (; ";")) (if_statement "if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }" (if "if") (parenthesized_expression "(((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0))" (( "(") (binary_expression "((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&\n         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)" (parenthesized_expression "((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3))" (( "(") (binary_expression "(*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)" (parenthesized_expression "(*(int *)(puVar1 + 0x10) == (int)sVar4)" (( "(") (binary_expression "*(int *)(puVar1 + 0x10) == (int)sVar4" (pointer_expression "*(int *)(puVar1 + 0x10)" (* "*") (cast_expression "(int *)(puVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x10)" (( "(") (binary_expression "puVar1 + 0x10" (identifier "puVar1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (cast_expression "(int)sVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar4"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(puVar1 + 0x14) == param_3)" (( "(") (binary_expression "*(int *)(puVar1 + 0x14) == param_3" (pointer_expression "*(int *)(puVar1 + 0x14)" (* "*") (cast_expression "(int *)(puVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x14)" (( "(") (binary_expression "puVar1 + 0x14" (identifier "puVar1") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (identifier "param_3")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = strcmp(param_2,__s2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = strcmp(param_2,__s2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(param_2,__s2)" (identifier "iVar3") (= "=") (call_expression "strcmp(param_2,__s2)" (identifier "strcmp") (argument_list "(param_2,__s2)" (( "(") (identifier "param_2") (, ",") (identifier "__s2") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        param_1[1] = puVar1;\n        *param_1 = 0x31;\n        return 1;\n      }" ({ "{") (expression_statement "param_1[1] = puVar1;" (assignment_expression "param_1[1] = puVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*param_1 = 0x31;" (assignment_expression "*param_1 = 0x31" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x31")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar5 = (ulong)((int)uVar5 + 1);" (assignment_expression "uVar5 = (ulong)((int)uVar5 + 1)" (identifier "uVar5") (= "=") (call_expression "(ulong)((int)uVar5 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((int)uVar5 + 1)" (( "(") (binary_expression "(int)uVar5 + 1" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);" (assignment_expression "__s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(puVar2 + uVar5 * 0x18 + 8)" (* "*") (cast_expression "(char **)(puVar2 + uVar5 * 0x18 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + uVar5 * 0x18 + 8)" (( "(") (binary_expression "puVar2 + uVar5 * 0x18 + 8" (binary_expression "puVar2 + uVar5 * 0x18" (identifier "puVar2") (+ "+") (binary_expression "uVar5 * 0x18" (identifier "uVar5") (* "*") (number_literal "0x18"))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (while "while") (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"))) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *var_1,char *var_2,int var_8)

{
  type_1 *pdVar1;
  type_2 *var_6;
  int var_10;
  size_t sVar4;
  type_3 var_7;
  char *var_5;
  
  if ((var_1 == (type_1 *)0x0) || (var_2 == (char *)0x0)) {
    return 0;
  }
  sVar4 = var_3(var_2);
  var_6 = var_4;
  var_5 = *(char **)(var_4 + 8);
  if (var_5 != (char *)0x0) {
    var_7 = 0;
    do {
      pdVar1 = (type_1 *)(var_6 + var_7 * 0x18);
      if ((((pdVar1->u).s_name.len == (int)sVar4) && (*(int *)((long)&pdVar1->u + 0xc) == var_8)) &&
         (var_10 = var_9(var_2,var_5), var_10 == 0)) {
        (var_1->u).s_fixed.length = pdVar1;
        var_1->type = DEMANGLE_COMPONENT_OPERATOR;
        var_1->d_printing = 0;
        return 1;
      }
      var_7 = (type_3)((int)var_7 + 1);
      var_5 = *(char **)(var_6 + var_7 * 0x18 + 8);
    } while (var_5 != (char *)0x0);
  }
  return 0;
}


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

undefined8 MASKED(undefined8 *param_1,char *param_2,int param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  size_t sVar4;
  ulong uVar5;
  char *__s2;
  
  if ((param_1 == (undefined8 *)0x0) || (param_2 == (char *)0x0)) {
    return 0;
  }
  sVar4 = strlen(param_2);
  puVar2 = PTR_cplus_demangle_operators_0012afd0;
  __s2 = *(char **)(PTR_cplus_demangle_operators_0012afd0 + 8);
  if (__s2 != (char *)0x0) {
    uVar5 = 0;
    do {
      puVar1 = puVar2 + uVar5 * 0x18;
      if (((*(int *)(puVar1 + 0x10) == (int)sVar4) && (*(int *)(puVar1 + 0x14) == param_3)) &&
         (iVar3 = strcmp(param_2,__s2), iVar3 == 0)) {
        param_1[1] = puVar1;
        *param_1 = 0x31;
        return 1;
      }
      uVar5 = (ulong)((int)uVar5 + 1);
      __s2 = *(char **)(puVar2 + uVar5 * 0x18 + 8);
    } while (__s2 != (char *)0x0);
  }
  return 0;
}

