
int demangle_nested_args(work_stuff *work,char **mangled,string *declp)

{
  int iVar1;
  string *psVar2;
  int iVar3;
  string *__ptr;
  
  psVar2 = work->previous_argument;
  work->forgetting_types = work->forgetting_types + 1;
  iVar1 = work->nrepeats;
  work->previous_argument = (string *)0x0;
  work->nrepeats = 0;
  iVar3 = demangle_args(work,mangled,declp);
  __ptr = work->previous_argument;
  if (__ptr != (string *)0x0) {
    if (__ptr->b != (char *)0x0) {
      free(__ptr->b);
      __ptr->p = (char *)0x0;
      __ptr->e = (char *)0x0;
      __ptr->b = (char *)0x0;
      __ptr = work->previous_argument;
    }
    free(__ptr);
  }
  work->previous_argument = psVar2;
  work->nrepeats = iVar1;
  work->forgetting_types = work->forgetting_types + -1;
  return iVar3;
}



undefined4 FUN_00263260(long param_1)

{
  undefined4 uVar1;
  undefined8 uVar2;
  undefined4 uVar3;
  undefined8 *__ptr;
  
  uVar2 = *(undefined8 *)(param_1 + 0x60);
  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;
  uVar1 = *(undefined4 *)(param_1 + 0x68);
  *(undefined8 *)(param_1 + 0x60) = 0;
  *(undefined4 *)(param_1 + 0x68) = 0;
  uVar3 = FUN_00262f30();
  __ptr = *(undefined8 **)(param_1 + 0x60);
  if (__ptr != (undefined8 *)0x0) {
    if ((void *)*__ptr != (void *)0x0) {
      free((void *)*__ptr);
      __ptr[1] = 0;
      __ptr[2] = 0;
      *__ptr = 0;
      __ptr = *(undefined8 **)(param_1 + 0x60);
    }
    free(__ptr);
  }
  *(undefined8 *)(param_1 + 0x60) = uVar2;
  *(undefined4 *)(param_1 + 0x68) = uVar1;
  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;
  return uVar3;
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
MOV R14,qword ptr [RDI + 0x60]
MOV RBX,RDI
ADD dword ptr [RDI + 0x5c],0x1
MOV R13D,dword ptr [RDI + 0x68]
MOV qword ptr [RDI + 0x60],0x0
MOV dword ptr [RDI + 0x68],0x0
CALL 0x00262f30
MOV RBP,qword ptr [RBX + 0x60]
MOV R12D,EAX
TEST RBP,RBP
JZ 0x002632c9
MOV RDI,qword ptr [RBP]
TEST RDI,RDI
JZ 0x002632c1
CALL 0x0013e470
MOV qword ptr [RBP + 0x8],0x0
MOV qword ptr [RBP + 0x10],0x0
MOV qword ptr [RBP],0x0
MOV RBP,qword ptr [RBX + 0x60]
MOV RDI,RBP
CALL 0x0013e470
MOV qword ptr [RBX + 0x60],R14
MOV EAX,R12D
MOV dword ptr [RBX + 0x68],R13D
SUB dword ptr [RBX + 0x5c],0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "undefined4 FUN_00263260(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00263260(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00263260(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined8 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "uVar2 = *(undefined8 *)(param_1 + 0x60);" (assignment_expression "uVar2 = *(undefined8 *)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;" (assignment_expression "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x5c) + 1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x68);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x68)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = FUN_00262f30();" (assignment_expression "uVar3 = FUN_00262f30()" identifier = (call_expression "FUN_00262f30()" identifier (argument_list "()" ( )))) ;) (expression_statement "__ptr = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "__ptr = *(undefined8 **)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x60)" * (cast_expression "(undefined8 **)(param_1 + 0x60)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr != (undefined8 *)0x0)" ( (binary_expression "__ptr != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }" { (if_statement "if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }" if (parenthesized_expression "((void *)*__ptr != (void *)0x0)" ( (binary_expression "(void *)*__ptr != (void *)0x0" (cast_expression "(void *)*__ptr" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }" { (expression_statement "free((void *)*__ptr);" (call_expression "free((void *)*__ptr)" identifier (argument_list "((void *)*__ptr)" ( (cast_expression "(void *)*__ptr" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier)) ))) ;) (expression_statement "__ptr[1] = 0;" (assignment_expression "__ptr[1] = 0" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[2] = 0;" (assignment_expression "__ptr[2] = 0" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*__ptr = 0;" (assignment_expression "*__ptr = 0" (pointer_expression "*__ptr" * identifier) = number_literal) ;) (expression_statement "__ptr = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "__ptr = *(undefined8 **)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x60)" * (cast_expression "(undefined8 **)(param_1 + 0x60)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (expression_statement "*(undefined8 *)(param_1 + 0x60) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;" (assignment_expression "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x5c) + -1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int demangle_nested_args(work_stuff *work,char **mangled,string *declp)\n\n{\n  int iVar1;\n  string *psVar2;\n  int iVar3;\n  string *__ptr;\n  \n  psVar2 = work->previous_argument;\n  work->forgetting_types = work->forgetting_types + 1;\n  iVar1 = work->nrepeats;\n  work->previous_argument = (string *)0x0;\n  work->nrepeats = 0;\n  iVar3 = demangle_args(work,mangled,declp);\n  __ptr = work->previous_argument;\n  if (__ptr != (string *)0x0) {\n    if (__ptr->b != (char *)0x0) {\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }\n    free(__ptr);\n  }\n  work->previous_argument = psVar2;\n  work->nrepeats = iVar1;\n  work->forgetting_types = work->forgetting_types + -1;\n  return iVar3;\n}\n\n" (function_definition "int demangle_nested_args(work_stuff *work,char **mangled,string *declp)\n\n{\n  int iVar1;\n  string *psVar2;\n  int iVar3;\n  string *__ptr;\n  \n  psVar2 = work->previous_argument;\n  work->forgetting_types = work->forgetting_types + 1;\n  iVar1 = work->nrepeats;\n  work->previous_argument = (string *)0x0;\n  work->nrepeats = 0;\n  iVar3 = demangle_args(work,mangled,declp);\n  __ptr = work->previous_argument;\n  if (__ptr != (string *)0x0) {\n    if (__ptr->b != (char *)0x0) {\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }\n    free(__ptr);\n  }\n  work->previous_argument = psVar2;\n  work->nrepeats = iVar1;\n  work->forgetting_types = work->forgetting_types + -1;\n  return iVar3;\n}" primitive_type (function_declarator "demangle_nested_args(work_stuff *work,char **mangled,string *declp)" identifier (parameter_list "(work_stuff *work,char **mangled,string *declp)" ( (parameter_declaration "work_stuff *work" type_identifier (pointer_declarator "*work" * identifier)) , (parameter_declaration "char **mangled" primitive_type (pointer_declarator "**mangled" * (pointer_declarator "*mangled" * identifier))) , (parameter_declaration "string *declp" type_identifier (pointer_declarator "*declp" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  string *psVar2;\n  int iVar3;\n  string *__ptr;\n  \n  psVar2 = work->previous_argument;\n  work->forgetting_types = work->forgetting_types + 1;\n  iVar1 = work->nrepeats;\n  work->previous_argument = (string *)0x0;\n  work->nrepeats = 0;\n  iVar3 = demangle_args(work,mangled,declp);\n  __ptr = work->previous_argument;\n  if (__ptr != (string *)0x0) {\n    if (__ptr->b != (char *)0x0) {\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }\n    free(__ptr);\n  }\n  work->previous_argument = psVar2;\n  work->nrepeats = iVar1;\n  work->forgetting_types = work->forgetting_types + -1;\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "string *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "string *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "psVar2 = work->previous_argument;" (assignment_expression "psVar2 = work->previous_argument" identifier = (field_expression "work->previous_argument" identifier -> field_identifier)) ;) (expression_statement "work->forgetting_types = work->forgetting_types + 1;" (assignment_expression "work->forgetting_types = work->forgetting_types + 1" (field_expression "work->forgetting_types" identifier -> field_identifier) = (binary_expression "work->forgetting_types + 1" (field_expression "work->forgetting_types" identifier -> field_identifier) + number_literal)) ;) (expression_statement "iVar1 = work->nrepeats;" (assignment_expression "iVar1 = work->nrepeats" identifier = (field_expression "work->nrepeats" identifier -> field_identifier)) ;) (expression_statement "work->previous_argument = (string *)0x0;" (assignment_expression "work->previous_argument = (string *)0x0" (field_expression "work->previous_argument" identifier -> field_identifier) = (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "work->nrepeats = 0;" (assignment_expression "work->nrepeats = 0" (field_expression "work->nrepeats" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar3 = demangle_args(work,mangled,declp);" (assignment_expression "iVar3 = demangle_args(work,mangled,declp)" identifier = (call_expression "demangle_args(work,mangled,declp)" identifier (argument_list "(work,mangled,declp)" ( identifier , identifier , identifier )))) ;) (expression_statement "__ptr = work->previous_argument;" (assignment_expression "__ptr = work->previous_argument" identifier = (field_expression "work->previous_argument" identifier -> field_identifier)) ;) (if_statement "if (__ptr != (string *)0x0) {\n    if (__ptr->b != (char *)0x0) {\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr != (string *)0x0)" ( (binary_expression "__ptr != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (__ptr->b != (char *)0x0) {\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }\n    free(__ptr);\n  }" { (if_statement "if (__ptr->b != (char *)0x0) {\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }" if (parenthesized_expression "(__ptr->b != (char *)0x0)" ( (binary_expression "__ptr->b != (char *)0x0" (field_expression "__ptr->b" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(__ptr->b);\n      __ptr->p = (char *)0x0;\n      __ptr->e = (char *)0x0;\n      __ptr->b = (char *)0x0;\n      __ptr = work->previous_argument;\n    }" { (expression_statement "free(__ptr->b);" (call_expression "free(__ptr->b)" identifier (argument_list "(__ptr->b)" ( (field_expression "__ptr->b" identifier -> field_identifier) ))) ;) (expression_statement "__ptr->p = (char *)0x0;" (assignment_expression "__ptr->p = (char *)0x0" (field_expression "__ptr->p" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr->e = (char *)0x0;" (assignment_expression "__ptr->e = (char *)0x0" (field_expression "__ptr->e" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr->b = (char *)0x0;" (assignment_expression "__ptr->b = (char *)0x0" (field_expression "__ptr->b" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = work->previous_argument;" (assignment_expression "__ptr = work->previous_argument" identifier = (field_expression "work->previous_argument" identifier -> field_identifier)) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (expression_statement "work->previous_argument = psVar2;" (assignment_expression "work->previous_argument = psVar2" (field_expression "work->previous_argument" identifier -> field_identifier) = identifier) ;) (expression_statement "work->nrepeats = iVar1;" (assignment_expression "work->nrepeats = iVar1" (field_expression "work->nrepeats" identifier -> field_identifier) = identifier) ;) (expression_statement "work->forgetting_types = work->forgetting_types + -1;" (assignment_expression "work->forgetting_types = work->forgetting_types + -1" (field_expression "work->forgetting_types" identifier -> field_identifier) = (binary_expression "work->forgetting_types + -1" (field_expression "work->forgetting_types" identifier -> field_identifier) + number_literal)) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "undefined4 FUN_00263260(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00263260(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00263260(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined8 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "uVar2 = *(undefined8 *)(param_1 + 0x60);" (assignment_expression "uVar2 = *(undefined8 *)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;" (assignment_expression "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x5c) + 1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x68);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x68)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = FUN_00262f30();" (assignment_expression "uVar3 = FUN_00262f30()" identifier = (call_expression "FUN_00262f30()" identifier (argument_list "()" ( )))) ;) (expression_statement "__ptr = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "__ptr = *(undefined8 **)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x60)" * (cast_expression "(undefined8 **)(param_1 + 0x60)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr != (undefined8 *)0x0)" ( (binary_expression "__ptr != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }" { (if_statement "if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }" if (parenthesized_expression "((void *)*__ptr != (void *)0x0)" ( (binary_expression "(void *)*__ptr != (void *)0x0" (cast_expression "(void *)*__ptr" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }" { (expression_statement "free((void *)*__ptr);" (call_expression "free((void *)*__ptr)" identifier (argument_list "((void *)*__ptr)" ( (cast_expression "(void *)*__ptr" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier)) ))) ;) (expression_statement "__ptr[1] = 0;" (assignment_expression "__ptr[1] = 0" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[2] = 0;" (assignment_expression "__ptr[2] = 0" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*__ptr = 0;" (assignment_expression "*__ptr = 0" (pointer_expression "*__ptr" * identifier) = number_literal) ;) (expression_statement "__ptr = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "__ptr = *(undefined8 **)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x60)" * (cast_expression "(undefined8 **)(param_1 + 0x60)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (expression_statement "*(undefined8 *)(param_1 + 0x60) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;" (assignment_expression "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x5c) + -1" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (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 (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00263260(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_00263260(long param_1)" (identifier "FUN_00263260") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 uVar3;\n  undefined8 *__ptr;\n  \n  uVar2 = *(undefined8 *)(param_1 + 0x60);\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;\n  uVar1 = *(undefined4 *)(param_1 + 0x68);\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x68) = 0;\n  uVar3 = FUN_00262f30();\n  __ptr = *(undefined8 **)(param_1 + 0x60);\n  if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }\n  *(undefined8 *)(param_1 + 0x60) = uVar2;\n  *(undefined4 *)(param_1 + 0x68) = uVar1;\n  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;\n  return uVar3;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined8 *__ptr;" (type_identifier "undefined8") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (expression_statement "uVar2 = *(undefined8 *)(param_1 + 0x60);" (assignment_expression "uVar2 = *(undefined8 *)(param_1 + 0x60)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;" (assignment_expression "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x5c) + 1" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x68);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x68)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x68) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = FUN_00262f30();" (assignment_expression "uVar3 = FUN_00262f30()" (identifier "uVar3") (= "=") (call_expression "FUN_00262f30()" (identifier "FUN_00262f30") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__ptr = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "__ptr = *(undefined8 **)(param_1 + 0x60)" (identifier "__ptr") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (if_statement "if (__ptr != (undefined8 *)0x0) {\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }" (if "if") (parenthesized_expression "(__ptr != (undefined8 *)0x0)" (( "(") (binary_expression "__ptr != (undefined8 *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }\n    free(__ptr);\n  }" ({ "{") (if_statement "if ((void *)*__ptr != (void *)0x0) {\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }" (if "if") (parenthesized_expression "((void *)*__ptr != (void *)0x0)" (( "(") (binary_expression "(void *)*__ptr != (void *)0x0" (cast_expression "(void *)*__ptr" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*__ptr" (* "*") (identifier "__ptr"))) (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free((void *)*__ptr);\n      __ptr[1] = 0;\n      __ptr[2] = 0;\n      *__ptr = 0;\n      __ptr = *(undefined8 **)(param_1 + 0x60);\n    }" ({ "{") (expression_statement "free((void *)*__ptr);" (call_expression "free((void *)*__ptr)" (identifier "free") (argument_list "((void *)*__ptr)" (( "(") (cast_expression "(void *)*__ptr" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*__ptr" (* "*") (identifier "__ptr"))) () ")"))) (; ";")) (expression_statement "__ptr[1] = 0;" (assignment_expression "__ptr[1] = 0" (subscript_expression "__ptr[1]" (identifier "__ptr") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "__ptr[2] = 0;" (assignment_expression "__ptr[2] = 0" (subscript_expression "__ptr[2]" (identifier "__ptr") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*__ptr = 0;" (assignment_expression "*__ptr = 0" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (= "=") (number_literal "0")) (; ";")) (expression_statement "__ptr = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "__ptr = *(undefined8 **)(param_1 + 0x60)" (identifier "__ptr") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(param_1 + 0x60) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;" (assignment_expression "*(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x5c) + -1" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(type_1 *work,char **mangled,type_2 *declp)

{
  int iVar1;
  type_2 *psVar2;
  int iVar3;
  type_2 *var_2;
  
  psVar2 = work->previous_argument;
  work->forgetting_types = work->forgetting_types + 1;
  iVar1 = work->nrepeats;
  work->previous_argument = (type_2 *)0x0;
  work->nrepeats = 0;
  iVar3 = var_1(work,mangled,declp);
  var_2 = work->previous_argument;
  if (var_2 != (type_2 *)0x0) {
    if (var_2->b != (char *)0x0) {
      var_3(var_2->b);
      var_2->p = (char *)0x0;
      var_2->e = (char *)0x0;
      var_2->b = (char *)0x0;
      var_2 = work->previous_argument;
    }
    var_3(var_2);
  }
  work->previous_argument = psVar2;
  work->nrepeats = iVar1;
  work->forgetting_types = work->forgetting_types + -1;
  return iVar3;
}


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

undefined4 MASKED(long param_1)

{
  undefined4 uVar1;
  undefined8 uVar2;
  undefined4 uVar3;
  undefined8 *__ptr;
  
  uVar2 = *(undefined8 *)(param_1 + 0x60);
  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + 1;
  uVar1 = *(undefined4 *)(param_1 + 0x68);
  *(undefined8 *)(param_1 + 0x60) = 0;
  *(undefined4 *)(param_1 + 0x68) = 0;
  uVar3 = FUN_00262f30();
  __ptr = *(undefined8 **)(param_1 + 0x60);
  if (__ptr != (undefined8 *)0x0) {
    if ((void *)*__ptr != (void *)0x0) {
      free((void *)*__ptr);
      __ptr[1] = 0;
      __ptr[2] = 0;
      *__ptr = 0;
      __ptr = *(undefined8 **)(param_1 + 0x60);
    }
    free(__ptr);
  }
  *(undefined8 *)(param_1 + 0x60) = uVar2;
  *(undefined4 *)(param_1 + 0x68) = uVar1;
  *(int *)(param_1 + 0x5c) = *(int *)(param_1 + 0x5c) + -1;
  return uVar3;
}

