
/* WARNING: Enum "DT": Some values do not have unique names */

void script_add_memory(void *closurev,char *name,size_t namelen,uint attrs,Expression *origin,
                      Expression *length)

{
  Parser_closure *closure;
  
  gold::Script_sections::add_memory_region
            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin
             ,length);
  return;
}



void FUN_002659c0(long param_1)

{
  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);
  return;
}


MOV RDI,qword ptr [RDI + 0x28]
ADD RDI,0x148
JMP 0x00259a00
(translation_unit "void FUN_002659c0(long param_1)\n\n{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}\n\n" (function_definition "void FUN_002659c0(long param_1)\n\n{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}" primitive_type (function_declarator "FUN_002659c0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}" { (expression_statement "FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);" (call_expression "FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148)" identifier (argument_list "(*(long *)(param_1 + 0x28) + 0x148)" ( (binary_expression "*(long *)(param_1 + 0x28) + 0x148" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid script_add_memory(void *closurev,char *name,size_t namelen,uint attrs,Expression *origin,\n                      Expression *length)\n\n{\n  Parser_closure *closure;\n  \n  gold::Script_sections::add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length);\n  return;\n}\n\n" comment (function_definition "void script_add_memory(void *closurev,char *name,size_t namelen,uint attrs,Expression *origin,\n                      Expression *length)\n\n{\n  Parser_closure *closure;\n  \n  gold::Script_sections::add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length);\n  return;\n}" primitive_type (function_declarator "script_add_memory(void *closurev,char *name,size_t namelen,uint attrs,Expression *origin,\n                      Expression *length)" identifier (parameter_list "(void *closurev,char *name,size_t namelen,uint attrs,Expression *origin,\n                      Expression *length)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t namelen" primitive_type identifier) , (parameter_declaration "uint attrs" type_identifier identifier) , (parameter_declaration "Expression *origin" type_identifier (pointer_declarator "*origin" * identifier)) , (parameter_declaration "Expression *length" type_identifier (pointer_declarator "*length" * identifier)) ))) (compound_statement "{\n  Parser_closure *closure;\n  \n  gold::Script_sections::add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length);\n  return;\n}" { (declaration "Parser_closure *closure;" type_identifier (pointer_declarator "*closure" * identifier) ;) (labeled_statement "gold::Script_sections::add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length);" statement_identifier : (ERROR ":" :) (labeled_statement "Script_sections::add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length);" statement_identifier : (ERROR ":" :) (expression_statement "add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length);" (call_expression "add_memory_region\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length)" identifier (argument_list "((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin\n             ,length)" ( (cast_expression "(Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148)" ( (type_descriptor "Script_sections *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)closurev + 0x28) + 0x148)" ( (binary_expression "*(long *)((long)closurev + 0x28) + 0x148" (pointer_expression "*(long *)((long)closurev + 0x28)" * (cast_expression "(long *)((long)closurev + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x28)" ( (binary_expression "(long)closurev + 0x28" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) ))) , identifier , identifier , identifier , identifier , identifier ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002659c0(long param_1)\n\n{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}\n\n" (function_definition "void FUN_002659c0(long param_1)\n\n{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}" primitive_type (function_declarator "FUN_002659c0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}" { (expression_statement "FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);" (call_expression "FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148)" identifier (argument_list "(*(long *)(param_1 + 0x28) + 0x148)" ( (binary_expression "*(long *)(param_1 + 0x28) + 0x148" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002659c0(long param_1)\n\n{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002659c0(long param_1)" (identifier "FUN_002659c0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);\n  return;\n}" ({ "{") (expression_statement "FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);" (call_expression "FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148)" (identifier "FUN_00259a00") (argument_list "(*(long *)(param_1 + 0x28) + 0x148)" (( "(") (binary_expression "*(long *)(param_1 + 0x28) + 0x148" (pointer_expression "*(long *)(param_1 + 0x28)" (* "*") (cast_expression "(long *)(param_1 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "0x148")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */

void function_1(void *closurev,char *name,size_t namelen,type_1 attrs,type_2 *origin,
                      type_2 *length)

{
  type_3 *closure;
  
  gold::Script_sections::var_1
            ((type_4 *)(*(long *)((long)closurev + 0x28) + 0x148),name,namelen,attrs,origin
             ,length);
  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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement))))

void MASKED(long param_1)

{
  FUN_00259a00(*(long *)(param_1 + 0x28) + 0x148);
  return;
}

