
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void sk_cleanup(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  
  puVar1 = PTR_ssh_3des_ssh2_name_001212d8;
  iVar3 = 0;
  if (*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0) {
    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),
          iVar2 != 0) {
      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));
      iVar3 = iVar3 + 1;
    }
  }
  return;
}



void sk_cleanup(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  
  puVar1 = PTR_PTR_s_3des_cbc_001212d8;
  iVar3 = 0;
  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {
    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),
          iVar2 != 0) {
      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));
      iVar3 = iVar3 + 1;
    }
  }
  return;
}


lui gp,0x6
addiu gp,gp,-0x7224
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lw v0,0x2f10(v0)
beq v0,zero,0x000d0540
_or s0,zero,zero
lw s1,-0x7fd8(gp)
or a1,s0,zero
lw a0,0x2f10(s1)
lw t9,-0x7ef4(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000d0540
_lw t9,-0x7238(gp)
lw a0,0x8(v0)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000d0508
_addiu s0,s0,0x1
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "sk_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_PTR_s_3des_cbc_001212d8;" (assignment_expression "puVar1 = PTR_PTR_s_3des_cbc_001212d8" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0)" ( (binary_expression "*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0" (pointer_expression "*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" * (cast_expression "(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" ( (binary_expression "PTR_PTR_s_3des_cbc_001212d8 + 0x2f10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" { (while_statement "while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" while (parenthesized_expression "(iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" identifier = (call_expression "(*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" (parenthesized_expression "(*(code *)PTR_index234_001213bc)" ( (pointer_expression "*(code *)PTR_index234_001213bc" * (cast_expression "(code *)PTR_index234_001213bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" ( (pointer_expression "*(undefined4 *)(puVar1 + 0x2f10)" * (cast_expression "(undefined4 *)(puVar1 + 0x2f10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x2f10)" ( (binary_expression "puVar1 + 0x2f10" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));" (call_expression "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8))" (parenthesized_expression "(*(code *)PTR_close_00122078)" ( (pointer_expression "*(code *)PTR_close_00122078" * (cast_expression "(code *)PTR_close_00122078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 8))" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_ssh_3des_ssh2_name_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_ssh_3des_ssh2_name_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "sk_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_ssh_3des_ssh2_name_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_ssh_3des_ssh2_name_001212d8;" (assignment_expression "puVar1 = PTR_ssh_3des_ssh2_name_001212d8" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0)" ( (binary_expression "*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10) != 0" (pointer_expression "*(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10)" * (cast_expression "(int *)(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10)" ( (binary_expression "PTR_ssh_3des_ssh2_name_001212d8 + 0x2f10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" { (while_statement "while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" while (parenthesized_expression "(iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" identifier = (call_expression "(*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" (parenthesized_expression "(*(code *)PTR_index234_001213bc)" ( (pointer_expression "*(code *)PTR_index234_001213bc" * (cast_expression "(code *)PTR_index234_001213bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" ( (pointer_expression "*(undefined4 *)(puVar1 + 0x2f10)" * (cast_expression "(undefined4 *)(puVar1 + 0x2f10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x2f10)" ( (binary_expression "puVar1 + 0x2f10" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));" (call_expression "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8))" (parenthesized_expression "(*(code *)PTR_close_00122078)" ( (pointer_expression "*(code *)PTR_close_00122078" * (cast_expression "(code *)PTR_close_00122078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 8))" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "sk_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_PTR_s_3des_cbc_001212d8;" (assignment_expression "puVar1 = PTR_PTR_s_3des_cbc_001212d8" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0)" ( (binary_expression "*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0" (pointer_expression "*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" * (cast_expression "(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" ( (binary_expression "PTR_PTR_s_3des_cbc_001212d8 + 0x2f10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" { (while_statement "while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" while (parenthesized_expression "(iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" identifier = (call_expression "(*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" (parenthesized_expression "(*(code *)PTR_index234_001213bc)" ( (pointer_expression "*(code *)PTR_index234_001213bc" * (cast_expression "(code *)PTR_index234_001213bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" ( (pointer_expression "*(undefined4 *)(puVar1 + 0x2f10)" * (cast_expression "(undefined4 *)(puVar1 + 0x2f10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x2f10)" ( (binary_expression "puVar1 + 0x2f10" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));" (call_expression "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8))" (parenthesized_expression "(*(code *)PTR_close_00122078)" ( (pointer_expression "*(code *)PTR_close_00122078" * (cast_expression "(code *)PTR_close_00122078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 8))" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) (return_statement return ;) })))
(function_definition "void sk_cleanup(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "sk_cleanup(void)" (identifier "sk_cleanup") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  puVar1 = PTR_PTR_s_3des_cbc_001212d8;\n  iVar3 = 0;\n  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "puVar1 = PTR_PTR_s_3des_cbc_001212d8;" (assignment_expression "puVar1 = PTR_PTR_s_3des_cbc_001212d8" (identifier "puVar1") (= "=") (identifier "PTR_PTR_s_3des_cbc_001212d8")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0)" (( "(") (binary_expression "*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0" (pointer_expression "*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" (* "*") (cast_expression "(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10)" (( "(") (binary_expression "PTR_PTR_s_3des_cbc_001212d8 + 0x2f10" (identifier "PTR_PTR_s_3des_cbc_001212d8") (+ "+") (number_literal "0x2f10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }\n  }" ({ "{") (while_statement "while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0) {\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" (while "while") (parenthesized_expression "(iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),\n          iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" (parenthesized_expression "(*(code *)PTR_index234_001213bc)" (( "(") (pointer_expression "*(code *)PTR_index234_001213bc" (* "*") (cast_expression "(code *)PTR_index234_001213bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_001213bc"))) () ")")) (argument_list "(*(undefined4 *)(puVar1 + 0x2f10),iVar3)" (( "(") (pointer_expression "*(undefined4 *)(puVar1 + 0x2f10)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 0x2f10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x2f10)" (( "(") (binary_expression "puVar1 + 0x2f10" (identifier "puVar1") (+ "+") (number_literal "0x2f10")) () ")")))) (, ",") (identifier "iVar3") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));\n      iVar3 = iVar3 + 1;\n    }" ({ "{") (expression_statement "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));" (call_expression "(*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8))" (parenthesized_expression "(*(code *)PTR_close_00122078)" (( "(") (pointer_expression "*(code *)PTR_close_00122078" (* "*") (cast_expression "(code *)PTR_close_00122078" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_00122078"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 8))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  
  puVar1 = PTR_PTR_s_3des_cbc_001212d8;
  iVar3 = 0;
  if (*(int *)(PTR_PTR_s_3des_cbc_001212d8 + 0x2f10) != 0) {
    while (iVar2 = (*(code *)PTR_index234_001213bc)(*(undefined4 *)(puVar1 + 0x2f10),iVar3),
          iVar2 != 0) {
      (*(code *)PTR_close_00122078)(*(undefined4 *)(iVar2 + 8));
      iVar3 = iVar3 + 1;
    }
  }
  return;
}

