
/* WARNING: Unknown calling convention */

void * sha512_init(void)

{
  SHA512_CTX *c;
  
  c = (SHA512_CTX *)safemalloc(1,0x118);
  SHA512_Init(c);
  return c;
}



undefined8 FUN_0014a6d4(void)

{
  undefined8 uVar1;
  
  uVar1 = FUN_0010d233(1,0x118);
  FUN_0014a680(uVar1);
  return uVar1;
}


PUSH RBX
MOV ESI,0x118
MOV EDI,0x1
CALL 0x0010d233
MOV RBX,RAX
MOV RDI,RAX
CALL 0x0014a680
MOV RAX,RBX
POP RBX
RET
(translation_unit "undefined8 FUN_0014a6d4(void)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0014a6d4(void)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0014a6d4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0010d233(1,0x118);" (assignment_expression "uVar1 = FUN_0010d233(1,0x118)" identifier = (call_expression "FUN_0010d233(1,0x118)" identifier (argument_list "(1,0x118)" ( number_literal , number_literal )))) ;) (expression_statement "FUN_0014a680(uVar1);" (call_expression "FUN_0014a680(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * sha512_init(void)\n\n{\n  SHA512_CTX *c;\n  \n  c = (SHA512_CTX *)safemalloc(1,0x118);\n  SHA512_Init(c);\n  return c;\n}\n\n" comment (function_definition "void * sha512_init(void)\n\n{\n  SHA512_CTX *c;\n  \n  c = (SHA512_CTX *)safemalloc(1,0x118);\n  SHA512_Init(c);\n  return c;\n}" primitive_type (pointer_declarator "* sha512_init(void)" * (function_declarator "sha512_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  SHA512_CTX *c;\n  \n  c = (SHA512_CTX *)safemalloc(1,0x118);\n  SHA512_Init(c);\n  return c;\n}" { (declaration "SHA512_CTX *c;" type_identifier (pointer_declarator "*c" * identifier) ;) (expression_statement "c = (SHA512_CTX *)safemalloc(1,0x118);" (assignment_expression "c = (SHA512_CTX *)safemalloc(1,0x118)" identifier = (cast_expression "(SHA512_CTX *)safemalloc(1,0x118)" ( (type_descriptor "SHA512_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x118)" identifier (argument_list "(1,0x118)" ( number_literal , number_literal ))))) ;) (expression_statement "SHA512_Init(c);" (call_expression "SHA512_Init(c)" identifier (argument_list "(c)" ( identifier ))) ;) (return_statement "return c;" return identifier ;) })))
(translation_unit "undefined8 FUN_0014a6d4(void)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0014a6d4(void)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0014a6d4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0010d233(1,0x118);" (assignment_expression "uVar1 = FUN_0010d233(1,0x118)" identifier = (call_expression "FUN_0010d233(1,0x118)" identifier (argument_list "(1,0x118)" ( number_literal , number_literal )))) ;) (expression_statement "FUN_0014a680(uVar1);" (call_expression "FUN_0014a680(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_0014a6d4(void)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}" (type_identifier "undefined8") (function_declarator "FUN_0014a6d4(void)" (identifier "FUN_0014a6d4") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = FUN_0010d233(1,0x118);\n  FUN_0014a680(uVar1);\n  return uVar1;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_0010d233(1,0x118);" (assignment_expression "uVar1 = FUN_0010d233(1,0x118)" (identifier "uVar1") (= "=") (call_expression "FUN_0010d233(1,0x118)" (identifier "FUN_0010d233") (argument_list "(1,0x118)" (( "(") (number_literal "1") (, ",") (number_literal "0x118") () ")")))) (; ";")) (expression_statement "FUN_0014a680(uVar1);" (call_expression "FUN_0014a680(uVar1)" (identifier "FUN_0014a680") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void * function_1(void)

{
  type_1 *c;
  
  c = (type_1 *)var_1(1,0x118);
  var_2(c);
  return c;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

undefined8 MASKED(void)

{
  undefined8 uVar1;
  
  uVar1 = FUN_0010d233(1,0x118);
  FUN_0014a680(uVar1);
  return uVar1;
}

