
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

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

{
  undefined *puVar1;
  size_t sVar2;
  char *__s2;
  int iVar3;
  int iVar4;
  size_t *psVar5;
  
  if ((p != (demangle_component *)0x0) && (opname != (char *)0x0)) {
    sVar2 = strlen(opname);
    puVar1 = PTR_cplus_demangle_operators_0003efc4;
    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);
    if (__s2 != (char *)0x0) {
      iVar4 = 0;
      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);
      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)
             )) {
        __s2 = (char *)psVar5[3];
        iVar4 = iVar4 + 1;
        psVar5 = psVar5 + 4;
        if (__s2 == (char *)0x0) {
          return 0;
        }
      }
      p->type = DEMANGLE_COMPONENT_OPERATOR;
      (p->u).s_name.s = puVar1 + iVar4 * 0x10;
      p->d_printing = 0;
      return 1;
    }
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)

{
  undefined *puVar1;
  size_t sVar2;
  char *__s2;
  int iVar3;
  int iVar4;
  size_t *psVar5;
  
  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {
    sVar2 = strlen(param_2);
    puVar1 = PTR_cplus_demangle_operators_0003efc4;
    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);
    if (__s2 != (char *)0x0) {
      iVar4 = 0;
      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);
      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||
             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {
        __s2 = (char *)psVar5[3];
        iVar4 = iVar4 + 1;
        psVar5 = psVar5 + 4;
        if (__s2 == (char *)0x0) {
          return 0;
        }
      }
      *param_1 = 0x31;
      param_1[2] = puVar1 + iVar4 * 0x10;
      param_1[1] = 0;
      return 1;
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000165d0
ADD EBX,0x12117
SUB ESP,0x1c
MOV EDX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x38]
TEST EDX,EDX
JZ 0x0002cfa0
MOV EAX,dword ptr [ESP + 0x34]
TEST EAX,EAX
JZ 0x0002cfa0
SUB ESP,0xc
PUSH dword ptr [ESP + 0x40]
CALL 0x000134e0
MOV EDX,dword ptr [EBX + 0xffffffc4]
ADD ESP,0x10
MOV ECX,EAX
MOV EAX,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0xc],EDX
TEST EAX,EAX
JZ 0x0002cfa0
LEA ESI,[EDX + 0x8]
XOR EBP,EBP
JMP 0x0002cf4d
ADD ESI,0x10
MOV EAX,dword ptr [ESI + -0x4]
ADD EBP,0x1
TEST EAX,EAX
JZ 0x0002cf96
CMP dword ptr [ESI],ECX
JNZ 0x0002cf40
CMP dword ptr [ESI + 0x4],EDI
JNZ 0x0002cf40
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x40]
CALL 0x00013070
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JNZ 0x0002cf40
MOV EDX,EBP
MOV EBP,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x30]
SHL EDX,0x4
ADD EBP,EDX
MOV dword ptr [EAX],0x31
MOV dword ptr [EAX + 0x8],EBP
MOV dword ptr [EAX + 0x4],0x0
MOV EAX,0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,size_t param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t *psVar5;" primitive_type (pointer_declarator "*psVar5" * identifier) ;) (if_statement "if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }" if (parenthesized_expression "((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0))" ( (binary_expression "(param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" 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    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }" { (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_cplus_demangle_operators_0003efc4;" (assignment_expression "puVar1 = PTR_cplus_demangle_operators_0003efc4" identifier = identifier) ;) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" identifier = (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" * (cast_expression "(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 4)" ( (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\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      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);" (assignment_expression "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" identifier = (cast_expression "(size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 8)" ( (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 8" identifier + number_literal) )))) ;) (while_statement "while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0)))" ( (parenthesized_expression "((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))" ( (binary_expression "(*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0)" (parenthesized_expression "(*psVar5 != sVar2 || (psVar5[1] != param_3))" ( (binary_expression "*psVar5 != sVar2 || (psVar5[1] != param_3)" (binary_expression "*psVar5 != sVar2" (pointer_expression "*psVar5" * identifier) != identifier) || (parenthesized_expression "(psVar5[1] != param_3)" ( (binary_expression "psVar5[1] != param_3" (subscript_expression "psVar5[1]" 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        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" { (expression_statement "__s2 = (char *)psVar5[3];" (assignment_expression "__s2 = (char *)psVar5[3]" identifier = (cast_expression "(char *)psVar5[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "psVar5 = psVar5 + 4;" (assignment_expression "psVar5 = psVar5 + 4" identifier = (binary_expression "psVar5 + 4" identifier + number_literal)) ;) (if_statement "if (__s2 == (char *)0x0) {\n          return 0;\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          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*param_1 = 0x31;" (assignment_expression "*param_1 = 0x31" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[2] = puVar1 + iVar4 * 0x10;" (assignment_expression "param_1[2] = puVar1 + iVar4 * 0x10" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "puVar1 + iVar4 * 0x10" identifier + (binary_expression "iVar4 * 0x10" identifier * number_literal))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint cplus_demangle_fill_operator(demangle_component *p,char *opname,int args)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((p != (demangle_component *)0x0) && (opname != (char *)0x0)) {\n    sVar2 = strlen(opname);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" comment comment (function_definition "int cplus_demangle_fill_operator(demangle_component *p,char *opname,int args)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((p != (demangle_component *)0x0) && (opname != (char *)0x0)) {\n    sVar2 = strlen(opname);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\n    }\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  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((p != (demangle_component *)0x0) && (opname != (char *)0x0)) {\n    sVar2 = strlen(opname);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t *psVar5;" primitive_type (pointer_declarator "*psVar5" * identifier) ;) (if_statement "if ((p != (demangle_component *)0x0) && (opname != (char *)0x0)) {\n    sVar2 = strlen(opname);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\n    }\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    sVar2 = strlen(opname);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\n    }\n  }" { (expression_statement "sVar2 = strlen(opname);" (assignment_expression "sVar2 = strlen(opname)" identifier = (call_expression "strlen(opname)" identifier (argument_list "(opname)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_cplus_demangle_operators_0003efc4;" (assignment_expression "puVar1 = PTR_cplus_demangle_operators_0003efc4" identifier = identifier) ;) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" identifier = (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" * (cast_expression "(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 4)" ( (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\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      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      p->type = DEMANGLE_COMPONENT_OPERATOR;\n      (p->u).s_name.s = puVar1 + iVar4 * 0x10;\n      p->d_printing = 0;\n      return 1;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);" (assignment_expression "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" identifier = (cast_expression "(size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 8)" ( (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 8" identifier + number_literal) )))) ;) (while_statement "while (((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             ))" ( (parenthesized_expression "((*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)\n             )" ( (binary_expression "(*psVar5 != sVar2 || (psVar5[1] != args)) || (iVar3 = strcmp(opname,__s2), iVar3 != 0)" (parenthesized_expression "(*psVar5 != sVar2 || (psVar5[1] != args))" ( (binary_expression "*psVar5 != sVar2 || (psVar5[1] != args)" (binary_expression "*psVar5 != sVar2" (pointer_expression "*psVar5" * identifier) != identifier) || (parenthesized_expression "(psVar5[1] != args)" ( (binary_expression "psVar5[1] != args" (subscript_expression "psVar5[1]" 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        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" { (expression_statement "__s2 = (char *)psVar5[3];" (assignment_expression "__s2 = (char *)psVar5[3]" identifier = (cast_expression "(char *)psVar5[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "psVar5 = psVar5 + 4;" (assignment_expression "psVar5 = psVar5 + 4" identifier = (binary_expression "psVar5 + 4" identifier + number_literal)) ;) (if_statement "if (__s2 == (char *)0x0) {\n          return 0;\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          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (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->u).s_name.s = puVar1 + iVar4 * 0x10;" (assignment_expression "(p->u).s_name.s = puVar1 + iVar4 * 0x10" (field_expression "(p->u).s_name.s" (field_expression "(p->u).s_name" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "puVar1 + iVar4 * 0x10" identifier + (binary_expression "iVar4 * 0x10" identifier * number_literal))) ;) (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 ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,size_t param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t *psVar5;" primitive_type (pointer_declarator "*psVar5" * identifier) ;) (if_statement "if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }" if (parenthesized_expression "((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0))" ( (binary_expression "(param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" 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    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }" { (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_cplus_demangle_operators_0003efc4;" (assignment_expression "puVar1 = PTR_cplus_demangle_operators_0003efc4" identifier = identifier) ;) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" identifier = (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" * (cast_expression "(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 4)" ( (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\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      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);" (assignment_expression "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" identifier = (cast_expression "(size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 8)" ( (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 8" identifier + number_literal) )))) ;) (while_statement "while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0)))" ( (parenthesized_expression "((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))" ( (binary_expression "(*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0)" (parenthesized_expression "(*psVar5 != sVar2 || (psVar5[1] != param_3))" ( (binary_expression "*psVar5 != sVar2 || (psVar5[1] != param_3)" (binary_expression "*psVar5 != sVar2" (pointer_expression "*psVar5" * identifier) != identifier) || (parenthesized_expression "(psVar5[1] != param_3)" ( (binary_expression "psVar5[1] != param_3" (subscript_expression "psVar5[1]" 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        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" { (expression_statement "__s2 = (char *)psVar5[3];" (assignment_expression "__s2 = (char *)psVar5[3]" identifier = (cast_expression "(char *)psVar5[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "psVar5 = psVar5 + 4;" (assignment_expression "psVar5 = psVar5 + 4" identifier = (binary_expression "psVar5 + 4" identifier + number_literal)) ;) (if_statement "if (__s2 == (char *)0x0) {\n          return 0;\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          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*param_1 = 0x31;" (assignment_expression "*param_1 = 0x31" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[2] = puVar1 + iVar4 * 0x10;" (assignment_expression "param_1[2] = puVar1 + iVar4 * 0x10" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "puVar1 + iVar4 * 0x10" identifier + (binary_expression "iVar4 * 0x10" identifier * number_literal))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 1;" return 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 IDENT ;) (declaration TYPE (pointer_declarator * 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 { (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) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) != IDENT) || (parenthesized_expression ( (binary_expression (subscript_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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002cee0(undefined4 *param_1,char *param_2,size_t param_3)" (identifier "FUN_0002cee0") (parameter_list "(undefined4 *param_1,char *param_2,size_t param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "size_t param_3" (primitive_type "size_t") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  size_t sVar2;\n  char *__s2;\n  int iVar3;\n  int iVar4;\n  size_t *psVar5;\n  \n  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "size_t *psVar5;" (primitive_type "size_t") (pointer_declarator "*psVar5" (* "*") (identifier "psVar5")) (; ";")) (if_statement "if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {\n    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0))" (( "(") (binary_expression "(param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (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    sVar2 = strlen(param_2);\n    puVar1 = PTR_cplus_demangle_operators_0003efc4;\n    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);\n    if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }\n  }" ({ "{") (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" (identifier "sVar2") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_cplus_demangle_operators_0003efc4;" (assignment_expression "puVar1 = PTR_cplus_demangle_operators_0003efc4" (identifier "puVar1") (= "=") (identifier "PTR_cplus_demangle_operators_0003efc4")) (; ";")) (expression_statement "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);" (assignment_expression "__s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" (* "*") (cast_expression "(char **)(PTR_cplus_demangle_operators_0003efc4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 4)" (( "(") (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 4" (identifier "PTR_cplus_demangle_operators_0003efc4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (__s2 != (char *)0x0) {\n      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\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      iVar4 = 0;\n      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);\n      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }\n      *param_1 = 0x31;\n      param_1[2] = puVar1 + iVar4 * 0x10;\n      param_1[1] = 0;\n      return 1;\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);" (assignment_expression "psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" (identifier "psVar5") (= "=") (cast_expression "(size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_cplus_demangle_operators_0003efc4 + 8)" (( "(") (binary_expression "PTR_cplus_demangle_operators_0003efc4 + 8" (identifier "PTR_cplus_demangle_operators_0003efc4") (+ "+") (number_literal "8")) () ")")))) (; ";")) (while_statement "while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {\n        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" (while "while") (parenthesized_expression "(((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0)))" (( "(") (parenthesized_expression "((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))" (( "(") (binary_expression "(*psVar5 != sVar2 || (psVar5[1] != param_3)) ||\n             (iVar3 = strcmp(param_2,__s2), iVar3 != 0)" (parenthesized_expression "(*psVar5 != sVar2 || (psVar5[1] != param_3))" (( "(") (binary_expression "*psVar5 != sVar2 || (psVar5[1] != param_3)" (binary_expression "*psVar5 != sVar2" (pointer_expression "*psVar5" (* "*") (identifier "psVar5")) (!= "!=") (identifier "sVar2")) (|| "||") (parenthesized_expression "(psVar5[1] != param_3)" (( "(") (binary_expression "psVar5[1] != param_3" (subscript_expression "psVar5[1]" (identifier "psVar5") ([ "[") (number_literal "1") (] "]")) (!= "!=") (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        __s2 = (char *)psVar5[3];\n        iVar4 = iVar4 + 1;\n        psVar5 = psVar5 + 4;\n        if (__s2 == (char *)0x0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "__s2 = (char *)psVar5[3];" (assignment_expression "__s2 = (char *)psVar5[3]" (identifier "__s2") (= "=") (cast_expression "(char *)psVar5[3]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "psVar5[3]" (identifier "psVar5") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "psVar5 = psVar5 + 4;" (assignment_expression "psVar5 = psVar5 + 4" (identifier "psVar5") (= "=") (binary_expression "psVar5 + 4" (identifier "psVar5") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (__s2 == (char *)0x0) {\n          return 0;\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          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "*param_1 = 0x31;" (assignment_expression "*param_1 = 0x31" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x31")) (; ";")) (expression_statement "param_1[2] = puVar1 + iVar4 * 0x10;" (assignment_expression "param_1[2] = puVar1 + iVar4 * 0x10" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "puVar1 + iVar4 * 0x10" (identifier "puVar1") (+ "+") (binary_expression "iVar4 * 0x10" (identifier "iVar4") (* "*") (number_literal "0x10")))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

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

{
  type_2 *var_12;
  size_t var_6;
  char *var_5;
  int var_9;
  int var_10;
  size_t *var_11;
  
  if ((var_1 != (type_1 *)0x0) && (var_2 != (char *)0x0)) {
    var_6 = var_3(var_2);
    var_12 = var_4;
    var_5 = *(char **)(var_4 + 4);
    if (var_5 != (char *)0x0) {
      var_10 = 0;
      var_11 = (size_t *)(var_4 + 8);
      while (((*var_11 != var_6 || (var_11[1] != var_7)) || (var_9 = var_8(var_2,var_5), var_9 != 0)
             )) {
        var_5 = (char *)var_11[3];
        var_10 = var_10 + 1;
        var_11 = var_11 + 4;
        if (var_5 == (char *)0x0) {
          return 0;
        }
      }
      var_1->type = DEMANGLE_COMPONENT_OPERATOR;
      (var_1->u).s_name.s = var_12 + var_10 * 0x10;
      var_1->d_printing = 0;
      return 1;
    }
  }
  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: (primitive_type) 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: (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 (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))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (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))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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 (return_statement (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (number_literal)))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(undefined4 *param_1,char *param_2,size_t param_3)

{
  undefined *puVar1;
  size_t sVar2;
  char *__s2;
  int iVar3;
  int iVar4;
  size_t *psVar5;
  
  if ((param_1 != (undefined4 *)0x0) && (param_2 != (char *)0x0)) {
    sVar2 = strlen(param_2);
    puVar1 = PTR_cplus_demangle_operators_0003efc4;
    __s2 = *(char **)(PTR_cplus_demangle_operators_0003efc4 + 4);
    if (__s2 != (char *)0x0) {
      iVar4 = 0;
      psVar5 = (size_t *)(PTR_cplus_demangle_operators_0003efc4 + 8);
      while (((*psVar5 != sVar2 || (psVar5[1] != param_3)) ||
             (iVar3 = strcmp(param_2,__s2), iVar3 != 0))) {
        __s2 = (char *)psVar5[3];
        iVar4 = iVar4 + 1;
        psVar5 = psVar5 + 4;
        if (__s2 == (char *)0x0) {
          return 0;
        }
      }
      *param_1 = 0x31;
      param_1[2] = puVar1 + iVar4 * 0x10;
      param_1[1] = 0;
      return 1;
    }
  }
  return 0;
}

