
Expression * gold::script_exp_function_loadaddr(char *section_name,size_t section_name_len)

{
  Expression *pEVar1;
  
  pEVar1 = (Expression *)operator_new(0x28);
  pEVar1->_vptr_Expression = (_func_int_varargs **)&DAT_004520a8;
  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);
                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>
            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),
             section_name,section_name + section_name_len);
  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Loadaddr_expression_00446480;
  return pEVar1;
}



undefined8 * FUN_002caa00(long param_1,long param_2)

{
  undefined8 *puVar1;
  
  puVar1 = (undefined8 *)FUN_002ee780(0x28);
  *puVar1 = &DAT_004520a8;
  puVar1[1] = puVar1 + 3;
                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */
  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);
  *puVar1 = &PTR_FUN_00446480;
  return puVar1;
}


PUSH R12
MOV R12,RDI
MOV EDI,0x28
PUSH RBP
MOV RBP,RSI
PUSH RBX
CALL 0x002ee780
LEA RDX,[R12 + RBP*0x1]
MOV RSI,R12
MOV RBX,RAX
LEA RAX,[0x4520a8]
MOV qword ptr [RBX],RAX
LEA RDI,[RBX + 0x8]
LEA RAX,[RBX + 0x18]
MOV qword ptr [RBX + 0x8],RAX
CALL 0x001723b0
LEA RAX,[0x446480]
MOV qword ptr [RBX],RAX
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
(translation_unit "undefined8 * FUN_002caa00(long param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */\n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_002caa00(long param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */\n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_002caa00(long param_1,long param_2)" * (function_declarator "FUN_002caa00(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */\n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)FUN_002ee780(0x28);" (assignment_expression "puVar1 = (undefined8 *)FUN_002ee780(0x28)" identifier = (cast_expression "(undefined8 *)FUN_002ee780(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002ee780(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &DAT_004520a8;" (assignment_expression "*puVar1 = &DAT_004520a8" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&DAT_004520a8" & identifier)) ;) (expression_statement "puVar1[1] = puVar1 + 3;" (assignment_expression "puVar1[1] = puVar1 + 3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 3" identifier + number_literal)) ;) comment (expression_statement "FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);" (call_expression "FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2)" identifier (argument_list "(puVar1 + 1,param_1,param_1 + param_2)" ( (binary_expression "puVar1 + 1" identifier + number_literal) , identifier , (binary_expression "param_1 + param_2" identifier + identifier) ))) ;) (expression_statement "*puVar1 = &PTR_FUN_00446480;" (assignment_expression "*puVar1 = &PTR_FUN_00446480" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_00446480" & identifier)) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "Expression * gold::script_exp_function_loadaddr(char *section_name,size_t section_name_len)\n\n{\n  Expression *pEVar1;\n  \n  pEVar1 = (Expression *)operator_new(0x28);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&DAT_004520a8;\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);\n                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Loadaddr_expression_00446480;\n  return pEVar1;\n}\n\n" (ERROR "Expression * gold::script_exp_function_loadaddr(char *section_name,size_t section_name_len)" (binary_expression "Expression * gold" identifier * identifier) : : (call_expression "script_exp_function_loadaddr(char *section_name,size_t section_name_len)" identifier (argument_list "(char *section_name,size_t section_name_len)" ( (binary_expression "char *section_name" identifier * identifier) , (ERROR "size_t" identifier) identifier )))) (compound_statement "{\n  Expression *pEVar1;\n  \n  pEVar1 = (Expression *)operator_new(0x28);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&DAT_004520a8;\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);\n                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Loadaddr_expression_00446480;\n  return pEVar1;\n}" { (declaration "Expression *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (expression_statement "pEVar1 = (Expression *)operator_new(0x28);" (assignment_expression "pEVar1 = (Expression *)operator_new(0x28)" identifier = (cast_expression "(Expression *)operator_new(0x28)" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)&DAT_004520a8;" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)&DAT_004520a8" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&DAT_004520a8" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_004520a8" & identifier))) ;) (expression_statement "pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);" (assignment_expression "pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3)" (field_expression "pEVar1[1]._vptr_Expression" (subscript_expression "pEVar1[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)(pEVar1 + 3)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pEVar1 + 3)" ( (binary_expression "pEVar1 + 3" identifier + number_literal) )))) ;) comment (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len);" (binary_expression "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len)" ( (comma_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len" (call_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1)" (parenthesized_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)" ( (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_> *" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(pEVar1 + 1)" ( (binary_expression "pEVar1 + 1" identifier + number_literal) ))) , (comma_expression "section_name,section_name + section_name_len" identifier , (binary_expression "section_name + section_name_len" identifier + identifier))) ))) ;)) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Loadaddr_expression_00446480;" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Loadaddr_expression_00446480" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Loadaddr_expression_00446480" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Loadaddr_expression_00446480" & identifier))) ;) (return_statement "return pEVar1;" return identifier ;) }))
(translation_unit "undefined8 * FUN_002caa00(long param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_002caa00(long param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_002caa00(long param_1,long param_2)" * (function_declarator "FUN_002caa00(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)FUN_002ee780(0x28);" (assignment_expression "puVar1 = (undefined8 *)FUN_002ee780(0x28)" identifier = (cast_expression "(undefined8 *)FUN_002ee780(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002ee780(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &DAT_004520a8;" (assignment_expression "*puVar1 = &DAT_004520a8" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&DAT_004520a8" & identifier)) ;) (expression_statement "puVar1[1] = puVar1 + 3;" (assignment_expression "puVar1[1] = puVar1 + 3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 3" identifier + number_literal)) ;) (expression_statement "FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);" (call_expression "FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2)" identifier (argument_list "(puVar1 + 1,param_1,param_1 + param_2)" ( (binary_expression "puVar1 + 1" identifier + number_literal) , identifier , (binary_expression "param_1 + param_2" identifier + identifier) ))) ;) (expression_statement "*puVar1 = &PTR_FUN_00446480;" (assignment_expression "*puVar1 = &PTR_FUN_00446480" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_00446480" & identifier)) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) 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) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 * FUN_002caa00(long param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}" (type_identifier "undefined8") (pointer_declarator "* FUN_002caa00(long param_1,long param_2)" (* "*") (function_declarator "FUN_002caa00(long param_1,long param_2)" (identifier "FUN_002caa00") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  puVar1 = (undefined8 *)FUN_002ee780(0x28);\n  *puVar1 = &DAT_004520a8;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);\n  *puVar1 = &PTR_FUN_00446480;\n  return puVar1;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined8 *)FUN_002ee780(0x28);" (assignment_expression "puVar1 = (undefined8 *)FUN_002ee780(0x28)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)FUN_002ee780(0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002ee780(0x28)" (identifier "FUN_002ee780") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "*puVar1 = &DAT_004520a8;" (assignment_expression "*puVar1 = &DAT_004520a8" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&DAT_004520a8" (& "&") (identifier "DAT_004520a8"))) (; ";")) (expression_statement "puVar1[1] = puVar1 + 3;" (assignment_expression "puVar1[1] = puVar1 + 3" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar1 + 3" (identifier "puVar1") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);" (call_expression "FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2)" (identifier "FUN_001723b0") (argument_list "(puVar1 + 1,param_1,param_1 + param_2)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) (, ",") (identifier "param_1") (, ",") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "*puVar1 = &PTR_FUN_00446480;" (assignment_expression "*puVar1 = &PTR_FUN_00446480" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&PTR_FUN_00446480" (& "&") (identifier "PTR_FUN_00446480"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

type_1 * gold::script_exp_function_loadaddr(var_6 *var_8,size_t var_9)

{
  type_1 *var_2;
  
  var_2 = (type_1 *)var_1(0x28);
  var_2->_vptr_Expression = (type_2 **)&DAT_004520a8;
  var_2[1]._vptr_Expression = (type_2 **)(var_2 + 3);
                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */
  std::__cxx11::basic_string<var_6,_std::char_traits<var_6>,_std::var_5<var_6>var_7>::
  var_3<var_4*>
            ((basic_string<var_6,_std::char_traits<var_6>,_std::var_5<var_6>var_7> *)(var_2 + 1),
             var_8,var_8 + var_9);
  var_2->_vptr_Expression = (type_2 **)&PTR__Loadaddr_expression_00446480;
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) 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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement (identifier)))))

undefined8 * MASKED(long param_1,long param_2)

{
  undefined8 *puVar1;
  
  puVar1 = (undefined8 *)FUN_002ee780(0x28);
  *puVar1 = &DAT_004520a8;
  puVar1[1] = puVar1 + 3;
                    /* try { // try from 002caa34 to 002caa38 has its CatchHandler @ 002caa4b */
  FUN_001723b0(puVar1 + 1,param_1,param_1 + param_2);
  *puVar1 = &PTR_FUN_00446480;
  return puVar1;
}

