
void bind_F12(char *label)

{
  undefined *puVar1;
  int iVar2;
  char *message;
  
  puVar1 = PTR_DAT_0002c228;
  if (label == (char *)0x0) {
    return;
  }
  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {
    (*(code *)PTR_free_0002c474)();
  }
  iVar2 = (*(code *)PTR_strdup_0002c470)(label);
  *(int *)(puVar1 + -0x3aa0) = iVar2;
  if (iVar2 != 0) {
    return;
  }
  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);
  message = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);
  fatal_error(message,label);
  return;
}



void bind_F12(int param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  
  puVar1 = PTR_DAT_0002c228;
  if (param_1 == 0) {
    return;
  }
  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {
    (*(code *)PTR_free_0002c474)();
  }
  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);
  *(int *)(puVar1 + -0x3aa0) = iVar2;
  if (iVar2 != 0) {
    return;
  }
  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);
  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);
  fatal_error(uVar3,param_1);
  return;
}


lui gp,0x2
addiu gp,gp,-0x31ac
addu gp,gp,t9
beq a0,zero,0x00017424
_nop
addiu sp,sp,-0x28
sw s0,0x1c(sp)
lw s0,-0x7fd8(gp)
sw s1,0x20(sp)
or s1,a0,zero
sw gp,0x10(sp)
addiu s0,s0,-0x3acc
sw ra,0x24(sp)
lw a0,0x2c(s0)
beq a0,zero,0x000173f8
_lw t9,-0x7d8c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7d90(gp)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
beq v0,zero,0x0001742c
_sw v0,0x2c(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_nop
lw a0,-0x7fc8(gp)
lw t9,-0x7dd8(gp)
jalr t9
_addiu a0,a0,-0x4864
or a0,zero,zero
lw gp,0x10(sp)
li a2,0x5
lw a1,-0x7fc8(gp)
lw t9,-0x7db8(gp)
jalr t9
_addiu a1,a1,-0x5d54
or a1,s1,zero
lw gp,0x10(sp)
or a0,v0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7f84(gp)
b 0x000190c0
_addiu sp,sp,0x28
(translation_unit "void bind_F12(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}\n\n" (function_definition "void bind_F12(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}" primitive_type (function_declarator "bind_F12(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002c228;" (assignment_expression "puVar1 = PTR_DAT_0002c228" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0" (pointer_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0)" * (cast_expression "(int *)(PTR_DAT_0002c228 + -0x3aa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002c228 + -0x3aa0)" ( (binary_expression "PTR_DAT_0002c228 + -0x3aa0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0002c474)();\n  }" { (expression_statement "(*(code *)PTR_free_0002c474)();" (call_expression "(*(code *)PTR_free_0002c474)()" (parenthesized_expression "(*(code *)PTR_free_0002c474)" ( (pointer_expression "*(code *)PTR_free_0002c474" * (cast_expression "(code *)PTR_free_0002c474" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strdup_0002c470)(param_1)" identifier = (call_expression "(*(code *)PTR_strdup_0002c470)(param_1)" (parenthesized_expression "(*(code *)PTR_strdup_0002c470)" ( (pointer_expression "*(code *)PTR_strdup_0002c470" * (cast_expression "(code *)PTR_strdup_0002c470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(int *)(puVar1 + -0x3aa0) = iVar2;" (assignment_expression "*(int *)(puVar1 + -0x3aa0) = iVar2" (pointer_expression "*(int *)(puVar1 + -0x3aa0)" * (cast_expression "(int *)(puVar1 + -0x3aa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x3aa0)" ( (binary_expression "puVar1 + -0x3aa0" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);" (call_expression "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864)" (parenthesized_expression "(*(code *)PTR_perror_0002c428)" ( (pointer_expression "*(code *)PTR_perror_0002c428" * (cast_expression "(code *)PTR_perror_0002c428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002c238 + -0x4864)" ( (binary_expression "PTR_DAT_0002c238 + -0x4864" identifier + number_literal) ))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x5d54,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x5d54" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar3,param_1);" (call_expression "fatal_error(uVar3,param_1)" identifier (argument_list "(uVar3,param_1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void bind_F12(char *label)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  char *message;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (label == (char *)0x0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(label);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  message = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(message,label);\n  return;\n}\n\n" (function_definition "void bind_F12(char *label)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  char *message;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (label == (char *)0x0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(label);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  message = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(message,label);\n  return;\n}" primitive_type (function_declarator "bind_F12(char *label)" identifier (parameter_list "(char *label)" ( (parameter_declaration "char *label" primitive_type (pointer_declarator "*label" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  char *message;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (label == (char *)0x0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(label);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  message = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(message,label);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_0002c228;" (assignment_expression "puVar1 = PTR_DAT_0002c228" identifier = identifier) ;) (if_statement "if (label == (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(label == (char *)0x0)" ( (binary_expression "label == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0" (pointer_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0)" * (cast_expression "(int *)(PTR_DAT_0002c228 + -0x3aa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002c228 + -0x3aa0)" ( (binary_expression "PTR_DAT_0002c228 + -0x3aa0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0002c474)();\n  }" { (expression_statement "(*(code *)PTR_free_0002c474)();" (call_expression "(*(code *)PTR_free_0002c474)()" (parenthesized_expression "(*(code *)PTR_free_0002c474)" ( (pointer_expression "*(code *)PTR_free_0002c474" * (cast_expression "(code *)PTR_free_0002c474" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strdup_0002c470)(label);" (assignment_expression "iVar2 = (*(code *)PTR_strdup_0002c470)(label)" identifier = (call_expression "(*(code *)PTR_strdup_0002c470)(label)" (parenthesized_expression "(*(code *)PTR_strdup_0002c470)" ( (pointer_expression "*(code *)PTR_strdup_0002c470" * (cast_expression "(code *)PTR_strdup_0002c470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(label)" ( identifier )))) ;) (expression_statement "*(int *)(puVar1 + -0x3aa0) = iVar2;" (assignment_expression "*(int *)(puVar1 + -0x3aa0) = iVar2" (pointer_expression "*(int *)(puVar1 + -0x3aa0)" * (cast_expression "(int *)(puVar1 + -0x3aa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x3aa0)" ( (binary_expression "puVar1 + -0x3aa0" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);" (call_expression "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864)" (parenthesized_expression "(*(code *)PTR_perror_0002c428)" ( (pointer_expression "*(code *)PTR_perror_0002c428" * (cast_expression "(code *)PTR_perror_0002c428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002c238 + -0x4864)" ( (binary_expression "PTR_DAT_0002c238 + -0x4864" identifier + number_literal) ))) ;) (expression_statement "message = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);" (assignment_expression "message = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x5d54,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x5d54" identifier + number_literal) , number_literal ))))) ;) (expression_statement "fatal_error(message,label);" (call_expression "fatal_error(message,label)" identifier (argument_list "(message,label)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void bind_F12(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}\n\n" (function_definition "void bind_F12(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}" primitive_type (function_declarator "bind_F12(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002c228;" (assignment_expression "puVar1 = PTR_DAT_0002c228" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0" (pointer_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0)" * (cast_expression "(int *)(PTR_DAT_0002c228 + -0x3aa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002c228 + -0x3aa0)" ( (binary_expression "PTR_DAT_0002c228 + -0x3aa0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0002c474)();\n  }" { (expression_statement "(*(code *)PTR_free_0002c474)();" (call_expression "(*(code *)PTR_free_0002c474)()" (parenthesized_expression "(*(code *)PTR_free_0002c474)" ( (pointer_expression "*(code *)PTR_free_0002c474" * (cast_expression "(code *)PTR_free_0002c474" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strdup_0002c470)(param_1)" identifier = (call_expression "(*(code *)PTR_strdup_0002c470)(param_1)" (parenthesized_expression "(*(code *)PTR_strdup_0002c470)" ( (pointer_expression "*(code *)PTR_strdup_0002c470" * (cast_expression "(code *)PTR_strdup_0002c470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(int *)(puVar1 + -0x3aa0) = iVar2;" (assignment_expression "*(int *)(puVar1 + -0x3aa0) = iVar2" (pointer_expression "*(int *)(puVar1 + -0x3aa0)" * (cast_expression "(int *)(puVar1 + -0x3aa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x3aa0)" ( (binary_expression "puVar1 + -0x3aa0" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);" (call_expression "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864)" (parenthesized_expression "(*(code *)PTR_perror_0002c428)" ( (pointer_expression "*(code *)PTR_perror_0002c428" * (cast_expression "(code *)PTR_perror_0002c428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002c238 + -0x4864)" ( (binary_expression "PTR_DAT_0002c238 + -0x4864" identifier + number_literal) ))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x5d54,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x5d54" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar3,param_1);" (call_expression "fatal_error(uVar3,param_1)" identifier (argument_list "(uVar3,param_1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void bind_F12(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "bind_F12(int param_1)" (identifier "bind_F12") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_DAT_0002c228;\n  if (param_1 == 0) {\n    return;\n  }\n  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }\n  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);\n  *(int *)(puVar1 + -0x3aa0) = iVar2;\n  if (iVar2 != 0) {\n    return;\n  }\n  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);\n  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);\n  fatal_error(uVar3,param_1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "puVar1 = PTR_DAT_0002c228;" (assignment_expression "puVar1 = PTR_DAT_0002c228" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0002c228")) (; ";")) (if_statement "if (param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {\n    (*(code *)PTR_free_0002c474)();\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0" (pointer_expression "*(int *)(PTR_DAT_0002c228 + -0x3aa0)" (* "*") (cast_expression "(int *)(PTR_DAT_0002c228 + -0x3aa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002c228 + -0x3aa0)" (( "(") (binary_expression "PTR_DAT_0002c228 + -0x3aa0" (identifier "PTR_DAT_0002c228") (+ "+") (number_literal "-0x3aa0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_free_0002c474)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_0002c474)();" (call_expression "(*(code *)PTR_free_0002c474)()" (parenthesized_expression "(*(code *)PTR_free_0002c474)" (( "(") (pointer_expression "*(code *)PTR_free_0002c474" (* "*") (cast_expression "(code *)PTR_free_0002c474" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0002c474"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strdup_0002c470)(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strdup_0002c470)(param_1)" (parenthesized_expression "(*(code *)PTR_strdup_0002c470)" (( "(") (pointer_expression "*(code *)PTR_strdup_0002c470" (* "*") (cast_expression "(code *)PTR_strdup_0002c470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strdup_0002c470"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(int *)(puVar1 + -0x3aa0) = iVar2;" (assignment_expression "*(int *)(puVar1 + -0x3aa0) = iVar2" (pointer_expression "*(int *)(puVar1 + -0x3aa0)" (* "*") (cast_expression "(int *)(puVar1 + -0x3aa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x3aa0)" (( "(") (binary_expression "puVar1 + -0x3aa0" (identifier "puVar1") (+ "+") (number_literal "-0x3aa0")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);" (call_expression "(*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864)" (parenthesized_expression "(*(code *)PTR_perror_0002c428)" (( "(") (pointer_expression "*(code *)PTR_perror_0002c428" (* "*") (cast_expression "(code *)PTR_perror_0002c428" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_0002c428"))) () ")")) (argument_list "(PTR_DAT_0002c238 + -0x4864)" (( "(") (binary_expression "PTR_DAT_0002c238 + -0x4864" (identifier "PTR_DAT_0002c238") (+ "+") (number_literal "-0x4864")) () ")"))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c448" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c448"))) () ")")) (argument_list "(0,PTR_DAT_0002c238 + -0x5d54,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c238 + -0x5d54" (identifier "PTR_DAT_0002c238") (+ "+") (number_literal "-0x5d54")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fatal_error(uVar3,param_1);" (call_expression "fatal_error(uVar3,param_1)" (identifier "fatal_error") (argument_list "(uVar3,param_1)" (( "(") (identifier "uVar3") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *var_1)

{
  type_1 *var_3;
  int var_4;
  char *message;
  
  var_3 = var_2;
  if (var_1 == (char *)0x0) {
    return;
  }
  if (*(int *)(var_2 + -0x3aa0) != 0) {
    (*(type_2 *)PTR_free_0002c474)();
  }
  var_4 = (*(type_2 *)PTR_strdup_0002c470)(var_1);
  *(int *)(var_3 + -0x3aa0) = var_4;
  if (var_4 != 0) {
    return;
  }
  (*(type_2 *)PTR_perror_0002c428)(var_5 + -0x4864);
  message = (char *)(*(type_2 *)PTR_dcgettext_0002c448)(0,var_5 + -0x5d54,5);
  var_6(message,var_1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier))))) (expression_statement (assignment_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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (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 (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

void MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  
  puVar1 = PTR_DAT_0002c228;
  if (param_1 == 0) {
    return;
  }
  if (*(int *)(PTR_DAT_0002c228 + -0x3aa0) != 0) {
    (*(code *)PTR_free_0002c474)();
  }
  iVar2 = (*(code *)PTR_strdup_0002c470)(param_1);
  *(int *)(puVar1 + -0x3aa0) = iVar2;
  if (iVar2 != 0) {
    return;
  }
  (*(code *)PTR_perror_0002c428)(PTR_DAT_0002c238 + -0x4864);
  uVar3 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x5d54,5);
  fatal_error(uVar3,param_1);
  return;
}

