
demangle_component * d_exprlist(d_info *di,char terminator)

{
  demangle_component *pdVar1;
  undefined3 in_register_00000014;
  demangle_component **ppdVar2;
  int iVar3;
  demangle_component *list;
  
  list = (demangle_component *)0x0;
  if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {
    di->n = di->n + 1;
    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,
                         (demangle_component *)0x0);
    return pdVar1;
  }
  ppdVar2 = &list;
  while( true ) {
    iVar3 = di->is_expression;
    di->is_expression = 1;
    pdVar1 = d_expression_1(di);
    di->is_expression = iVar3;
    if (pdVar1 == (demangle_component *)0x0) {
      return (demangle_component *)0x0;
    }
    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);
    *ppdVar2 = pdVar1;
    ppdVar2 = &(pdVar1->u).s_extended_operator.name;
    if (pdVar1 == (demangle_component *)0x0) break;
    if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {
      di->n = di->n + 1;
      return list;
    }
  }
  return (demangle_component *)0x0;
}



undefined4 FUN_00325ad4(int param_1,int param_2)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  int local_28 [2];
  
  local_28[0] = 0;
  if (**(char **)(param_1 + 0xc) == param_2) {
    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);
    return uVar3;
  }
  piVar2 = local_28;
  while( true ) {
    uVar3 = *(undefined4 *)(param_1 + 0x30);
    *(undefined4 *)(param_1 + 0x30) = 1;
    iVar1 = FUN_00324db0(param_1);
    *(undefined4 *)(param_1 + 0x30) = uVar3;
    if (iVar1 == 0) {
      return 0;
    }
    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);
    *piVar2 = iVar1;
    piVar2 = (int *)(iVar1 + 0xc);
    if (iVar1 == 0) break;
    if (**(char **)(param_1 + 0xc) == param_2) {
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
      return local_28[0];
    }
  }
  return 0;
}


