
long __cxa_init_primary_exception(long param_1,undefined8 param_2,undefined8 param_3)

{
  undefined8 uVar1;
  
  *(undefined4 *)(param_1 + -0x80) = 0;
  *(undefined8 *)(param_1 + -0x70) = param_2;
  *(undefined8 *)(param_1 + -0x68) = param_3;
  uVar1 = std::get_unexpected();
  *(undefined8 *)(param_1 + -0x60) = uVar1;
  uVar1 = std::get_terminate();
  *(undefined8 *)(param_1 + -0x58) = uVar1;
  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;
  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;
  return param_1 + -0x80;
}



long FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)

{
  undefined8 uVar1;
  
  *(undefined4 *)(param_1 + -0x80) = 0;
  *(undefined8 *)(param_1 + -0x70) = param_2;
  *(undefined8 *)(param_1 + -0x68) = param_3;
  uVar1 = FUN_0049d010();
  *(undefined8 *)(param_1 + -0x60) = uVar1;
  uVar1 = FUN_0049cfc0();
  *(undefined8 *)(param_1 + -0x58) = uVar1;
  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;
  *(code **)(param_1 + -0x18) = FUN_0049ce50;
  return param_1 + -0x80;
}


PUSH RBX
MOV RBX,RDI
MOV dword ptr [RDI + -0x80],0x0
MOV qword ptr [RDI + -0x70],RSI
MOV qword ptr [RDI + -0x68],RDX
CALL 0x0049d010
MOV qword ptr [RBX + -0x60],RAX
CALL 0x0049cfc0
MOV qword ptr [RBX + -0x58],RAX
MOV RAX,0x474e5543432b2b00
MOV qword ptr [RBX + -0x20],RAX
LEA RAX,[0x49ce50]
MOV qword ptr [RBX + -0x18],RAX
LEA RAX,[RBX + -0x80]
POP RBX
RET
(translation_unit "long FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}\n\n" (function_definition "long FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + -0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x80)" * (cast_expression "(undefined4 *)(param_1 + -0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x80)" ( (binary_expression "param_1 + -0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + -0x70) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + -0x70) = param_2" (pointer_expression "*(undefined8 *)(param_1 + -0x70)" * (cast_expression "(undefined8 *)(param_1 + -0x70)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x70)" ( (binary_expression "param_1 + -0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + -0x68) = param_3;" (assignment_expression "*(undefined8 *)(param_1 + -0x68) = param_3" (pointer_expression "*(undefined8 *)(param_1 + -0x68)" * (cast_expression "(undefined8 *)(param_1 + -0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x68)" ( (binary_expression "param_1 + -0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_0049d010();" (assignment_expression "uVar1 = FUN_0049d010()" identifier = (call_expression "FUN_0049d010()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + -0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x60) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x60)" * (cast_expression "(undefined8 *)(param_1 + -0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_0049cfc0();" (assignment_expression "uVar1 = FUN_0049cfc0()" identifier = (call_expression "FUN_0049cfc0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + -0x58) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x58) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x58)" * (cast_expression "(undefined8 *)(param_1 + -0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x58)" ( (binary_expression "param_1 + -0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;" (assignment_expression "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00" (pointer_expression "*(undefined8 *)(param_1 + -0x20)" * (cast_expression "(undefined8 *)(param_1 + -0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x20)" ( (binary_expression "param_1 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(code **)(param_1 + -0x18) = FUN_0049ce50;" (assignment_expression "*(code **)(param_1 + -0x18) = FUN_0049ce50" (pointer_expression "*(code **)(param_1 + -0x18)" * (cast_expression "(code **)(param_1 + -0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + -0x18)" ( (binary_expression "param_1 + -0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1 + -0x80;" return (binary_expression "param_1 + -0x80" identifier + number_literal) ;) })))
(translation_unit "long __cxa_init_primary_exception(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = std::get_unexpected();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = std::get_terminate();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;\n  return param_1 + -0x80;\n}\n\n" (function_definition "long __cxa_init_primary_exception(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = std::get_unexpected();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = std::get_terminate();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;\n  return param_1 + -0x80;\n}" (sized_type_specifier "long" long) (function_declarator "__cxa_init_primary_exception(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = std::get_unexpected();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = std::get_terminate();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;\n  return param_1 + -0x80;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + -0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x80)" * (cast_expression "(undefined4 *)(param_1 + -0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x80)" ( (binary_expression "param_1 + -0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + -0x70) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + -0x70) = param_2" (pointer_expression "*(undefined8 *)(param_1 + -0x70)" * (cast_expression "(undefined8 *)(param_1 + -0x70)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x70)" ( (binary_expression "param_1 + -0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + -0x68) = param_3;" (assignment_expression "*(undefined8 *)(param_1 + -0x68) = param_3" (pointer_expression "*(undefined8 *)(param_1 + -0x68)" * (cast_expression "(undefined8 *)(param_1 + -0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x68)" ( (binary_expression "param_1 + -0x68" identifier + number_literal) )))) = identifier) ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (expression_statement "get_unexpected();" (call_expression "get_unexpected()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(param_1 + -0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x60) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x60)" * (cast_expression "(undefined8 *)(param_1 + -0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) = identifier) ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (expression_statement "get_terminate();" (call_expression "get_terminate()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(param_1 + -0x58) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x58) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x58)" * (cast_expression "(undefined8 *)(param_1 + -0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x58)" ( (binary_expression "param_1 + -0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;" (assignment_expression "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00" (pointer_expression "*(undefined8 *)(param_1 + -0x20)" * (cast_expression "(undefined8 *)(param_1 + -0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x20)" ( (binary_expression "param_1 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(code **)(param_1 + -0x18) = __gxx_exception_cleanup;" (assignment_expression "*(code **)(param_1 + -0x18) = __gxx_exception_cleanup" (pointer_expression "*(code **)(param_1 + -0x18)" * (cast_expression "(code **)(param_1 + -0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + -0x18)" ( (binary_expression "param_1 + -0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1 + -0x80;" return (binary_expression "param_1 + -0x80" identifier + number_literal) ;) })))
(translation_unit "long FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}\n\n" (function_definition "long FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + -0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x80)" * (cast_expression "(undefined4 *)(param_1 + -0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x80)" ( (binary_expression "param_1 + -0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + -0x70) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + -0x70) = param_2" (pointer_expression "*(undefined8 *)(param_1 + -0x70)" * (cast_expression "(undefined8 *)(param_1 + -0x70)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x70)" ( (binary_expression "param_1 + -0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + -0x68) = param_3;" (assignment_expression "*(undefined8 *)(param_1 + -0x68) = param_3" (pointer_expression "*(undefined8 *)(param_1 + -0x68)" * (cast_expression "(undefined8 *)(param_1 + -0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x68)" ( (binary_expression "param_1 + -0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_0049d010();" (assignment_expression "uVar1 = FUN_0049d010()" identifier = (call_expression "FUN_0049d010()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + -0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x60) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x60)" * (cast_expression "(undefined8 *)(param_1 + -0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_0049cfc0();" (assignment_expression "uVar1 = FUN_0049cfc0()" identifier = (call_expression "FUN_0049cfc0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + -0x58) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x58) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x58)" * (cast_expression "(undefined8 *)(param_1 + -0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x58)" ( (binary_expression "param_1 + -0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;" (assignment_expression "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00" (pointer_expression "*(undefined8 *)(param_1 + -0x20)" * (cast_expression "(undefined8 *)(param_1 + -0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x20)" ( (binary_expression "param_1 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(code **)(param_1 + -0x18) = FUN_0049ce50;" (assignment_expression "*(code **)(param_1 + -0x18) = FUN_0049ce50" (pointer_expression "*(code **)(param_1 + -0x18)" * (cast_expression "(code **)(param_1 + -0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + -0x18)" ( (binary_expression "param_1 + -0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1 + -0x80;" return (binary_expression "param_1 + -0x80" identifier + number_literal) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 (binary_expression IDENT + LIT) ;) })))
(function_definition "long FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0049ce90(long param_1,undefined8 param_2,undefined8 param_3)" (identifier "FUN_0049ce90") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (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 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x80) = 0;\n  *(undefined8 *)(param_1 + -0x70) = param_2;\n  *(undefined8 *)(param_1 + -0x68) = param_3;\n  uVar1 = FUN_0049d010();\n  *(undefined8 *)(param_1 + -0x60) = uVar1;\n  uVar1 = FUN_0049cfc0();\n  *(undefined8 *)(param_1 + -0x58) = uVar1;\n  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;\n  *(code **)(param_1 + -0x18) = FUN_0049ce50;\n  return param_1 + -0x80;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x80)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x80)" (( "(") (binary_expression "param_1 + -0x80" (identifier "param_1") (+ "+") (number_literal "-0x80")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + -0x70) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + -0x70) = param_2" (pointer_expression "*(undefined8 *)(param_1 + -0x70)" (* "*") (cast_expression "(undefined8 *)(param_1 + -0x70)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x70)" (( "(") (binary_expression "param_1 + -0x70" (identifier "param_1") (+ "+") (number_literal "-0x70")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + -0x68) = param_3;" (assignment_expression "*(undefined8 *)(param_1 + -0x68) = param_3" (pointer_expression "*(undefined8 *)(param_1 + -0x68)" (* "*") (cast_expression "(undefined8 *)(param_1 + -0x68)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x68)" (( "(") (binary_expression "param_1 + -0x68" (identifier "param_1") (+ "+") (number_literal "-0x68")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "uVar1 = FUN_0049d010();" (assignment_expression "uVar1 = FUN_0049d010()" (identifier "uVar1") (= "=") (call_expression "FUN_0049d010()" (identifier "FUN_0049d010") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + -0x60) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x60) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x60)" (* "*") (cast_expression "(undefined8 *)(param_1 + -0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x60)" (( "(") (binary_expression "param_1 + -0x60" (identifier "param_1") (+ "+") (number_literal "-0x60")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = FUN_0049cfc0();" (assignment_expression "uVar1 = FUN_0049cfc0()" (identifier "uVar1") (= "=") (call_expression "FUN_0049cfc0()" (identifier "FUN_0049cfc0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + -0x58) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + -0x58) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + -0x58)" (* "*") (cast_expression "(undefined8 *)(param_1 + -0x58)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x58)" (( "(") (binary_expression "param_1 + -0x58" (identifier "param_1") (+ "+") (number_literal "-0x58")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;" (assignment_expression "*(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00" (pointer_expression "*(undefined8 *)(param_1 + -0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + -0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x20)" (( "(") (binary_expression "param_1 + -0x20" (identifier "param_1") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (number_literal "0x474e5543432b2b00")) (; ";")) (expression_statement "*(code **)(param_1 + -0x18) = FUN_0049ce50;" (assignment_expression "*(code **)(param_1 + -0x18) = FUN_0049ce50" (pointer_expression "*(code **)(param_1 + -0x18)" (* "*") (cast_expression "(code **)(param_1 + -0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + -0x18)" (( "(") (binary_expression "param_1 + -0x18" (identifier "param_1") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "FUN_0049ce50")) (; ";")) (return_statement "return param_1 + -0x80;" (return "return") (binary_expression "param_1 + -0x80" (identifier "param_1") (+ "+") (number_literal "-0x80")) (; ";")) (} "}")))

long function_1(long var_1,type_1 param_2,type_1 param_3)

{
  type_1 uVar1;
  
  *(type_2 *)(var_1 + -0x80) = 0;
  *(type_1 *)(var_1 + -0x70) = param_2;
  *(type_1 *)(var_1 + -0x68) = param_3;
  uVar1 = std::var_2();
  *(type_1 *)(var_1 + -0x60) = uVar1;
  uVar1 = std::var_3();
  *(type_1 *)(var_1 + -0x58) = uVar1;
  *(type_1 *)(var_1 + -0x20) = 0x474e5543432b2b00;
  *(type_3 **)(var_1 + -0x18) = __gxx_exception_cleanup;
  return var_1 + -0x80;
}


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

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

{
  undefined8 uVar1;
  
  *(undefined4 *)(param_1 + -0x80) = 0;
  *(undefined8 *)(param_1 + -0x70) = param_2;
  *(undefined8 *)(param_1 + -0x68) = param_3;
  uVar1 = FUN_0049d010();
  *(undefined8 *)(param_1 + -0x60) = uVar1;
  uVar1 = FUN_0049cfc0();
  *(undefined8 *)(param_1 + -0x58) = uVar1;
  *(undefined8 *)(param_1 + -0x20) = 0x474e5543432b2b00;
  *(code **)(param_1 + -0x18) = FUN_0049ce50;
  return param_1 + -0x80;
}

