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

void tftp_progress_done(void)

{
  undefined *puVar1;
  
  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {
    tftp_progress_update();
    (*(code *)PTR_bb_putchar_stderr_001315e8)(10);
    puVar1 = PTR_bb_common_bufsiz1_0013136c;
    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));
    *(undefined4 *)(puVar1 + 0x254) = 0;
  }
  return;
}



void FUN_0004baf8(void)

{
  undefined *puVar1;
  
  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {
    FUN_0004b980();
    (*(code *)PTR_FUN_001315e8)(10);
    puVar1 = PTR_bb_common_bufsiz1_0013136c;
    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));
    *(undefined4 *)(puVar1 + 0x254) = 0;
  }
  return;
}


lui gp,0xf
addiu gp,gp,-0x29a8
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
lw v0,-0x7de4(gp)
lwl v1,0x254(v0)
lwr v1,0x257(v0)
beq v1,zero,0x0004bb70
_lw t9,-0x7ba4(gp)
addiu t9,t9,-0x4680
bal 0x0004b980
_nop
lw gp,0x10(sp)
li a0,0xa
lw t9,-0x7b68(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw s0,-0x7de4(gp)
lwl a0,0x254(s0)
lwr a0,0x257(s0)
lw t9,-0x6fd0(gp)
jalr t9
_nop
lw gp,0x10(sp)
swl zero,0x254(s0)
swr zero,0x257(s0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_0004baf8(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004baf8(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004baf8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" if (parenthesized_expression "(*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0)" ( (binary_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" { (expression_statement "FUN_0004b980();" (call_expression "FUN_0004b980()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_FUN_001315e8)(10);" (call_expression "(*(code *)PTR_FUN_001315e8)(10)" (parenthesized_expression "(*(code *)PTR_FUN_001315e8)" ( (pointer_expression "*(code *)PTR_FUN_001315e8" * (cast_expression "(code *)PTR_FUN_001315e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (expression_statement "puVar1 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar1 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));" (call_expression "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" (parenthesized_expression "(*(code *)PTR_free_00132180)" ( (pointer_expression "*(code *)PTR_free_00132180" * (cast_expression "(code *)PTR_free_00132180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x254) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x254) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x254)" * (cast_expression "(undefined4 *)(puVar1 + 0x254)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x254)" ( (binary_expression "puVar1 + 0x254" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid tftp_progress_done(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    tftp_progress_update();\n    (*(code *)PTR_bb_putchar_stderr_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void tftp_progress_done(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    tftp_progress_update();\n    (*(code *)PTR_bb_putchar_stderr_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "tftp_progress_done(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    tftp_progress_update();\n    (*(code *)PTR_bb_putchar_stderr_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    tftp_progress_update();\n    (*(code *)PTR_bb_putchar_stderr_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" if (parenthesized_expression "(*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0)" ( (binary_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    tftp_progress_update();\n    (*(code *)PTR_bb_putchar_stderr_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" { (expression_statement "tftp_progress_update();" (call_expression "tftp_progress_update()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_bb_putchar_stderr_001315e8)(10);" (call_expression "(*(code *)PTR_bb_putchar_stderr_001315e8)(10)" (parenthesized_expression "(*(code *)PTR_bb_putchar_stderr_001315e8)" ( (pointer_expression "*(code *)PTR_bb_putchar_stderr_001315e8" * (cast_expression "(code *)PTR_bb_putchar_stderr_001315e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (expression_statement "puVar1 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar1 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));" (call_expression "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" (parenthesized_expression "(*(code *)PTR_free_00132180)" ( (pointer_expression "*(code *)PTR_free_00132180" * (cast_expression "(code *)PTR_free_00132180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x254) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x254) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x254)" * (cast_expression "(undefined4 *)(puVar1 + 0x254)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x254)" ( (binary_expression "puVar1 + 0x254" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004baf8(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004baf8(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004baf8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" if (parenthesized_expression "(*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0)" ( (binary_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" { (expression_statement "FUN_0004b980();" (call_expression "FUN_0004b980()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_FUN_001315e8)(10);" (call_expression "(*(code *)PTR_FUN_001315e8)(10)" (parenthesized_expression "(*(code *)PTR_FUN_001315e8)" ( (pointer_expression "*(code *)PTR_FUN_001315e8" * (cast_expression "(code *)PTR_FUN_001315e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (expression_statement "puVar1 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar1 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));" (call_expression "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" (parenthesized_expression "(*(code *)PTR_free_00132180)" ( (pointer_expression "*(code *)PTR_free_00132180" * (cast_expression "(code *)PTR_free_00132180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x254) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x254) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x254)" * (cast_expression "(undefined4 *)(puVar1 + 0x254)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x254)" ( (binary_expression "puVar1 + 0x254" identifier + number_literal) )))) = 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) ;) (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 { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0004baf8(void)\n\n{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004baf8(void)" (identifier "FUN_0004baf8") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0)" (( "(") (binary_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" (* "*") (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x254")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0004b980();\n    (*(code *)PTR_FUN_001315e8)(10);\n    puVar1 = PTR_bb_common_bufsiz1_0013136c;\n    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));\n    *(undefined4 *)(puVar1 + 0x254) = 0;\n  }" ({ "{") (expression_statement "FUN_0004b980();" (call_expression "FUN_0004b980()" (identifier "FUN_0004b980") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_001315e8)(10);" (call_expression "(*(code *)PTR_FUN_001315e8)(10)" (parenthesized_expression "(*(code *)PTR_FUN_001315e8)" (( "(") (pointer_expression "*(code *)PTR_FUN_001315e8" (* "*") (cast_expression "(code *)PTR_FUN_001315e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001315e8"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar1 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar1") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));" (call_expression "(*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" (parenthesized_expression "(*(code *)PTR_free_00132180)" (( "(") (pointer_expression "*(code *)PTR_free_00132180" (* "*") (cast_expression "(code *)PTR_free_00132180" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00132180"))) () ")")) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254))" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x254)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x254" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x254")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + 0x254) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x254) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x254)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 0x254)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x254)" (( "(") (binary_expression "puVar1 + 0x254" (identifier "puVar1") (+ "+") (number_literal "0x254")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (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))) (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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 (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (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: (number_literal))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  
  if (*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x254) != 0) {
    FUN_0004b980();
    (*(code *)PTR_FUN_001315e8)(10);
    puVar1 = PTR_bb_common_bufsiz1_0013136c;
    (*(code *)PTR_free_00132180)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x254));
    *(undefined4 *)(puVar1 + 0x254) = 0;
  }
  return;
}

