
void bc_vec_string(BcVec *v,size_t len,char *str)

{
  bc_vec_pop_all(v);
  bc_vec_expand(v,len + 1);
  memcpy(v->v,str,len);
  v->len = len;
  bc_vec_pushZeroByte(v);
  return;
}



void FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)

{
  FUN_0011175a();
  FUN_00111dee(param_1,param_2 + 1);
  memcpy((void *)*param_1,param_3,param_2);
  param_1[1] = param_2;
  FUN_0011203a(param_1);
  return;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
MOV RBP,RSI
MOV R12,RDX
CALL 0x0011175a
LEA RSI,[RBP + 0x1]
MOV RDI,RBX
CALL 0x00111dee
MOV RDI,qword ptr [RBX]
MOV RDX,RBP
MOV RSI,R12
CALL 0x0010bb30
MOV qword ptr [RBX + 0x8],RBP
MOV RDI,RBX
CALL 0x0011203a
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)\n\n{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)\n\n{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)" identifier (parameter_list "(undefined8 *param_1,size_t param_2,void *param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "size_t param_2" primitive_type identifier) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}" { (expression_statement "FUN_0011175a();" (call_expression "FUN_0011175a()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00111dee(param_1,param_2 + 1);" (call_expression "FUN_00111dee(param_1,param_2 + 1)" identifier (argument_list "(param_1,param_2 + 1)" ( identifier , (binary_expression "param_2 + 1" identifier + number_literal) ))) ;) (expression_statement "memcpy((void *)*param_1,param_3,param_2);" (call_expression "memcpy((void *)*param_1,param_3,param_2)" identifier (argument_list "((void *)*param_1,param_3,param_2)" ( (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , identifier , identifier ))) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0011203a(param_1);" (call_expression "FUN_0011203a(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void bc_vec_string(BcVec *v,size_t len,char *str)\n\n{\n  bc_vec_pop_all(v);\n  bc_vec_expand(v,len + 1);\n  memcpy(v->v,str,len);\n  v->len = len;\n  bc_vec_pushZeroByte(v);\n  return;\n}\n\n" (function_definition "void bc_vec_string(BcVec *v,size_t len,char *str)\n\n{\n  bc_vec_pop_all(v);\n  bc_vec_expand(v,len + 1);\n  memcpy(v->v,str,len);\n  v->len = len;\n  bc_vec_pushZeroByte(v);\n  return;\n}" primitive_type (function_declarator "bc_vec_string(BcVec *v,size_t len,char *str)" identifier (parameter_list "(BcVec *v,size_t len,char *str)" ( (parameter_declaration "BcVec *v" type_identifier (pointer_declarator "*v" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) ))) (compound_statement "{\n  bc_vec_pop_all(v);\n  bc_vec_expand(v,len + 1);\n  memcpy(v->v,str,len);\n  v->len = len;\n  bc_vec_pushZeroByte(v);\n  return;\n}" { (expression_statement "bc_vec_pop_all(v);" (call_expression "bc_vec_pop_all(v)" identifier (argument_list "(v)" ( identifier ))) ;) (expression_statement "bc_vec_expand(v,len + 1);" (call_expression "bc_vec_expand(v,len + 1)" identifier (argument_list "(v,len + 1)" ( identifier , (binary_expression "len + 1" identifier + number_literal) ))) ;) (expression_statement "memcpy(v->v,str,len);" (call_expression "memcpy(v->v,str,len)" identifier (argument_list "(v->v,str,len)" ( (field_expression "v->v" identifier -> field_identifier) , identifier , identifier ))) ;) (expression_statement "v->len = len;" (assignment_expression "v->len = len" (field_expression "v->len" identifier -> field_identifier) = identifier) ;) (expression_statement "bc_vec_pushZeroByte(v);" (call_expression "bc_vec_pushZeroByte(v)" identifier (argument_list "(v)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)\n\n{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)\n\n{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)" identifier (parameter_list "(undefined8 *param_1,size_t param_2,void *param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "size_t param_2" primitive_type identifier) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}" { (expression_statement "FUN_0011175a();" (call_expression "FUN_0011175a()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00111dee(param_1,param_2 + 1);" (call_expression "FUN_00111dee(param_1,param_2 + 1)" identifier (argument_list "(param_1,param_2 + 1)" ( identifier , (binary_expression "param_2 + 1" identifier + number_literal) ))) ;) (expression_statement "memcpy((void *)*param_1,param_3,param_2);" (call_expression "memcpy((void *)*param_1,param_3,param_2)" identifier (argument_list "((void *)*param_1,param_3,param_2)" ( (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , identifier , identifier ))) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0011203a(param_1);" (call_expression "FUN_0011203a(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)\n\n{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011277a(undefined8 *param_1,size_t param_2,void *param_3)" (identifier "FUN_0011277a") (parameter_list "(undefined8 *param_1,size_t param_2,void *param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "size_t param_2" (primitive_type "size_t") (identifier "param_2")) (, ",") (parameter_declaration "void *param_3" (primitive_type "void") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  FUN_0011175a();\n  FUN_00111dee(param_1,param_2 + 1);\n  memcpy((void *)*param_1,param_3,param_2);\n  param_1[1] = param_2;\n  FUN_0011203a(param_1);\n  return;\n}" ({ "{") (expression_statement "FUN_0011175a();" (call_expression "FUN_0011175a()" (identifier "FUN_0011175a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00111dee(param_1,param_2 + 1);" (call_expression "FUN_00111dee(param_1,param_2 + 1)" (identifier "FUN_00111dee") (argument_list "(param_1,param_2 + 1)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "memcpy((void *)*param_1,param_3,param_2);" (call_expression "memcpy((void *)*param_1,param_3,param_2)" (identifier "memcpy") (argument_list "((void *)*param_1,param_3,param_2)" (( "(") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (identifier "param_3") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_0011203a(param_1);" (call_expression "FUN_0011203a(param_1)" (identifier "FUN_0011203a") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *v,size_t var_3,char *str)

{
  var_1(v);
  var_2(v,var_3 + 1);
  var_4(v->v,str,var_3);
  v->var_3 = var_3;
  var_5(v);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (identifier) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(undefined8 *param_1,size_t param_2,void *param_3)

{
  FUN_0011175a();
  FUN_00111dee(param_1,param_2 + 1);
  memcpy((void *)*param_1,param_3,param_2);
  param_1[1] = param_2;
  FUN_0011203a(param_1);
  return;
}

