
bfd_boolean tg_start_compilation_unit(void *p,char *fname)

{
  char *pcVar1;
  pr_handle *info;
  
  free(*(void **)((long)p + 0x20));
  pcVar1 = strdup(fname);
  *(char **)((long)p + 0x20) = pcVar1;
  return 1;
}



undefined8 FUN_00126870(long param_1,char *param_2)

{
  char *pcVar1;
  
  free(*(void **)(param_1 + 0x20));
  pcVar1 = strdup(param_2);
  *(char **)(param_1 + 0x20) = pcVar1;
  return 1;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV RDI,qword ptr [RDI + 0x20]
CALL 0x00107070
MOV RDI,RBP
CALL 0x001077e0
MOV qword ptr [RBX + 0x20],RAX
ADD RSP,0x8
MOV EAX,0x1
POP RBX
POP RBP
RET
(translation_unit "undefined8 FUN_00126870(long param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00126870(long param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}" type_identifier (function_declarator "FUN_00126870(long param_1,char *param_2)" identifier (parameter_list "(long param_1,char *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "free(*(void **)(param_1 + 0x20));" (call_expression "free(*(void **)(param_1 + 0x20))" identifier (argument_list "(*(void **)(param_1 + 0x20))" ( (pointer_expression "*(void **)(param_1 + 0x20)" * (cast_expression "(void **)(param_1 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "pcVar1 = strdup(param_2);" (assignment_expression "pcVar1 = strdup(param_2)" identifier = (call_expression "strdup(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(char **)(param_1 + 0x20) = pcVar1;" (assignment_expression "*(char **)(param_1 + 0x20) = pcVar1" (pointer_expression "*(char **)(param_1 + 0x20)" * (cast_expression "(char **)(param_1 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "bfd_boolean tg_start_compilation_unit(void *p,char *fname)\n\n{\n  char *pcVar1;\n  pr_handle *info;\n  \n  free(*(void **)((long)p + 0x20));\n  pcVar1 = strdup(fname);\n  *(char **)((long)p + 0x20) = pcVar1;\n  return 1;\n}\n\n" (function_definition "bfd_boolean tg_start_compilation_unit(void *p,char *fname)\n\n{\n  char *pcVar1;\n  pr_handle *info;\n  \n  free(*(void **)((long)p + 0x20));\n  pcVar1 = strdup(fname);\n  *(char **)((long)p + 0x20) = pcVar1;\n  return 1;\n}" type_identifier (function_declarator "tg_start_compilation_unit(void *p,char *fname)" identifier (parameter_list "(void *p,char *fname)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *fname" primitive_type (pointer_declarator "*fname" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  pr_handle *info;\n  \n  free(*(void **)((long)p + 0x20));\n  pcVar1 = strdup(fname);\n  *(char **)((long)p + 0x20) = pcVar1;\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (expression_statement "free(*(void **)((long)p + 0x20));" (call_expression "free(*(void **)((long)p + 0x20))" identifier (argument_list "(*(void **)((long)p + 0x20))" ( (pointer_expression "*(void **)((long)p + 0x20)" * (cast_expression "(void **)((long)p + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)p + 0x20)" ( (binary_expression "(long)p + 0x20" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ))) ;) (expression_statement "pcVar1 = strdup(fname);" (assignment_expression "pcVar1 = strdup(fname)" identifier = (call_expression "strdup(fname)" identifier (argument_list "(fname)" ( identifier )))) ;) (expression_statement "*(char **)((long)p + 0x20) = pcVar1;" (assignment_expression "*(char **)((long)p + 0x20) = pcVar1" (pointer_expression "*(char **)((long)p + 0x20)" * (cast_expression "(char **)((long)p + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)p + 0x20)" ( (binary_expression "(long)p + 0x20" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00126870(long param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00126870(long param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}" type_identifier (function_declarator "FUN_00126870(long param_1,char *param_2)" identifier (parameter_list "(long param_1,char *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "free(*(void **)(param_1 + 0x20));" (call_expression "free(*(void **)(param_1 + 0x20))" identifier (argument_list "(*(void **)(param_1 + 0x20))" ( (pointer_expression "*(void **)(param_1 + 0x20)" * (cast_expression "(void **)(param_1 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "pcVar1 = strdup(param_2);" (assignment_expression "pcVar1 = strdup(param_2)" identifier = (call_expression "strdup(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(char **)(param_1 + 0x20) = pcVar1;" (assignment_expression "*(char **)(param_1 + 0x20) = pcVar1" (pointer_expression "*(char **)(param_1 + 0x20)" * (cast_expression "(char **)(param_1 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 LIT ;) })))
(function_definition "undefined8 FUN_00126870(long param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_00126870(long param_1,char *param_2)" (identifier "FUN_00126870") (parameter_list "(long param_1,char *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  free(*(void **)(param_1 + 0x20));\n  pcVar1 = strdup(param_2);\n  *(char **)(param_1 + 0x20) = pcVar1;\n  return 1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "free(*(void **)(param_1 + 0x20));" (call_expression "free(*(void **)(param_1 + 0x20))" (identifier "free") (argument_list "(*(void **)(param_1 + 0x20))" (( "(") (pointer_expression "*(void **)(param_1 + 0x20)" (* "*") (cast_expression "(void **)(param_1 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "pcVar1 = strdup(param_2);" (assignment_expression "pcVar1 = strdup(param_2)" (identifier "pcVar1") (= "=") (call_expression "strdup(param_2)" (identifier "strdup") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(char **)(param_1 + 0x20) = pcVar1;" (assignment_expression "*(char **)(param_1 + 0x20) = pcVar1" (pointer_expression "*(char **)(param_1 + 0x20)" (* "*") (cast_expression "(char **)(param_1 + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "pcVar1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

type_1 function_1(void *p,char *fname)

{
  char *pcVar1;
  type_2 *info;
  
  var_1(*(void **)((long)p + 0x20));
  pcVar1 = var_2(fname);
  *(char **)((long)p + 0x20) = pcVar1;
  return 1;
}


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

undefined8 MASKED(long param_1,char *param_2)

{
  char *pcVar1;
  
  free(*(void **)(param_1 + 0x20));
  pcVar1 = strdup(param_2);
  *(char **)(param_1 + 0x20) = pcVar1;
  return 1;
}

