
/* WARNING: Unknown calling convention */

void sha256_begin(sha256_ctx_t *ctx)

{
  undefined8 uVar1;
  
  uVar1 = init256._8_8_;
  ctx->total64 = init256._0_8_;
  *(undefined8 *)ctx->hash = uVar1;
  uVar1 = init256._24_8_;
  *(undefined8 *)(ctx->hash + 2) = init256._16_8_;
  *(undefined8 *)(ctx->hash + 4) = uVar1;
  *(undefined8 *)(ctx->hash + 6) = init256._32_8_;
  ctx->process_block = sha256_process_block64;
  return;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_0019cdca(long param_1)

{
  undefined8 uVar1;
  
  uVar1 = _UNK_001a8f28;
  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;
  *(undefined8 *)(param_1 + 0x50) = uVar1;
  uVar1 = _UNK_001a8f38;
  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;
  *(undefined8 *)(param_1 + 0x60) = uVar1;
  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;
  *(code **)(param_1 + 0x40) = FUN_0019cabe;
  return;
}


MOVDQA XMM0,xmmword ptr [0x001a8f20]
MOVUPS xmmword ptr [RDI + 0x48],XMM0
MOVDQA XMM1,xmmword ptr [0x001a8f30]
MOVUPS xmmword ptr [RDI + 0x58],XMM1
MOV RDX,qword ptr [0x001a8f40]
MOV qword ptr [RDI + 0x68],RDX
LEA RAX,[0x19cabe]
MOV qword ptr [RDI + 0x40],RAX
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0019cdca(long param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}\n\n" comment (function_definition "void FUN_0019cdca(long param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}" primitive_type (function_declarator "FUN_0019cdca(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = _UNK_001a8f28;" (assignment_expression "uVar1 = _UNK_001a8f28" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;" (assignment_expression "*(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20" (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x50) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x50) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x50)" * (cast_expression "(undefined8 *)(param_1 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = _UNK_001a8f38;" (assignment_expression "uVar1 = _UNK_001a8f38" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;" (assignment_expression "*(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30" (pointer_expression "*(undefined8 *)(param_1 + 0x58)" * (cast_expression "(undefined8 *)(param_1 + 0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = uVar1" (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 "*(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;" (assignment_expression "*(undefined8 *)(param_1 + 0x68) = DAT_001a8f40" (pointer_expression "*(undefined8 *)(param_1 + 0x68)" * (cast_expression "(undefined8 *)(param_1 + 0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + 0x40) = FUN_0019cabe;" (assignment_expression "*(code **)(param_1 + 0x40) = FUN_0019cabe" (pointer_expression "*(code **)(param_1 + 0x40)" * (cast_expression "(code **)(param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid sha256_begin(sha256_ctx_t *ctx)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = init256._8_8_;\n  ctx->total64 = init256._0_8_;\n  *(undefined8 *)ctx->hash = uVar1;\n  uVar1 = init256._24_8_;\n  *(undefined8 *)(ctx->hash + 2) = init256._16_8_;\n  *(undefined8 *)(ctx->hash + 4) = uVar1;\n  *(undefined8 *)(ctx->hash + 6) = init256._32_8_;\n  ctx->process_block = sha256_process_block64;\n  return;\n}\n\n" comment (function_definition "void sha256_begin(sha256_ctx_t *ctx)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = init256._8_8_;\n  ctx->total64 = init256._0_8_;\n  *(undefined8 *)ctx->hash = uVar1;\n  uVar1 = init256._24_8_;\n  *(undefined8 *)(ctx->hash + 2) = init256._16_8_;\n  *(undefined8 *)(ctx->hash + 4) = uVar1;\n  *(undefined8 *)(ctx->hash + 6) = init256._32_8_;\n  ctx->process_block = sha256_process_block64;\n  return;\n}" primitive_type (function_declarator "sha256_begin(sha256_ctx_t *ctx)" identifier (parameter_list "(sha256_ctx_t *ctx)" ( (parameter_declaration "sha256_ctx_t *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = init256._8_8_;\n  ctx->total64 = init256._0_8_;\n  *(undefined8 *)ctx->hash = uVar1;\n  uVar1 = init256._24_8_;\n  *(undefined8 *)(ctx->hash + 2) = init256._16_8_;\n  *(undefined8 *)(ctx->hash + 4) = uVar1;\n  *(undefined8 *)(ctx->hash + 6) = init256._32_8_;\n  ctx->process_block = sha256_process_block64;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = init256._8_8_;" (assignment_expression "uVar1 = init256._8_8_" identifier = (field_expression "init256._8_8_" identifier . field_identifier)) ;) (expression_statement "ctx->total64 = init256._0_8_;" (assignment_expression "ctx->total64 = init256._0_8_" (field_expression "ctx->total64" identifier -> field_identifier) = (field_expression "init256._0_8_" identifier . field_identifier)) ;) (expression_statement "*(undefined8 *)ctx->hash = uVar1;" (assignment_expression "*(undefined8 *)ctx->hash = uVar1" (pointer_expression "*(undefined8 *)ctx->hash" * (cast_expression "(undefined8 *)ctx->hash" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "ctx->hash" identifier -> field_identifier))) = identifier) ;) (expression_statement "uVar1 = init256._24_8_;" (assignment_expression "uVar1 = init256._24_8_" identifier = (field_expression "init256._24_8_" identifier . field_identifier)) ;) (expression_statement "*(undefined8 *)(ctx->hash + 2) = init256._16_8_;" (assignment_expression "*(undefined8 *)(ctx->hash + 2) = init256._16_8_" (pointer_expression "*(undefined8 *)(ctx->hash + 2)" * (cast_expression "(undefined8 *)(ctx->hash + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ctx->hash + 2)" ( (binary_expression "ctx->hash + 2" (field_expression "ctx->hash" identifier -> field_identifier) + number_literal) )))) = (field_expression "init256._16_8_" identifier . field_identifier)) ;) (expression_statement "*(undefined8 *)(ctx->hash + 4) = uVar1;" (assignment_expression "*(undefined8 *)(ctx->hash + 4) = uVar1" (pointer_expression "*(undefined8 *)(ctx->hash + 4)" * (cast_expression "(undefined8 *)(ctx->hash + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ctx->hash + 4)" ( (binary_expression "ctx->hash + 4" (field_expression "ctx->hash" identifier -> field_identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(ctx->hash + 6) = init256._32_8_;" (assignment_expression "*(undefined8 *)(ctx->hash + 6) = init256._32_8_" (pointer_expression "*(undefined8 *)(ctx->hash + 6)" * (cast_expression "(undefined8 *)(ctx->hash + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ctx->hash + 6)" ( (binary_expression "ctx->hash + 6" (field_expression "ctx->hash" identifier -> field_identifier) + number_literal) )))) = (field_expression "init256._32_8_" identifier . field_identifier)) ;) (expression_statement "ctx->process_block = sha256_process_block64;" (assignment_expression "ctx->process_block = sha256_process_block64" (field_expression "ctx->process_block" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0019cdca(long param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}\n\n" (function_definition "void FUN_0019cdca(long param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}" primitive_type (function_declarator "FUN_0019cdca(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = _UNK_001a8f28;" (assignment_expression "uVar1 = _UNK_001a8f28" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;" (assignment_expression "*(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20" (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x50) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x50) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x50)" * (cast_expression "(undefined8 *)(param_1 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = _UNK_001a8f38;" (assignment_expression "uVar1 = _UNK_001a8f38" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;" (assignment_expression "*(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30" (pointer_expression "*(undefined8 *)(param_1 + 0x58)" * (cast_expression "(undefined8 *)(param_1 + 0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = uVar1" (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 "*(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;" (assignment_expression "*(undefined8 *)(param_1 + 0x68) = DAT_001a8f40" (pointer_expression "*(undefined8 *)(param_1 + 0x68)" * (cast_expression "(undefined8 *)(param_1 + 0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + 0x40) = FUN_0019cabe;" (assignment_expression "*(code **)(param_1 + 0x40) = FUN_0019cabe" (pointer_expression "*(code **)(param_1 + 0x40)" * (cast_expression "(code **)(param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = 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 IDENT = 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) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0019cdca(long param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0019cdca(long param_1)" (identifier "FUN_0019cdca") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_001a8f28;\n  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  uVar1 = _UNK_001a8f38;\n  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;\n  *(undefined8 *)(param_1 + 0x60) = uVar1;\n  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;\n  *(code **)(param_1 + 0x40) = FUN_0019cabe;\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = _UNK_001a8f28;" (assignment_expression "uVar1 = _UNK_001a8f28" (identifier "uVar1") (= "=") (identifier "_UNK_001a8f28")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;" (assignment_expression "*(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20" (pointer_expression "*(undefined8 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "_DAT_001a8f20")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x50) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x50) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x50)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x50)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = _UNK_001a8f38;" (assignment_expression "uVar1 = _UNK_001a8f38" (identifier "uVar1") (= "=") (identifier "_UNK_001a8f38")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;" (assignment_expression "*(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30" (pointer_expression "*(undefined8 *)(param_1 + 0x58)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x58)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "_DAT_001a8f30")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = uVar1" (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 "uVar1")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;" (assignment_expression "*(undefined8 *)(param_1 + 0x68) = DAT_001a8f40" (pointer_expression "*(undefined8 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "DAT_001a8f40")) (; ";")) (expression_statement "*(code **)(param_1 + 0x40) = FUN_0019cabe;" (assignment_expression "*(code **)(param_1 + 0x40) = FUN_0019cabe" (pointer_expression "*(code **)(param_1 + 0x40)" (* "*") (cast_expression "(code **)(param_1 + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "FUN_0019cabe")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *ctx)

{
  type_2 uVar1;
  
  uVar1 = init256._8_8_;
  ctx->total64 = init256._0_8_;
  *(type_2 *)ctx->hash = uVar1;
  uVar1 = init256._24_8_;
  *(type_2 *)(ctx->hash + 2) = init256._16_8_;
  *(type_2 *)(ctx->hash + 4) = uVar1;
  *(type_2 *)(ctx->hash + 6) = init256._32_8_;
  ctx->process_block = sha256_process_block64;
  return;
}


(translation_unit (function_definition type: (primitive_type) 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)) (expression_statement (assignment_expression left: (identifier) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) 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: (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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(long param_1)

{
  undefined8 uVar1;
  
  uVar1 = _UNK_001a8f28;
  *(undefined8 *)(param_1 + 0x48) = _DAT_001a8f20;
  *(undefined8 *)(param_1 + 0x50) = uVar1;
  uVar1 = _UNK_001a8f38;
  *(undefined8 *)(param_1 + 0x58) = _DAT_001a8f30;
  *(undefined8 *)(param_1 + 0x60) = uVar1;
  *(undefined8 *)(param_1 + 0x68) = DAT_001a8f40;
  *(code **)(param_1 + 0x40) = FUN_0019cabe;
  return;
}

