
void string_appendn(string *p,char *s,int n)

{
  string_need(p,n);
  memcpy(p->p,s,(long)n);
  p->p = p->p + n;
  return;
}



void FUN_00272450(long param_1,void *param_2,int param_3)

{
  FUN_00272060(param_1,param_3);
  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);
  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;
  return;
}


PUSH R12
MOV R12,RSI
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOVSXD RBX,EDX
MOV ESI,EBX
CALL 0x00272060
MOV RDI,qword ptr [RBP + 0x8]
MOV RDX,RBX
MOV RSI,R12
CALL 0x0013eaa0
ADD qword ptr [RBP + 0x8],RBX
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_00272450(long param_1,void *param_2,int param_3)\n\n{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}\n\n" (function_definition "void FUN_00272450(long param_1,void *param_2,int param_3)\n\n{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00272450(long param_1,void *param_2,int param_3)" identifier (parameter_list "(long param_1,void *param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}" { (expression_statement "FUN_00272060(param_1,param_3);" (call_expression "FUN_00272060(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (expression_statement "memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);" (call_expression "memcpy(*(void **)(param_1 + 8),param_2,(long)param_3)" identifier (argument_list "(*(void **)(param_1 + 8),param_2,(long)param_3)" ( (pointer_expression "*(void **)(param_1 + 8)" * (cast_expression "(void **)(param_1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;" (assignment_expression "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 8) + (long)param_3" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit "void string_appendn(string *p,char *s,int n)\n\n{\n  string_need(p,n);\n  memcpy(p->p,s,(long)n);\n  p->p = p->p + n;\n  return;\n}\n\n" (function_definition "void string_appendn(string *p,char *s,int n)\n\n{\n  string_need(p,n);\n  memcpy(p->p,s,(long)n);\n  p->p = p->p + n;\n  return;\n}" primitive_type (function_declarator "string_appendn(string *p,char *s,int n)" identifier (parameter_list "(string *p,char *s,int n)" ( (parameter_declaration "string *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "int n" primitive_type identifier) ))) (compound_statement "{\n  string_need(p,n);\n  memcpy(p->p,s,(long)n);\n  p->p = p->p + n;\n  return;\n}" { (expression_statement "string_need(p,n);" (call_expression "string_need(p,n)" identifier (argument_list "(p,n)" ( identifier , identifier ))) ;) (expression_statement "memcpy(p->p,s,(long)n);" (call_expression "memcpy(p->p,s,(long)n)" identifier (argument_list "(p->p,s,(long)n)" ( (field_expression "p->p" identifier -> field_identifier) , identifier , (cast_expression "(long)n" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "p->p = p->p + n;" (assignment_expression "p->p = p->p + n" (field_expression "p->p" identifier -> field_identifier) = (binary_expression "p->p + n" (field_expression "p->p" identifier -> field_identifier) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00272450(long param_1,void *param_2,int param_3)\n\n{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}\n\n" (function_definition "void FUN_00272450(long param_1,void *param_2,int param_3)\n\n{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00272450(long param_1,void *param_2,int param_3)" identifier (parameter_list "(long param_1,void *param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}" { (expression_statement "FUN_00272060(param_1,param_3);" (call_expression "FUN_00272060(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (expression_statement "memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);" (call_expression "memcpy(*(void **)(param_1 + 8),param_2,(long)param_3)" identifier (argument_list "(*(void **)(param_1 + 8),param_2,(long)param_3)" ( (pointer_expression "*(void **)(param_1 + 8)" * (cast_expression "(void **)(param_1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;" (assignment_expression "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 8) + (long)param_3" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , 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) )))) , IDENT , (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (return_statement return ;) })))
(function_definition "void FUN_00272450(long param_1,void *param_2,int param_3)\n\n{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00272450(long param_1,void *param_2,int param_3)" (identifier "FUN_00272450") (parameter_list "(long param_1,void *param_2,int param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  FUN_00272060(param_1,param_3);\n  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);\n  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;\n  return;\n}" ({ "{") (expression_statement "FUN_00272060(param_1,param_3);" (call_expression "FUN_00272060(param_1,param_3)" (identifier "FUN_00272060") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);" (call_expression "memcpy(*(void **)(param_1 + 8),param_2,(long)param_3)" (identifier "memcpy") (argument_list "(*(void **)(param_1 + 8),param_2,(long)param_3)" (( "(") (pointer_expression "*(void **)(param_1 + 8)" (* "*") (cast_expression "(void **)(param_1 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_2") (, ",") (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;" (assignment_expression "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(long *)(param_1 + 8) + (long)param_3" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *p,char *s,int var_3)

{
  var_1(p,var_3);
  var_2(p->p,s,(long)var_3);
  p->p = p->p + var_3;
  return;
}


(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (identifier) (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) (expression_statement (assignment_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: (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) (return_statement))))

void MASKED(long param_1,void *param_2,int param_3)

{
  FUN_00272060(param_1,param_3);
  memcpy(*(void **)(param_1 + 8),param_2,(long)param_3);
  *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + (long)param_3;
  return;
}

