
debug_method debug_make_method(void *handle,char *name,debug_method_variant *variants)

{
  debug_method pdVar1;
  
  pdVar1 = (debug_method)xmalloc(0x10);
  pdVar1->name = name;
  pdVar1->variants = variants;
  return pdVar1;
}



void FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)

{
  undefined8 *puVar1;
  
  puVar1 = (undefined8 *)xmalloc(0x10);
  *puVar1 = param_2;
  puVar1[1] = param_3;
  return;
}


PUSH RBP
MOV EDI,0x10
MOV RBP,RSI
PUSH RBX
MOV RBX,RDX
SUB RSP,0x8
CALL 0x00104370
MOV qword ptr [RAX],RBP
MOV qword ptr [RAX + 0x8],RBX
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}\n\n" (function_definition "void FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x10);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x10)" identifier = (cast_expression "(undefined8 *)xmalloc(0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = param_3;" (assignment_expression "puVar1[1] = param_3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "debug_method debug_make_method(void *handle,char *name,debug_method_variant *variants)\n\n{\n  debug_method pdVar1;\n  \n  pdVar1 = (debug_method)xmalloc(0x10);\n  pdVar1->name = name;\n  pdVar1->variants = variants;\n  return pdVar1;\n}\n\n" (function_definition "debug_method debug_make_method(void *handle,char *name,debug_method_variant *variants)\n\n{\n  debug_method pdVar1;\n  \n  pdVar1 = (debug_method)xmalloc(0x10);\n  pdVar1->name = name;\n  pdVar1->variants = variants;\n  return pdVar1;\n}" type_identifier (function_declarator "debug_make_method(void *handle,char *name,debug_method_variant *variants)" identifier (parameter_list "(void *handle,char *name,debug_method_variant *variants)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "debug_method_variant *variants" type_identifier (pointer_declarator "*variants" * identifier)) ))) (compound_statement "{\n  debug_method pdVar1;\n  \n  pdVar1 = (debug_method)xmalloc(0x10);\n  pdVar1->name = name;\n  pdVar1->variants = variants;\n  return pdVar1;\n}" { (declaration "debug_method pdVar1;" type_identifier identifier ;) (expression_statement "pdVar1 = (debug_method)xmalloc(0x10);" (assignment_expression "pdVar1 = (debug_method)xmalloc(0x10)" identifier = (cast_expression "(debug_method)xmalloc(0x10)" ( (type_descriptor "debug_method" type_identifier) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "pdVar1->name = name;" (assignment_expression "pdVar1->name = name" (field_expression "pdVar1->name" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar1->variants = variants;" (assignment_expression "pdVar1->variants = variants" (field_expression "pdVar1->variants" identifier -> field_identifier) = identifier) ;) (return_statement "return pdVar1;" return identifier ;) })))
(translation_unit "void FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}\n\n" (function_definition "void FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x10);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x10)" identifier = (cast_expression "(undefined8 *)xmalloc(0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = param_3;" (assignment_expression "puVar1[1] = param_3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010fa20(undefined8 param_1,undefined8 param_2,undefined8 param_3)" (identifier "FUN_0010fa20") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)xmalloc(0x10);\n  *puVar1 = param_2;\n  puVar1[1] = param_3;\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x10);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x10)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)xmalloc(0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x10)" (identifier "xmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar1[1] = param_3;" (assignment_expression "puVar1[1] = param_3" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 function_1(void *handle,char *name,type_2 *variants)

{
  type_1 pdVar1;
  
  pdVar1 = (type_1)var_1(0x10);
  pdVar1->name = name;
  pdVar1->variants = variants;
  return pdVar1;
}


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

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

{
  undefined8 *puVar1;
  
  puVar1 = (undefined8 *)xmalloc(0x10);
  *puVar1 = param_2;
  puVar1[1] = param_3;
  return;
}

