
void * sha512_copy(void *vold)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  
  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);
  puVar2 = puVar1;
  puVar4 = (undefined4 *)vold;
  do {
    puVar5 = puVar4 + 4;
    puVar3 = puVar2 + 4;
    uVar8 = puVar4[1];
    uVar7 = puVar4[2];
    uVar6 = puVar4[3];
    *puVar2 = *puVar4;
    puVar2[1] = uVar8;
    puVar2[2] = uVar7;
    puVar2[3] = uVar6;
    puVar2 = puVar3;
    puVar4 = puVar5;
  } while (puVar5 != (undefined4 *)((int)vold + 0xd0));
  *puVar3 = *puVar5;
  return puVar1;
}



void FUN_00073798(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  
  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);
  puVar3 = param_1;
  do {
    puVar4 = puVar3 + 4;
    puVar2 = puVar1 + 4;
    uVar7 = puVar3[1];
    uVar6 = puVar3[2];
    uVar5 = puVar3[3];
    *puVar1 = *puVar3;
    puVar1[1] = uVar7;
    puVar1[2] = uVar6;
    puVar1[3] = uVar5;
    puVar1 = puVar2;
    puVar3 = puVar4;
  } while (puVar4 != param_1 + 0x34);
  *puVar2 = *puVar4;
  return;
}


