
demangle_component * __regparm3 d_exprlist(d_info *di,char terminator)

{
  int iVar1;
  demangle_component *pdVar2;
  demangle_component **ppdVar3;
  demangle_component *list;
  
  list = (demangle_component *)0x0;
  ppdVar3 = &list;
  if (*di->n == terminator) {
    di->n = di->n + 1;
    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,
                         (demangle_component *)0x0);
    return pdVar2;
  }
  while( true ) {
    iVar1 = di->is_expression;
    di->is_expression = 1;
    pdVar2 = d_expression_1(di);
    di->is_expression = iVar1;
    if (pdVar2 == (demangle_component *)0x0) {
      return (demangle_component *)0x0;
    }
    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0);
    *ppdVar3 = pdVar2;
    if (pdVar2 == (demangle_component *)0x0) break;
    ppdVar3 = &(pdVar2->u).s_extended_operator.name;
    if (*di->n == terminator) {
      di->n = di->n + 1;
      return list;
    }
  }
  return (demangle_component *)0x0;
}



undefined4 __regparm3 FUN_001de3d0(int param_1,char param_2)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  int local_20 [4];
  
  local_20[0] = 0;
  piVar3 = local_20;
  if (**(char **)(param_1 + 0xc) == param_2) {
    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    uVar2 = FUN_001d44f0();
    return uVar2;
  }
  while( true ) {
    uVar2 = *(undefined4 *)(param_1 + 0x30);
    *(undefined4 *)(param_1 + 0x30) = 1;
    iVar1 = FUN_001ddad0();
    *(undefined4 *)(param_1 + 0x30) = uVar2;
    if (iVar1 == 0) {
      return 0;
    }
    iVar1 = FUN_001d44f0(0);
    *piVar3 = iVar1;
    if (iVar1 == 0) break;
    piVar3 = (int *)(iVar1 + 0xc);
    if (**(char **)(param_1 + 0xc) == param_2) {
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
      return local_20[0];
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x1c
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0xc],0x0
LEA ESI,[ESP + 0xc]
CMP byte ptr [EAX],DL
JNZ 0x001de418
JMP 0x001de458
SUB ESP,0xc
MOV ECX,EAX
MOV EDX,0x2e
MOV EAX,EBX
PUSH 0x0
CALL 0x001d44f0
ADD ESP,0x10
MOV dword ptr [ESI],EAX
TEST EAX,EAX
JZ 0x001de430
LEA ESI,[EAX + 0xc]
MOV EAX,dword ptr [EBX + 0xc]
MOV ECX,EDI
CMP byte ptr [EAX],CL
JZ 0x001de440
MOV EBP,dword ptr [EBX + 0x30]
MOV dword ptr [EBX + 0x30],0x1
MOV EAX,EBX
CALL 0x001ddad0
MOV dword ptr [EBX + 0x30],EBP
TEST EAX,EAX
JNZ 0x001de3f0
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EAX,0x1
MOV dword ptr [EBX + 0xc],EAX
MOV EAX,dword ptr [ESP + 0xc]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EAX,0x1
PUSH 0x0
MOV EDX,0x2e
XOR ECX,ECX
MOV dword ptr [EBX + 0xc],EAX
MOV EAX,EBX
CALL 0x001d44f0
POP EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 __regparm3 FUN_001de3d0(int param_1,char param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_001de3d0(int param_1,char param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_001de3d0(int param_1,char param_2)" identifier (parameter_list "(int param_1,char param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3 = local_20;" (assignment_expression "piVar3 = local_20" identifier = identifier) ;) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) == param_2)" ( (binary_expression "**(char **)(param_1 + 0xc) == param_2" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) == identifier) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uVar2 = FUN_001d44f0();" (assignment_expression "uVar2 = FUN_001d44f0()" identifier = (call_expression "FUN_001d44f0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (while_statement "while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }" { (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = FUN_001ddad0();" (assignment_expression "iVar1 = FUN_001ddad0()" identifier = (call_expression "FUN_001ddad0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = FUN_001d44f0(0);" (assignment_expression "iVar1 = FUN_001d44f0(0)" identifier = (call_expression "FUN_001d44f0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*piVar3 = iVar1;" (assignment_expression "*piVar3 = iVar1" (pointer_expression "*piVar3" * identifier) = identifier) ;) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = (int *)(iVar1 + 0xc);" (assignment_expression "piVar3 = (int *)(iVar1 + 0xc)" identifier = (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) ;) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) == param_2)" ( (binary_expression "**(char **)(param_1 + 0xc) == param_2" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) == identifier) )) (compound_statement "{\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }" { (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "demangle_component * __regparm3 d_exprlist(d_info *di,char terminator)\n\n{\n  int iVar1;\n  demangle_component *pdVar2;\n  demangle_component **ppdVar3;\n  demangle_component *list;\n  \n  list = (demangle_component *)0x0;\n  ppdVar3 = &list;\n  if (*di->n == terminator) {\n    di->n = di->n + 1;\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar2;\n  }\n  while( true ) {\n    iVar1 = di->is_expression;\n    di->is_expression = 1;\n    pdVar2 = d_expression_1(di);\n    di->is_expression = iVar1;\n    if (pdVar2 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0);\n    *ppdVar3 = pdVar2;\n    if (pdVar2 == (demangle_component *)0x0) break;\n    ppdVar3 = &(pdVar2->u).s_extended_operator.name;\n    if (*di->n == terminator) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }\n  return (demangle_component *)0x0;\n}\n\n" (ERROR "demangle_component * __regparm3 d_exprlist(d_info *di,char terminator)" (binary_expression "demangle_component * __regparm3 d_exprlist(d_info *di,char terminator)" identifier * (ERROR "__regparm3" identifier) (call_expression "d_exprlist(d_info *di,char terminator)" identifier (argument_list "(d_info *di,char terminator)" ( (binary_expression "d_info *di" identifier * identifier) , (ERROR "char" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  demangle_component *pdVar2;\n  demangle_component **ppdVar3;\n  demangle_component *list;\n  \n  list = (demangle_component *)0x0;\n  ppdVar3 = &list;\n  if (*di->n == terminator) {\n    di->n = di->n + 1;\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar2;\n  }\n  while( true ) {\n    iVar1 = di->is_expression;\n    di->is_expression = 1;\n    pdVar2 = d_expression_1(di);\n    di->is_expression = iVar1;\n    if (pdVar2 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0);\n    *ppdVar3 = pdVar2;\n    if (pdVar2 == (demangle_component *)0x0) break;\n    ppdVar3 = &(pdVar2->u).s_extended_operator.name;\n    if (*di->n == terminator) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }\n  return (demangle_component *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "demangle_component *pdVar2;" type_identifier (pointer_declarator "*pdVar2" * identifier) ;) (declaration "demangle_component **ppdVar3;" type_identifier (pointer_declarator "**ppdVar3" * (pointer_declarator "*ppdVar3" * identifier)) ;) (declaration "demangle_component *list;" type_identifier (pointer_declarator "*list" * identifier) ;) (expression_statement "list = (demangle_component *)0x0;" (assignment_expression "list = (demangle_component *)0x0" identifier = (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppdVar3 = &list;" (assignment_expression "ppdVar3 = &list" identifier = (pointer_expression "&list" & identifier)) ;) (if_statement "if (*di->n == terminator) {\n    di->n = di->n + 1;\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar2;\n  }" if (parenthesized_expression "(*di->n == terminator)" ( (binary_expression "*di->n == terminator" (pointer_expression "*di->n" * (field_expression "di->n" identifier -> field_identifier)) == identifier) )) (compound_statement "{\n    di->n = di->n + 1;\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar2;\n  }" { (expression_statement "di->n = di->n + 1;" (assignment_expression "di->n = di->n + 1" (field_expression "di->n" identifier -> field_identifier) = (binary_expression "di->n + 1" (field_expression "di->n" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);" (assignment_expression "pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0)" identifier = (call_expression "d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0)" identifier (argument_list "(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0)" ( identifier , identifier , (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (return_statement "return pdVar2;" return identifier ;) })) (while_statement "while( true ) {\n    iVar1 = di->is_expression;\n    di->is_expression = 1;\n    pdVar2 = d_expression_1(di);\n    di->is_expression = iVar1;\n    if (pdVar2 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0);\n    *ppdVar3 = pdVar2;\n    if (pdVar2 == (demangle_component *)0x0) break;\n    ppdVar3 = &(pdVar2->u).s_extended_operator.name;\n    if (*di->n == terminator) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = di->is_expression;\n    di->is_expression = 1;\n    pdVar2 = d_expression_1(di);\n    di->is_expression = iVar1;\n    if (pdVar2 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0);\n    *ppdVar3 = pdVar2;\n    if (pdVar2 == (demangle_component *)0x0) break;\n    ppdVar3 = &(pdVar2->u).s_extended_operator.name;\n    if (*di->n == terminator) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }" { (expression_statement "iVar1 = di->is_expression;" (assignment_expression "iVar1 = di->is_expression" identifier = (field_expression "di->is_expression" identifier -> field_identifier)) ;) (expression_statement "di->is_expression = 1;" (assignment_expression "di->is_expression = 1" (field_expression "di->is_expression" identifier -> field_identifier) = number_literal) ;) (expression_statement "pdVar2 = d_expression_1(di);" (assignment_expression "pdVar2 = d_expression_1(di)" identifier = (call_expression "d_expression_1(di)" identifier (argument_list "(di)" ( identifier )))) ;) (expression_statement "di->is_expression = iVar1;" (assignment_expression "di->is_expression = iVar1" (field_expression "di->is_expression" identifier -> field_identifier) = identifier) ;) (if_statement "if (pdVar2 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }" if (parenthesized_expression "(pdVar2 == (demangle_component *)0x0)" ( (binary_expression "pdVar2 == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (demangle_component *)0x0;\n    }" { (return_statement "return (demangle_component *)0x0;" return (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0);" (assignment_expression "pdVar2 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0)" identifier = (call_expression "d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0)" identifier (argument_list "(di,DEMANGLE_COMPONENT_ARGLIST,pdVar2,(demangle_component *)0x0)" ( identifier , identifier , identifier , (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "*ppdVar3 = pdVar2;" (assignment_expression "*ppdVar3 = pdVar2" (pointer_expression "*ppdVar3" * identifier) = identifier) ;) (if_statement "if (pdVar2 == (demangle_component *)0x0) break;" if (parenthesized_expression "(pdVar2 == (demangle_component *)0x0)" ( (binary_expression "pdVar2 == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "ppdVar3 = &(pdVar2->u).s_extended_operator.name;" (assignment_expression "ppdVar3 = &(pdVar2->u).s_extended_operator.name" identifier = (pointer_expression "&(pdVar2->u).s_extended_operator.name" & (field_expression "(pdVar2->u).s_extended_operator.name" (field_expression "(pdVar2->u).s_extended_operator" (parenthesized_expression "(pdVar2->u)" ( (field_expression "pdVar2->u" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (if_statement "if (*di->n == terminator) {\n      di->n = di->n + 1;\n      return list;\n    }" if (parenthesized_expression "(*di->n == terminator)" ( (binary_expression "*di->n == terminator" (pointer_expression "*di->n" * (field_expression "di->n" identifier -> field_identifier)) == identifier) )) (compound_statement "{\n      di->n = di->n + 1;\n      return list;\n    }" { (expression_statement "di->n = di->n + 1;" (assignment_expression "di->n = di->n + 1" (field_expression "di->n" identifier -> field_identifier) = (binary_expression "di->n + 1" (field_expression "di->n" identifier -> field_identifier) + number_literal)) ;) (return_statement "return list;" return identifier ;) })) })) (return_statement "return (demangle_component *)0x0;" return (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "undefined4 __regparm3 FUN_001de3d0(int param_1,char param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_001de3d0(int param_1,char param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_001de3d0(int param_1,char param_2)" identifier (parameter_list "(int param_1,char param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3 = local_20;" (assignment_expression "piVar3 = local_20" identifier = identifier) ;) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) == param_2)" ( (binary_expression "**(char **)(param_1 + 0xc) == param_2" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) == identifier) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uVar2 = FUN_001d44f0();" (assignment_expression "uVar2 = FUN_001d44f0()" identifier = (call_expression "FUN_001d44f0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (while_statement "while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }" { (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = FUN_001ddad0();" (assignment_expression "iVar1 = FUN_001ddad0()" identifier = (call_expression "FUN_001ddad0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = FUN_001d44f0(0);" (assignment_expression "iVar1 = FUN_001d44f0(0)" identifier = (call_expression "FUN_001d44f0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*piVar3 = iVar1;" (assignment_expression "*piVar3 = iVar1" (pointer_expression "*piVar3" * identifier) = identifier) ;) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = (int *)(iVar1 + 0xc);" (assignment_expression "piVar3 = (int *)(iVar1 + 0xc)" identifier = (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) ;) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) == param_2)" ( (binary_expression "**(char **)(param_1 + 0xc) == param_2" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) == identifier) )) (compound_statement "{\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }" { (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_001de3d0(int param_1,char param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_001de3d0(int param_1,char param_2)" (identifier "FUN_001de3d0") (parameter_list "(int param_1,char param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int local_20 [4];\n  \n  local_20[0] = 0;\n  piVar3 = local_20;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }\n  while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int local_20 [4];" (primitive_type "int") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = local_20;" (assignment_expression "piVar3 = local_20" (identifier "piVar3") (= "=") (identifier "local_20")) (; ";")) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0xc) == param_2)" (( "(") (binary_expression "**(char **)(param_1 + 0xc) == param_2" (pointer_expression "**(char **)(param_1 + 0xc)" (* "*") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar2 = FUN_001d44f0();\n    return uVar2;\n  }" ({ "{") (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = FUN_001d44f0();" (assignment_expression "uVar2 = FUN_001d44f0()" (identifier "uVar2") (= "=") (call_expression "FUN_001d44f0()" (identifier "FUN_001d44f0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (while_statement "while( true ) {\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    uVar2 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_001ddad0();\n    *(undefined4 *)(param_1 + 0x30) = uVar2;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_001d44f0(0);\n    *piVar3 = iVar1;\n    if (iVar1 == 0) break;\n    piVar3 = (int *)(iVar1 + 0xc);\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }\n  }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = FUN_001ddad0();" (assignment_expression "iVar1 = FUN_001ddad0()" (identifier "iVar1") (= "=") (call_expression "FUN_001ddad0()" (identifier "FUN_001ddad0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (iVar1 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_001d44f0(0);" (assignment_expression "iVar1 = FUN_001d44f0(0)" (identifier "iVar1") (= "=") (call_expression "FUN_001d44f0(0)" (identifier "FUN_001d44f0") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "*piVar3 = iVar1;" (assignment_expression "*piVar3 = iVar1" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar3 = (int *)(iVar1 + 0xc);" (assignment_expression "piVar3 = (int *)(iVar1 + 0xc)" (identifier "piVar3") (= "=") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0xc) == param_2)" (( "(") (binary_expression "**(char **)(param_1 + 0xc) == param_2" (pointer_expression "**(char **)(param_1 + 0xc)" (* "*") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_20[0];\n    }" ({ "{") (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return local_20[0];" (return "return") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 * __regparm3 d_exprlist(d_info *di,char var_1)

{
  int iVar1;
  type_1 *var_4;
  type_1 **ppdVar3;
  type_1 *list;
  
  list = (type_1 *)0x0;
  ppdVar3 = &list;
  if (*di->n == var_1) {
    di->n = di->n + 1;
    var_4 = var_2(di,DEMANGLE_COMPONENT_ARGLIST,(type_1 *)0x0,
                         (type_1 *)0x0);
    return var_4;
  }
  while( true ) {
    iVar1 = di->is_expression;
    di->is_expression = 1;
    var_4 = var_3(di);
    di->is_expression = iVar1;
    if (var_4 == (type_1 *)0x0) {
      return (type_1 *)0x0;
    }
    var_4 = var_2(di,DEMANGLE_COMPONENT_ARGLIST,var_4,(type_1 *)0x0);
    *ppdVar3 = var_4;
    if (var_4 == (type_1 *)0x0) break;
    ppdVar3 = &(var_4->u).s_extended_operator.name;
    if (*di->n == var_1) {
      di->n = di->n + 1;
      return list;
    }
  }
  return (type_1 *)0x0;
}


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

undefined4 __regparm3 MASKED(int param_1,char param_2)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  int local_20 [4];
  
  local_20[0] = 0;
  piVar3 = local_20;
  if (**(char **)(param_1 + 0xc) == param_2) {
    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    uVar2 = FUN_001d44f0();
    return uVar2;
  }
  while( true ) {
    uVar2 = *(undefined4 *)(param_1 + 0x30);
    *(undefined4 *)(param_1 + 0x30) = 1;
    iVar1 = FUN_001ddad0();
    *(undefined4 *)(param_1 + 0x30) = uVar2;
    if (iVar1 == 0) {
      return 0;
    }
    iVar1 = FUN_001d44f0(0);
    *piVar3 = iVar1;
    if (iVar1 == 0) break;
    piVar3 = (int *)(iVar1 + 0xc);
    if (**(char **)(param_1 + 0xc) == param_2) {
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
      return local_20[0];
    }
  }
  return 0;
}

