
void png_chunk_error(png_const_structrp png_ptr,png_const_charp error_message)

{
  char msg [214];
  
  if (png_ptr != (png_const_structrp)0x0) {
    png_format_buffer(png_ptr,msg,error_message);
                    /* WARNING: Subroutine does not return */
    png_error(png_ptr,msg);
  }
                    /* WARNING: Subroutine does not return */
  png_error((png_const_structrp)0x0,error_message);
}



void png_chunk_error(long param_1,undefined8 param_2)

{
  long in_FS_OFFSET;
  undefined1 auStack_f8 [216];
  undefined8 local_20;
  
  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);
  if (param_1 != 0) {
    FUN_0010ad54(param_1,auStack_f8,param_2);
                    /* WARNING: Subroutine does not return */
    png_error(param_1,auStack_f8);
  }
                    /* WARNING: Subroutine does not return */
  png_error(0);
}


PUSH RBP
PUSH RBX
SUB RSP,0xe8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0xd8],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x0010b4ef
MOV RBX,RDI
MOV RBP,RSP
MOV RDX,RSI
MOV RSI,RBP
CALL 0x0010ad54
MOV RSI,RBP
MOV RDI,RBX
CALL 0x00106490
MOV EDI,0x0
CALL 0x00106490
(translation_unit "void png_chunk_error(long param_1,undefined8 param_2)\n\n{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    /* WARNING: Subroutine does not return */\n    png_error(param_1,auStack_f8);\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(0);\n}\n\n" (function_definition "void png_chunk_error(long param_1,undefined8 param_2)\n\n{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    /* WARNING: Subroutine does not return */\n    png_error(param_1,auStack_f8);\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(0);\n}" primitive_type (function_declarator "png_chunk_error(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    /* WARNING: Subroutine does not return */\n    png_error(param_1,auStack_f8);\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(0);\n}" { (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_f8 [216];" type_identifier (array_declarator "auStack_f8 [216]" identifier [ number_literal ]) ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(undefined8 *)(in_FS_OFFSET + 0x28)" * (cast_expression "(undefined8 *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    /* WARNING: Subroutine does not return */\n    png_error(param_1,auStack_f8);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    /* WARNING: Subroutine does not return */\n    png_error(param_1,auStack_f8);\n  }" { (expression_statement "FUN_0010ad54(param_1,auStack_f8,param_2);" (call_expression "FUN_0010ad54(param_1,auStack_f8,param_2)" identifier (argument_list "(param_1,auStack_f8,param_2)" ( identifier , identifier , identifier ))) ;) comment (expression_statement "png_error(param_1,auStack_f8);" (call_expression "png_error(param_1,auStack_f8)" identifier (argument_list "(param_1,auStack_f8)" ( identifier , identifier ))) ;) })) comment (expression_statement "png_error(0);" (call_expression "png_error(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })))
(translation_unit "void png_chunk_error(png_const_structrp png_ptr,png_const_charp error_message)\n\n{\n  char msg [214];\n  \n  if (png_ptr != (png_const_structrp)0x0) {\n    png_format_buffer(png_ptr,msg,error_message);\n                    /* WARNING: Subroutine does not return */\n    png_error(png_ptr,msg);\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error((png_const_structrp)0x0,error_message);\n}\n\n" (function_definition "void png_chunk_error(png_const_structrp png_ptr,png_const_charp error_message)\n\n{\n  char msg [214];\n  \n  if (png_ptr != (png_const_structrp)0x0) {\n    png_format_buffer(png_ptr,msg,error_message);\n                    /* WARNING: Subroutine does not return */\n    png_error(png_ptr,msg);\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error((png_const_structrp)0x0,error_message);\n}" primitive_type (function_declarator "png_chunk_error(png_const_structrp png_ptr,png_const_charp error_message)" identifier (parameter_list "(png_const_structrp png_ptr,png_const_charp error_message)" ( (parameter_declaration "png_const_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_const_charp error_message" type_identifier identifier) ))) (compound_statement "{\n  char msg [214];\n  \n  if (png_ptr != (png_const_structrp)0x0) {\n    png_format_buffer(png_ptr,msg,error_message);\n                    /* WARNING: Subroutine does not return */\n    png_error(png_ptr,msg);\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error((png_const_structrp)0x0,error_message);\n}" { (declaration "char msg [214];" primitive_type (array_declarator "msg [214]" identifier [ number_literal ]) ;) (if_statement "if (png_ptr != (png_const_structrp)0x0) {\n    png_format_buffer(png_ptr,msg,error_message);\n                    /* WARNING: Subroutine does not return */\n    png_error(png_ptr,msg);\n  }" if (parenthesized_expression "(png_ptr != (png_const_structrp)0x0)" ( (binary_expression "png_ptr != (png_const_structrp)0x0" identifier != (cast_expression "(png_const_structrp)0x0" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal)) )) (compound_statement "{\n    png_format_buffer(png_ptr,msg,error_message);\n                    /* WARNING: Subroutine does not return */\n    png_error(png_ptr,msg);\n  }" { (expression_statement "png_format_buffer(png_ptr,msg,error_message);" (call_expression "png_format_buffer(png_ptr,msg,error_message)" identifier (argument_list "(png_ptr,msg,error_message)" ( identifier , identifier , identifier ))) ;) comment (expression_statement "png_error(png_ptr,msg);" (call_expression "png_error(png_ptr,msg)" identifier (argument_list "(png_ptr,msg)" ( identifier , identifier ))) ;) })) comment (expression_statement "png_error((png_const_structrp)0x0,error_message);" (call_expression "png_error((png_const_structrp)0x0,error_message)" identifier (argument_list "((png_const_structrp)0x0,error_message)" ( (cast_expression "(png_const_structrp)0x0" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal) , identifier ))) ;) })))
(translation_unit "void png_chunk_error(long param_1,undefined8 param_2)\n\n{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }\n                    \n  png_error(0);\n}\n\n" (function_definition "void png_chunk_error(long param_1,undefined8 param_2)\n\n{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }\n                    \n  png_error(0);\n}" primitive_type (function_declarator "png_chunk_error(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }\n                    \n  png_error(0);\n}" { (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_f8 [216];" type_identifier (array_declarator "auStack_f8 [216]" identifier [ number_literal ]) ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(undefined8 *)(in_FS_OFFSET + 0x28)" * (cast_expression "(undefined8 *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }" { (expression_statement "FUN_0010ad54(param_1,auStack_f8,param_2);" (call_expression "FUN_0010ad54(param_1,auStack_f8,param_2)" identifier (argument_list "(param_1,auStack_f8,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "png_error(param_1,auStack_f8);" (call_expression "png_error(param_1,auStack_f8)" identifier (argument_list "(param_1,auStack_f8)" ( identifier , identifier ))) ;) })) (expression_statement "png_error(0);" (call_expression "png_error(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void png_chunk_error(long param_1,undefined8 param_2)\n\n{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }\n                    \n  png_error(0);\n}" (primitive_type "void") (function_declarator "png_chunk_error(long param_1,undefined8 param_2)" (identifier "png_chunk_error") (parameter_list "(long param_1,undefined8 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  long in_FS_OFFSET;\n  undefined1 auStack_f8 [216];\n  undefined8 local_20;\n  \n  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);\n  if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }\n                    \n  png_error(0);\n}" ({ "{") (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "undefined1 auStack_f8 [216];" (type_identifier "undefined1") (array_declarator "auStack_f8 [216]" (identifier "auStack_f8") ([ "[") (number_literal "216") (] "]")) (; ";")) (declaration "undefined8 local_20;" (type_identifier "undefined8") (identifier "local_20") (; ";")) (expression_statement "local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (pointer_expression "*(undefined8 *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(undefined8 *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_1 != 0) {\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0010ad54(param_1,auStack_f8,param_2);\n                    \n    png_error(param_1,auStack_f8);\n  }" ({ "{") (expression_statement "FUN_0010ad54(param_1,auStack_f8,param_2);" (call_expression "FUN_0010ad54(param_1,auStack_f8,param_2)" (identifier "FUN_0010ad54") (argument_list "(param_1,auStack_f8,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "auStack_f8") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "png_error(param_1,auStack_f8);" (call_expression "png_error(param_1,auStack_f8)" (identifier "png_error") (argument_list "(param_1,auStack_f8)" (( "(") (identifier "param_1") (, ",") (identifier "auStack_f8") () ")"))) (; ";")) (} "}"))) (expression_statement "png_error(0);" (call_expression "png_error(0)" (identifier "png_error") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}")))

void function_1(type_1 var_1,type_2 error_message)

{
  char msg [214];
  
  if (var_1 != (type_1)0x0) {
    var_2(var_1,msg,error_message);
                    /* WARNING: Subroutine does not return */
    var_3(var_1,msg);
  }
                    /* WARNING: Subroutine does not return */
  var_3((type_1)0x0,error_message);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))))

void MASKED(long param_1,undefined8 param_2)

{
  long in_FS_OFFSET;
  undefined1 auStack_f8 [216];
  undefined8 local_20;
  
  local_20 = *(undefined8 *)(in_FS_OFFSET + 0x28);
  if (param_1 != 0) {
    FUN_0010ad54(param_1,auStack_f8,param_2);
                    /* WARNING: Subroutine does not return */
    png_error(param_1,auStack_f8);
  }
                    /* WARNING: Subroutine does not return */
  png_error(0);
}