lui gp,0x4
addiu gp,gp,0x49b8
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7f68(gp)
li a1,0xd4
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_li a0,0x1
addiu a1,s0,0xd0
or a0,s0,zero
or v1,v0,zero
lw t1,0x0(a0)
addiu a0,a0,0x10
addiu v1,v1,0x10
lw t0,-0xc(a0)
lw a3,-0x8(a0)
lw a2,-0x4(a0)
sw t1,-0x10(v1)
sw t0,-0xc(v1)
sw a3,-0x8(v1)
bne a0,a1,0x000737d4
_sw a2,-0x4(v1)
lw a0,0x0(a0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
sw a0,0x0(v1)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_00073798(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}\n\n" (function_definition "void FUN_00073798(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00073798(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" ( (pointer_expression "*(code *)PTR_safemalloc_000b01e8" * (cast_expression "(code *)PTR_safemalloc_000b01e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0xd4)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);" do (compound_statement "{\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  }" { (expression_statement "puVar4 = puVar3 + 4;" (assignment_expression "puVar4 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar1 + 4;" (assignment_expression "puVar2 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) (expression_statement "uVar7 = puVar3[1];" (assignment_expression "uVar7 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar3[2];" (assignment_expression "uVar6 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = puVar3[3];" (assignment_expression "uVar5 = puVar3[3]" identifier = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = *puVar3;" (assignment_expression "*puVar1 = *puVar3" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar1[1] = uVar7;" (assignment_expression "puVar1[1] = uVar7" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar6;" (assignment_expression "puVar1[2] = uVar6" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = uVar5;" (assignment_expression "puVar1[3] = uVar5" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = puVar2;" (assignment_expression "puVar1 = puVar2" identifier = identifier) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != param_1 + 0x34)" ( (binary_expression "puVar4 != param_1 + 0x34" identifier != (binary_expression "param_1 + 0x34" identifier + number_literal)) )) ;) (expression_statement "*puVar2 = *puVar4;" (assignment_expression "*puVar2 = *puVar4" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void * sha512_copy(void *vold)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar2 = puVar1;\n  puVar4 = (undefined4 *)vold;\n  do {\n    puVar5 = puVar4 + 4;\n    puVar3 = puVar2 + 4;\n    uVar8 = puVar4[1];\n    uVar7 = puVar4[2];\n    uVar6 = puVar4[3];\n    *puVar2 = *puVar4;\n    puVar2[1] = uVar8;\n    puVar2[2] = uVar7;\n    puVar2[3] = uVar6;\n    puVar2 = puVar3;\n    puVar4 = puVar5;\n  } while (puVar5 != (undefined4 *)((int)vold + 0xd0));\n  *puVar3 = *puVar5;\n  return puVar1;\n}\n\n" (function_definition "void * sha512_copy(void *vold)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar2 = puVar1;\n  puVar4 = (undefined4 *)vold;\n  do {\n    puVar5 = puVar4 + 4;\n    puVar3 = puVar2 + 4;\n    uVar8 = puVar4[1];\n    uVar7 = puVar4[2];\n    uVar6 = puVar4[3];\n    *puVar2 = *puVar4;\n    puVar2[1] = uVar8;\n    puVar2[2] = uVar7;\n    puVar2[3] = uVar6;\n    puVar2 = puVar3;\n    puVar4 = puVar5;\n  } while (puVar5 != (undefined4 *)((int)vold + 0xd0));\n  *puVar3 = *puVar5;\n  return puVar1;\n}" primitive_type (pointer_declarator "* sha512_copy(void *vold)" * (function_declarator "sha512_copy(void *vold)" identifier (parameter_list "(void *vold)" ( (parameter_declaration "void *vold" primitive_type (pointer_declarator "*vold" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar2 = puVar1;\n  puVar4 = (undefined4 *)vold;\n  do {\n    puVar5 = puVar4 + 4;\n    puVar3 = puVar2 + 4;\n    uVar8 = puVar4[1];\n    uVar7 = puVar4[2];\n    uVar6 = puVar4[3];\n    *puVar2 = *puVar4;\n    puVar2[1] = uVar8;\n    puVar2[2] = uVar7;\n    puVar2[3] = uVar6;\n    puVar2 = puVar3;\n    puVar4 = puVar5;\n  } while (puVar5 != (undefined4 *)((int)vold + 0xd0));\n  *puVar3 = *puVar5;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" ( (pointer_expression "*(code *)PTR_safemalloc_000b01e8" * (cast_expression "(code *)PTR_safemalloc_000b01e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0xd4)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)vold;" (assignment_expression "puVar4 = (undefined4 *)vold" identifier = (cast_expression "(undefined4 *)vold" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n    puVar5 = puVar4 + 4;\n    puVar3 = puVar2 + 4;\n    uVar8 = puVar4[1];\n    uVar7 = puVar4[2];\n    uVar6 = puVar4[3];\n    *puVar2 = *puVar4;\n    puVar2[1] = uVar8;\n    puVar2[2] = uVar7;\n    puVar2[3] = uVar6;\n    puVar2 = puVar3;\n    puVar4 = puVar5;\n  } while (puVar5 != (undefined4 *)((int)vold + 0xd0));" do (compound_statement "{\n    puVar5 = puVar4 + 4;\n    puVar3 = puVar2 + 4;\n    uVar8 = puVar4[1];\n    uVar7 = puVar4[2];\n    uVar6 = puVar4[3];\n    *puVar2 = *puVar4;\n    puVar2[1] = uVar8;\n    puVar2[2] = uVar7;\n    puVar2[3] = uVar6;\n    puVar2 = puVar3;\n    puVar4 = puVar5;\n  }" { (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar2 + 4;" (assignment_expression "puVar3 = puVar2 + 4" identifier = (binary_expression "puVar2 + 4" identifier + number_literal)) ;) (expression_statement "uVar8 = puVar4[1];" (assignment_expression "uVar8 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar4[2];" (assignment_expression "uVar7 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar4[3];" (assignment_expression "uVar6 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar2 = *puVar4;" (assignment_expression "*puVar2 = *puVar4" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar2[1] = uVar8;" (assignment_expression "puVar2[1] = uVar8" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[2] = uVar7;" (assignment_expression "puVar2[2] = uVar7" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[3] = uVar6;" (assignment_expression "puVar2[3] = uVar6" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(puVar5 != (undefined4 *)((int)vold + 0xd0))" ( (binary_expression "puVar5 != (undefined4 *)((int)vold + 0xd0)" identifier != (cast_expression "(undefined4 *)((int)vold + 0xd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vold + 0xd0)" ( (binary_expression "(int)vold + 0xd0" (cast_expression "(int)vold" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )) ;) (expression_statement "*puVar3 = *puVar5;" (assignment_expression "*puVar3 = *puVar5" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "void FUN_00073798(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}\n\n" (function_definition "void FUN_00073798(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00073798(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" ( (pointer_expression "*(code *)PTR_safemalloc_000b01e8" * (cast_expression "(code *)PTR_safemalloc_000b01e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0xd4)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);" do (compound_statement "{\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  }" { (expression_statement "puVar4 = puVar3 + 4;" (assignment_expression "puVar4 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar1 + 4;" (assignment_expression "puVar2 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) (expression_statement "uVar7 = puVar3[1];" (assignment_expression "uVar7 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar3[2];" (assignment_expression "uVar6 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = puVar3[3];" (assignment_expression "uVar5 = puVar3[3]" identifier = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = *puVar3;" (assignment_expression "*puVar1 = *puVar3" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar1[1] = uVar7;" (assignment_expression "puVar1[1] = uVar7" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar6;" (assignment_expression "puVar1[2] = uVar6" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = uVar5;" (assignment_expression "puVar1[3] = uVar5" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = puVar2;" (assignment_expression "puVar1 = puVar2" identifier = identifier) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != param_1 + 0x34)" ( (binary_expression "puVar4 != param_1 + 0x34" identifier != (binary_expression "param_1 + 0x34" identifier + number_literal)) )) ;) (expression_statement "*puVar2 = *puVar4;" (assignment_expression "*puVar2 = *puVar4" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00073798(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00073798(undefined4 *param_1)" (identifier "FUN_00073798") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);\n  puVar3 = param_1;\n  do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);\n  *puVar2 = *puVar4;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0xd4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000b01e8" (* "*") (cast_expression "(code *)PTR_safemalloc_000b01e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000b01e8"))) () ")")) (argument_list "(1,0xd4)" (( "(") (number_literal "1") (, ",") (number_literal "0xd4") () ")"))))) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  } while (puVar4 != param_1 + 0x34);" (do "do") (compound_statement "{\n    puVar4 = puVar3 + 4;\n    puVar2 = puVar1 + 4;\n    uVar7 = puVar3[1];\n    uVar6 = puVar3[2];\n    uVar5 = puVar3[3];\n    *puVar1 = *puVar3;\n    puVar1[1] = uVar7;\n    puVar1[2] = uVar6;\n    puVar1[3] = uVar5;\n    puVar1 = puVar2;\n    puVar3 = puVar4;\n  }" ({ "{") (expression_statement "puVar4 = puVar3 + 4;" (assignment_expression "puVar4 = puVar3 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 4" (identifier "puVar3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar2 = puVar1 + 4;" (assignment_expression "puVar2 = puVar1 + 4" (identifier "puVar2") (= "=") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar7 = puVar3[1];" (assignment_expression "uVar7 = puVar3[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar6 = puVar3[2];" (assignment_expression "uVar6 = puVar3[2]" (identifier "uVar6") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar5 = puVar3[3];" (assignment_expression "uVar5 = puVar3[3]" (identifier "uVar5") (= "=") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar1 = *puVar3;" (assignment_expression "*puVar1 = *puVar3" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar1[1] = uVar7;" (assignment_expression "puVar1[1] = uVar7" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar1[2] = uVar6;" (assignment_expression "puVar1[2] = uVar6" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar1[3] = uVar5;" (assignment_expression "puVar1[3] = uVar5" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar1 = puVar2;" (assignment_expression "puVar1 = puVar2" (identifier "puVar1") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != param_1 + 0x34)" (( "(") (binary_expression "puVar4 != param_1 + 0x34" (identifier "puVar4") (!= "!=") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34"))) () ")")) (; ";")) (expression_statement "*puVar2 = *puVar4;" (assignment_expression "*puVar2 = *puVar4" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  
  puVar1 = (undefined4 *)(*(code *)PTR_safemalloc_000b01e8)(1,0xd4);
  puVar3 = param_1;
  do {
    puVar4 = puVar3 + 4;
    puVar2 = puVar1 + 4;
    uVar7 = puVar3[1];
    uVar6 = puVar3[2];
    uVar5 = puVar3[3];
    *puVar1 = *puVar3;
    puVar1[1] = uVar7;
    puVar1[2] = uVar6;
    puVar1[3] = uVar5;
    puVar1 = puVar2;
    puVar3 = puVar4;
  } while (puVar4 != param_1 + 0x34);
  *puVar2 = *puVar4;
  return;
}