lui gp,0x1a
addiu gp,gp,0x376c
addu gp,gp,t9
addiu sp,sp,-0x40
lw v0,0xc(a0)
sw s0,0x20(sp)
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
sw zero,0x18(sp)
lb v1,0x0(v0)
beq v1,a1,0x00325bec
_or s0,a0,zero
lw s4,-0x41f8(gp)
or s3,a1,zero
lw s5,-0x41f8(gp)
addiu s1,sp,0x18
li s6,0x1
addiu s4,s4,0x4db0
b 0x00325b64
_addiu s5,s5,-0x5860
or t9,s5,zero
bal 0x0031a7a0
_nop
sw v0,0x0(s1)
beq v0,zero,0x00325b90
_addiu s1,v0,0xc
lw v0,0xc(s0)
lb v1,0x0(v0)
beq v1,s3,0x00325bbc
_lw ra,0x3c(sp)
lw s2,0x30(s0)
or a0,s0,zero
or t9,s4,zero
bal 0x00324db0
_sw s6,0x30(s0)
or a3,zero,zero
li a1,0x2e
sw s2,0x30(s0)
or a0,s0,zero
bne v0,zero,0x00325b3c
_or a2,v0,zero
lw ra,0x3c(sp)
or v0,zero,zero
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x40
addiu v1,v0,0x1
lw s6,0x38(sp)
lw v0,0x18(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
sw v1,0xc(s0)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x41f8(gp)
addiu v0,v0,0x1
lw ra,0x3c(sp)
or a3,zero,zero
lw s6,0x38(sp)
or a2,zero,zero
lw s5,0x34(sp)
li a1,0x2e
lw s4,0x30(sp)
addiu t9,t9,-0x5860
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
sw v0,0xc(a0)
b 0x0031a7a0
_addiu sp,sp,0x40
(translation_unit "undefined4 FUN_00325ad4(int param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00325ad4(int param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00325ad4(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int local_28 [2];" primitive_type (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (expression_statement "local_28[0] = 0;" (assignment_expression "local_28[0] = 0" (subscript_expression "local_28[0]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\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    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\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 "uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);" (assignment_expression "uVar3 = FUN_0031a7a0(param_1,0x2e,0,0)" identifier = (call_expression "FUN_0031a7a0(param_1,0x2e,0,0)" identifier (argument_list "(param_1,0x2e,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "piVar2 = local_28;" (assignment_expression "piVar2 = local_28" identifier = identifier) ;) (while_statement "while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar3 = *(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_00324db0(param_1);" (assignment_expression "iVar1 = FUN_00324db0(param_1)" identifier = (call_expression "FUN_00324db0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar3" (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_0031a7a0(param_1,0x2e,iVar1,0);" (assignment_expression "iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0)" identifier = (call_expression "FUN_0031a7a0(param_1,0x2e,iVar1,0)" identifier (argument_list "(param_1,0x2e,iVar1,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2 = (int *)(iVar1 + 0xc);" (assignment_expression "piVar2 = (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 (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[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_28[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_28[0];" return (subscript_expression "local_28[0]" identifier [ number_literal ]) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "demangle_component * d_exprlist(d_info *di,char terminator)\n\n{\n  demangle_component *pdVar1;\n  undefined3 in_register_00000014;\n  demangle_component **ppdVar2;\n  int iVar3;\n  demangle_component *list;\n  \n  list = (demangle_component *)0x0;\n  if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n    di->n = di->n + 1;\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar1;\n  }\n  ppdVar2 = &list;\n  while( true ) {\n    iVar3 = di->is_expression;\n    di->is_expression = 1;\n    pdVar1 = d_expression_1(di);\n    di->is_expression = iVar3;\n    if (pdVar1 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);\n    *ppdVar2 = pdVar1;\n    ppdVar2 = &(pdVar1->u).s_extended_operator.name;\n    if (pdVar1 == (demangle_component *)0x0) break;\n    if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }\n  return (demangle_component *)0x0;\n}\n\n" (function_definition "demangle_component * d_exprlist(d_info *di,char terminator)\n\n{\n  demangle_component *pdVar1;\n  undefined3 in_register_00000014;\n  demangle_component **ppdVar2;\n  int iVar3;\n  demangle_component *list;\n  \n  list = (demangle_component *)0x0;\n  if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n    di->n = di->n + 1;\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar1;\n  }\n  ppdVar2 = &list;\n  while( true ) {\n    iVar3 = di->is_expression;\n    di->is_expression = 1;\n    pdVar1 = d_expression_1(di);\n    di->is_expression = iVar3;\n    if (pdVar1 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);\n    *ppdVar2 = pdVar1;\n    ppdVar2 = &(pdVar1->u).s_extended_operator.name;\n    if (pdVar1 == (demangle_component *)0x0) break;\n    if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }\n  return (demangle_component *)0x0;\n}" type_identifier (pointer_declarator "* d_exprlist(d_info *di,char terminator)" * (function_declarator "d_exprlist(d_info *di,char terminator)" identifier (parameter_list "(d_info *di,char terminator)" ( (parameter_declaration "d_info *di" type_identifier (pointer_declarator "*di" * identifier)) , (parameter_declaration "char terminator" primitive_type identifier) )))) (compound_statement "{\n  demangle_component *pdVar1;\n  undefined3 in_register_00000014;\n  demangle_component **ppdVar2;\n  int iVar3;\n  demangle_component *list;\n  \n  list = (demangle_component *)0x0;\n  if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n    di->n = di->n + 1;\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar1;\n  }\n  ppdVar2 = &list;\n  while( true ) {\n    iVar3 = di->is_expression;\n    di->is_expression = 1;\n    pdVar1 = d_expression_1(di);\n    di->is_expression = iVar3;\n    if (pdVar1 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);\n    *ppdVar2 = pdVar1;\n    ppdVar2 = &(pdVar1->u).s_extended_operator.name;\n    if (pdVar1 == (demangle_component *)0x0) break;\n    if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }\n  return (demangle_component *)0x0;\n}" { (declaration "demangle_component *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (declaration "demangle_component **ppdVar2;" type_identifier (pointer_declarator "**ppdVar2" * (pointer_declarator "*ppdVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type 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)) ;) (if_statement "if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n    di->n = di->n + 1;\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar1;\n  }" if (parenthesized_expression "((int)*di->n == CONCAT31(in_register_00000014,terminator))" ( (binary_expression "(int)*di->n == CONCAT31(in_register_00000014,terminator)" (cast_expression "(int)*di->n" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*di->n" * (field_expression "di->n" identifier -> field_identifier))) == (call_expression "CONCAT31(in_register_00000014,terminator)" identifier (argument_list "(in_register_00000014,terminator)" ( identifier , identifier )))) )) (compound_statement "{\n    di->n = di->n + 1;\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);\n    return pdVar1;\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 "pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,(demangle_component *)0x0,\n                         (demangle_component *)0x0);" (assignment_expression "pdVar1 = 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 pdVar1;" return identifier ;) })) (expression_statement "ppdVar2 = &list;" (assignment_expression "ppdVar2 = &list" identifier = (pointer_expression "&list" & identifier)) ;) (while_statement "while( true ) {\n    iVar3 = di->is_expression;\n    di->is_expression = 1;\n    pdVar1 = d_expression_1(di);\n    di->is_expression = iVar3;\n    if (pdVar1 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);\n    *ppdVar2 = pdVar1;\n    ppdVar2 = &(pdVar1->u).s_extended_operator.name;\n    if (pdVar1 == (demangle_component *)0x0) break;\n    if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar3 = di->is_expression;\n    di->is_expression = 1;\n    pdVar1 = d_expression_1(di);\n    di->is_expression = iVar3;\n    if (pdVar1 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }\n    pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);\n    *ppdVar2 = pdVar1;\n    ppdVar2 = &(pdVar1->u).s_extended_operator.name;\n    if (pdVar1 == (demangle_component *)0x0) break;\n    if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n      di->n = di->n + 1;\n      return list;\n    }\n  }" { (expression_statement "iVar3 = di->is_expression;" (assignment_expression "iVar3 = 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 "pdVar1 = d_expression_1(di);" (assignment_expression "pdVar1 = d_expression_1(di)" identifier = (call_expression "d_expression_1(di)" identifier (argument_list "(di)" ( identifier )))) ;) (expression_statement "di->is_expression = iVar3;" (assignment_expression "di->is_expression = iVar3" (field_expression "di->is_expression" identifier -> field_identifier) = identifier) ;) (if_statement "if (pdVar1 == (demangle_component *)0x0) {\n      return (demangle_component *)0x0;\n    }" if (parenthesized_expression "(pdVar1 == (demangle_component *)0x0)" ( (binary_expression "pdVar1 == (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 "pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0);" (assignment_expression "pdVar1 = d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0)" identifier = (call_expression "d_make_comp(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0)" identifier (argument_list "(di,DEMANGLE_COMPONENT_ARGLIST,pdVar1,(demangle_component *)0x0)" ( identifier , identifier , identifier , (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "*ppdVar2 = pdVar1;" (assignment_expression "*ppdVar2 = pdVar1" (pointer_expression "*ppdVar2" * identifier) = identifier) ;) (expression_statement "ppdVar2 = &(pdVar1->u).s_extended_operator.name;" (assignment_expression "ppdVar2 = &(pdVar1->u).s_extended_operator.name" identifier = (pointer_expression "&(pdVar1->u).s_extended_operator.name" & (field_expression "(pdVar1->u).s_extended_operator.name" (field_expression "(pdVar1->u).s_extended_operator" (parenthesized_expression "(pdVar1->u)" ( (field_expression "pdVar1->u" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (if_statement "if (pdVar1 == (demangle_component *)0x0) break;" if (parenthesized_expression "(pdVar1 == (demangle_component *)0x0)" ( (binary_expression "pdVar1 == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (if_statement "if ((int)*di->n == CONCAT31(in_register_00000014,terminator)) {\n      di->n = di->n + 1;\n      return list;\n    }" if (parenthesized_expression "((int)*di->n == CONCAT31(in_register_00000014,terminator))" ( (binary_expression "(int)*di->n == CONCAT31(in_register_00000014,terminator)" (cast_expression "(int)*di->n" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*di->n" * (field_expression "di->n" identifier -> field_identifier))) == (call_expression "CONCAT31(in_register_00000014,terminator)" identifier (argument_list "(in_register_00000014,terminator)" ( 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 FUN_00325ad4(int param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00325ad4(int param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00325ad4(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int local_28 [2];" primitive_type (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (expression_statement "local_28[0] = 0;" (assignment_expression "local_28[0] = 0" (subscript_expression "local_28[0]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\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    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\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 "uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);" (assignment_expression "uVar3 = FUN_0031a7a0(param_1,0x2e,0,0)" identifier = (call_expression "FUN_0031a7a0(param_1,0x2e,0,0)" identifier (argument_list "(param_1,0x2e,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "piVar2 = local_28;" (assignment_expression "piVar2 = local_28" identifier = identifier) ;) (while_statement "while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar3 = *(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_00324db0(param_1);" (assignment_expression "iVar1 = FUN_00324db0(param_1)" identifier = (call_expression "FUN_00324db0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar3" (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_0031a7a0(param_1,0x2e,iVar1,0);" (assignment_expression "iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0)" identifier = (call_expression "FUN_0031a7a0(param_1,0x2e,iVar1,0)" identifier (argument_list "(param_1,0x2e,iVar1,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2 = (int *)(iVar1 + 0xc);" (assignment_expression "piVar2 = (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 (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[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_28[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_28[0];" return (subscript_expression "local_28[0]" identifier [ number_literal ]) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = 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 ( IDENT )))) ;) (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 ( IDENT , LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (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 IDENT == LIT) )) (break_statement break ;)) (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 FUN_00325ad4(int param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00325ad4(int param_1,int param_2)" (identifier "FUN_00325ad4") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int local_28 [2];\n  \n  local_28[0] = 0;\n  if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\n  }\n  piVar2 = local_28;\n  while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int local_28 [2];" (primitive_type "int") (array_declarator "local_28 [2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "local_28[0] = 0;" (assignment_expression "local_28[0] = 0" (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\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    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);\n    return uVar3;\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 "uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);" (assignment_expression "uVar3 = FUN_0031a7a0(param_1,0x2e,0,0)" (identifier "uVar3") (= "=") (call_expression "FUN_0031a7a0(param_1,0x2e,0,0)" (identifier "FUN_0031a7a0") (argument_list "(param_1,0x2e,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2e") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "piVar2 = local_28;" (assignment_expression "piVar2 = local_28" (identifier "piVar2") (= "=") (identifier "local_28")) (; ";")) (while_statement "while( true ) {\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 0x30);\n    *(undefined4 *)(param_1 + 0x30) = 1;\n    iVar1 = FUN_00324db0(param_1);\n    *(undefined4 *)(param_1 + 0x30) = uVar3;\n    if (iVar1 == 0) {\n      return 0;\n    }\n    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);\n    *piVar2 = iVar1;\n    piVar2 = (int *)(iVar1 + 0xc);\n    if (iVar1 == 0) break;\n    if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[0];\n    }\n  }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x30)" (identifier "uVar3") (= "=") (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_00324db0(param_1);" (assignment_expression "iVar1 = FUN_00324db0(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_00324db0(param_1)" (identifier "FUN_00324db0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar3" (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 "uVar3")) (; ";")) (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_0031a7a0(param_1,0x2e,iVar1,0);" (assignment_expression "iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0)" (identifier "iVar1") (= "=") (call_expression "FUN_0031a7a0(param_1,0x2e,iVar1,0)" (identifier "FUN_0031a7a0") (argument_list "(param_1,0x2e,iVar1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2e") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "piVar2 = (int *)(iVar1 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar1 + 0xc)" (identifier "piVar2") (= "=") (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 (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (**(char **)(param_1 + 0xc) == param_2) {\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n      return local_28[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_28[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_28[0];" (return "return") (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]")) (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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))) (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 (identifier) (number_literal) (number_literal) (number_literal))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier))))) (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 (identifier) (number_literal) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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: (identifier) right: (number_literal))) consequence: (break_statement)) (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 MASKED(int param_1,int param_2)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  int local_28 [2];
  
  local_28[0] = 0;
  if (**(char **)(param_1 + 0xc) == param_2) {
    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    uVar3 = FUN_0031a7a0(param_1,0x2e,0,0);
    return uVar3;
  }
  piVar2 = local_28;
  while( true ) {
    uVar3 = *(undefined4 *)(param_1 + 0x30);
    *(undefined4 *)(param_1 + 0x30) = 1;
    iVar1 = FUN_00324db0(param_1);
    *(undefined4 *)(param_1 + 0x30) = uVar3;
    if (iVar1 == 0) {
      return 0;
    }
    iVar1 = FUN_0031a7a0(param_1,0x2e,iVar1,0);
    *piVar2 = iVar1;
    piVar2 = (int *)(iVar1 + 0xc);
    if (iVar1 == 0) break;
    if (**(char **)(param_1 + 0xc) == param_2) {
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
      return local_28[0];
    }
  }
  return 0;
}

