
Expression * gold::script_exp_string(char *name,size_t length)

{
  Expression *pEVar1;
  
  if ((length == 1) && (*name == '.')) {
    pEVar1 = (Expression *)operator_new(8);
    pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40;
    return pEVar1;
  }
  pEVar1 = (Expression *)operator_new(0x28);
  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Symbol_expression_003aec08;
  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);
                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */
  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),name,
             name + length);
  return pEVar1;
}



undefined8 * FUN_0024d910(char *param_1,long param_2)

{
  undefined8 *puVar1;
  
  if ((param_2 == 1) && (*param_1 == '.')) {
    puVar1 = (undefined8 *)FUN_00275550(8);
    *puVar1 = &PTR_FUN_003aec40;
    return puVar1;
  }
  puVar1 = (undefined8 *)FUN_00275550(0x28);
  *puVar1 = &PTR_FUN_003aec08;
  puVar1[1] = puVar1 + 3;
                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */
  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);
  return puVar1;
}


PUSH R12
MOV R12,RDI
PUSH RBP
MOV RBP,RSI
PUSH RBX
CMP RSI,0x1
JNZ 0x0024d925
CMP byte ptr [RDI],0x2e
JZ 0x0024d960
MOV EDI,0x28
CALL 0x00275550
LEA RDX,[R12 + RBP*0x1]
MOV RSI,R12
MOV RBX,RAX
LEA RAX,[0x3aec08]
MOV qword ptr [RBX],RAX
LEA RAX,[RBX + 0x18]
LEA RDI,[RBX + 0x8]
MOV qword ptr [RBX + 0x8],RAX
CALL 0x0015cbe0
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
MOV EDI,0x8
CALL 0x00275550
MOV RBX,RAX
LEA RAX,[0x3aec40]
MOV qword ptr [RBX],RAX
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
(translation_unit "undefined8 * FUN_0024d910(char *param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */\n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_0024d910(char *param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */\n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_0024d910(char *param_1,long param_2)" * (function_declarator "FUN_0024d910(char *param_1,long param_2)" identifier (parameter_list "(char *param_1,long param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */\n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }" if (parenthesized_expression "((param_2 == 1) && (*param_1 == '.'))" ( (binary_expression "(param_2 == 1) && (*param_1 == '.')" (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) && (parenthesized_expression "(*param_1 == '.')" ( (binary_expression "*param_1 == '.'" (pointer_expression "*param_1" * identifier) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }" { (expression_statement "puVar1 = (undefined8 *)FUN_00275550(8);" (assignment_expression "puVar1 = (undefined8 *)FUN_00275550(8)" identifier = (cast_expression "(undefined8 *)FUN_00275550(8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00275550(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &PTR_FUN_003aec40;" (assignment_expression "*puVar1 = &PTR_FUN_003aec40" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_003aec40" & identifier)) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "puVar1 = (undefined8 *)FUN_00275550(0x28);" (assignment_expression "puVar1 = (undefined8 *)FUN_00275550(0x28)" identifier = (cast_expression "(undefined8 *)FUN_00275550(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00275550(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &PTR_FUN_003aec08;" (assignment_expression "*puVar1 = &PTR_FUN_003aec08" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_003aec08" & 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_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);" (call_expression "FUN_0015cbe0(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) ))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "Expression * gold::script_exp_string(char *name,size_t length)\n\n{\n  Expression *pEVar1;\n  \n  if ((length == 1) && (*name == '.')) {\n    pEVar1 = (Expression *)operator_new(8);\n    pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40;\n    return pEVar1;\n  }\n  pEVar1 = (Expression *)operator_new(0x28);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Symbol_expression_003aec08;\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);\n                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */\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),name,\n             name + length);\n  return pEVar1;\n}\n\n" (ERROR "Expression * gold::script_exp_string(char *name,size_t length)" (binary_expression "Expression * gold" identifier * identifier) : : (call_expression "script_exp_string(char *name,size_t length)" identifier (argument_list "(char *name,size_t length)" ( (binary_expression "char *name" identifier * identifier) , identifier (ERROR "length" identifier) )))) (compound_statement "{\n  Expression *pEVar1;\n  \n  if ((length == 1) && (*name == '.')) {\n    pEVar1 = (Expression *)operator_new(8);\n    pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40;\n    return pEVar1;\n  }\n  pEVar1 = (Expression *)operator_new(0x28);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Symbol_expression_003aec08;\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);\n                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */\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),name,\n             name + length);\n  return pEVar1;\n}" { (declaration "Expression *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (if_statement "if ((length == 1) && (*name == '.')) {\n    pEVar1 = (Expression *)operator_new(8);\n    pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40;\n    return pEVar1;\n  }" if (parenthesized_expression "((length == 1) && (*name == '.'))" ( (binary_expression "(length == 1) && (*name == '.')" (parenthesized_expression "(length == 1)" ( (binary_expression "length == 1" identifier == number_literal) )) && (parenthesized_expression "(*name == '.')" ( (binary_expression "*name == '.'" (pointer_expression "*name" * identifier) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    pEVar1 = (Expression *)operator_new(8);\n    pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40;\n    return pEVar1;\n  }" { (expression_statement "pEVar1 = (Expression *)operator_new(8);" (assignment_expression "pEVar1 = (Expression *)operator_new(8)" identifier = (cast_expression "(Expression *)operator_new(8)" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40;" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Dot_expression_003aec40" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Dot_expression_003aec40" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Dot_expression_003aec40" & identifier))) ;) (return_statement "return pEVar1;" return 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 **)&PTR__Symbol_expression_003aec08;" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Symbol_expression_003aec08" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Symbol_expression_003aec08" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Symbol_expression_003aec08" & 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),name,\n             name + length);" 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),name,\n             name + length);" (binary_expression "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),name,\n             name + length)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),name,\n             name + length)" ( (comma_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),name,\n             name + length" (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 "name,\n             name + length" identifier , (binary_expression "name + length" identifier + identifier))) ))) ;)) (return_statement "return pEVar1;" return identifier ;) }))
(translation_unit "undefined8 * FUN_0024d910(char *param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_0024d910(char *param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_0024d910(char *param_1,long param_2)" * (function_declarator "FUN_0024d910(char *param_1,long param_2)" identifier (parameter_list "(char *param_1,long param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }" if (parenthesized_expression "((param_2 == 1) && (*param_1 == '.'))" ( (binary_expression "(param_2 == 1) && (*param_1 == '.')" (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) && (parenthesized_expression "(*param_1 == '.')" ( (binary_expression "*param_1 == '.'" (pointer_expression "*param_1" * identifier) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }" { (expression_statement "puVar1 = (undefined8 *)FUN_00275550(8);" (assignment_expression "puVar1 = (undefined8 *)FUN_00275550(8)" identifier = (cast_expression "(undefined8 *)FUN_00275550(8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00275550(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &PTR_FUN_003aec40;" (assignment_expression "*puVar1 = &PTR_FUN_003aec40" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_003aec40" & identifier)) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "puVar1 = (undefined8 *)FUN_00275550(0x28);" (assignment_expression "puVar1 = (undefined8 *)FUN_00275550(0x28)" identifier = (cast_expression "(undefined8 *)FUN_00275550(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00275550(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &PTR_FUN_003aec08;" (assignment_expression "*puVar1 = &PTR_FUN_003aec08" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_003aec08" & 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_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);" (call_expression "FUN_0015cbe0(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) ))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) ))) )) (compound_statement { (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)) ;) (return_statement return 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) ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 * FUN_0024d910(char *param_1,long param_2)\n\n{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}" (type_identifier "undefined8") (pointer_declarator "* FUN_0024d910(char *param_1,long param_2)" (* "*") (function_declarator "FUN_0024d910(char *param_1,long param_2)" (identifier "FUN_0024d910") (parameter_list "(char *param_1,long param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined8 *puVar1;\n  \n  if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }\n  puVar1 = (undefined8 *)FUN_00275550(0x28);\n  *puVar1 = &PTR_FUN_003aec08;\n  puVar1[1] = puVar1 + 3;\n                    \n  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);\n  return puVar1;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if ((param_2 == 1) && (*param_1 == '.')) {\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }" (if "if") (parenthesized_expression "((param_2 == 1) && (*param_1 == '.'))" (( "(") (binary_expression "(param_2 == 1) && (*param_1 == '.')" (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 == '.')" (( "(") (binary_expression "*param_1 == '.'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    puVar1 = (undefined8 *)FUN_00275550(8);\n    *puVar1 = &PTR_FUN_003aec40;\n    return puVar1;\n  }" ({ "{") (expression_statement "puVar1 = (undefined8 *)FUN_00275550(8);" (assignment_expression "puVar1 = (undefined8 *)FUN_00275550(8)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)FUN_00275550(8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00275550(8)" (identifier "FUN_00275550") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "*puVar1 = &PTR_FUN_003aec40;" (assignment_expression "*puVar1 = &PTR_FUN_003aec40" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&PTR_FUN_003aec40" (& "&") (identifier "PTR_FUN_003aec40"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined8 *)FUN_00275550(0x28);" (assignment_expression "puVar1 = (undefined8 *)FUN_00275550(0x28)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)FUN_00275550(0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00275550(0x28)" (identifier "FUN_00275550") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "*puVar1 = &PTR_FUN_003aec08;" (assignment_expression "*puVar1 = &PTR_FUN_003aec08" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&PTR_FUN_003aec08" (& "&") (identifier "PTR_FUN_003aec08"))) (; ";")) (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_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);" (call_expression "FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2)" (identifier "FUN_0015cbe0") (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")) () ")"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

type_1 * gold::script_exp_string(var_7 *var_9,size_t var_1)

{
  type_1 *var_3;
  
  if ((var_1 == 1) && (*var_9 == '.')) {
    var_3 = (type_1 *)var_2(8);
    var_3->_vptr_Expression = (type_2 **)&PTR__Dot_expression_003aec40;
    return var_3;
  }
  var_3 = (type_1 *)var_2(0x28);
  var_3->_vptr_Expression = (type_2 **)&PTR__Symbol_expression_003aec08;
  var_3[1]._vptr_Expression = (type_2 **)(var_3 + 3);
                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */
  std::__cxx11::basic_string<var_7,_std::char_traits<var_7>,_std::var_6<var_7>var_8>::
  var_4<var_5*>
            ((basic_string<var_7,_std::char_traits<var_7>,_std::var_6<var_7>var_8> *)(var_3 + 1),var_9,
             var_9 + var_1);
  return var_3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))))) consequence: (compound_statement (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)))) (return_statement (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))))) (return_statement (identifier)))))

undefined8 * MASKED(char *param_1,long param_2)

{
  undefined8 *puVar1;
  
  if ((param_2 == 1) && (*param_1 == '.')) {
    puVar1 = (undefined8 *)FUN_00275550(8);
    *puVar1 = &PTR_FUN_003aec40;
    return puVar1;
  }
  puVar1 = (undefined8 *)FUN_00275550(0x28);
  *puVar1 = &PTR_FUN_003aec08;
  puVar1[1] = puVar1 + 3;
                    /* try { // try from 0024d94f to 0024d953 has its CatchHandler @ 0024d97f */
  FUN_0015cbe0(puVar1 + 1,param_1,param_1 + param_2);
  return puVar1;
}

