
/* WARNING: Unknown calling convention */

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

{
  Expression *pEVar1;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  pEVar1 = (Expression *)operator_new(0x1c);
  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0025c21f + unaff_EDI);
  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);
                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */
  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,0);
  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0024e57f + unaff_EDI);
  return pEVar1;
}



int * FUN_0038aba0(int param_1,int param_2)

{
  int *piVar1;
  int unaff_EDI;
  
  FUN_00074f0a();
  piVar1 = (int *)FUN_003ac4d0(0x1c);
  *piVar1 = unaff_EDI + 0x25c21f;
  piVar1[1] = (int)(piVar1 + 3);
                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */
  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);
  *piVar1 = unaff_EDI + 0x24e57f;
  return piVar1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x00074f0a
ADD EDI,0x25f457
PUSH ESI
PUSH EBX
SUB ESP,0x28
PUSH 0x1c
MOV EBX,EDI
CALL 0x003ac4d0
ADD ESP,0x10
MOV ESI,EAX
LEA EAX,[EDI + 0xffffcdc8]
PUSH 0x0
LEA EDX,[ESI + 0xc]
MOV dword ptr [ESI],EAX
LEA EAX,[ESI + 0x4]
MOV dword ptr [ESI + 0x4],EDX
MOV EDX,dword ptr [EBP + 0x8]
ADD EDX,dword ptr [EBP + 0xc]
PUSH EDX
PUSH dword ptr [EBP + 0x8]
PUSH EAX
CALL 0x00072b90
LEA EAX,[EDI + 0xfffef128]
ADD ESP,0x10
MOV dword ptr [ESI],EAX
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "int * FUN_0038aba0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */\n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}\n\n" (function_definition "int * FUN_0038aba0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */\n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_0038aba0(int param_1,int param_2)" * (function_declarator "FUN_0038aba0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */\n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_00074f0a();" (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)FUN_003ac4d0(0x1c);" (assignment_expression "piVar1 = (int *)FUN_003ac4d0(0x1c)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "*piVar1 = unaff_EDI + 0x25c21f;" (assignment_expression "*piVar1 = unaff_EDI + 0x25c21f" (pointer_expression "*piVar1" * identifier) = (binary_expression "unaff_EDI + 0x25c21f" identifier + number_literal)) ;) (expression_statement "piVar1[1] = (int)(piVar1 + 3);" (assignment_expression "piVar1[1] = (int)(piVar1 + 3)" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (cast_expression "(int)(piVar1 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar1 + 3)" ( (binary_expression "piVar1 + 3" identifier + number_literal) )))) ;) comment (expression_statement "FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);" (call_expression "FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0)" identifier (argument_list "(piVar1 + 1,param_1,param_1 + param_2,0)" ( (binary_expression "piVar1 + 1" identifier + number_literal) , identifier , (binary_expression "param_1 + param_2" identifier + identifier) , number_literal ))) ;) (expression_statement "*piVar1 = unaff_EDI + 0x24e57f;" (assignment_expression "*piVar1 = unaff_EDI + 0x24e57f" (pointer_expression "*piVar1" * identifier) = (binary_expression "unaff_EDI + 0x24e57f" identifier + number_literal)) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nExpression * gold::script_exp_function_loadaddr(char *section_name,size_t section_name_len)\n\n{\n  Expression *pEVar1;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pEVar1 = (Expression *)operator_new(0x1c);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0025c21f + unaff_EDI);\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);\n                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */\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,0);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0024e57f + unaff_EDI);\n  return pEVar1;\n}\n\n" comment (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  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pEVar1 = (Expression *)operator_new(0x1c);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0025c21f + unaff_EDI);\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 3);\n                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */\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,0);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0024e57f + unaff_EDI);\n  return pEVar1;\n}" { (declaration "Expression *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "pEVar1 = (Expression *)operator_new(0x1c);" (assignment_expression "pEVar1 = (Expression *)operator_new(0x1c)" identifier = (cast_expression "(Expression *)operator_new(0x1c)" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0025c21f + unaff_EDI);" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0025c21f + unaff_EDI)" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)(&UNK_0025c21f + unaff_EDI)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_0025c21f + unaff_EDI)" ( (binary_expression "&UNK_0025c21f + unaff_EDI" (pointer_expression "&UNK_0025c21f" & identifier) + 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,0);" 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,0);" (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,0)" (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,0)" ( (comma_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 1),\n             section_name,section_name + section_name_len,0" (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,0" identifier , (comma_expression "section_name + section_name_len,0" (binary_expression "section_name + section_name_len" identifier + identifier) , number_literal))) ))) ;)) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0024e57f + unaff_EDI);" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_0024e57f + unaff_EDI)" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)(&UNK_0024e57f + unaff_EDI)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_0024e57f + unaff_EDI)" ( (binary_expression "&UNK_0024e57f + unaff_EDI" (pointer_expression "&UNK_0024e57f" & identifier) + identifier) )))) ;) (return_statement "return pEVar1;" return identifier ;) }))
(translation_unit "int * FUN_0038aba0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    \n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}\n\n" (function_definition "int * FUN_0038aba0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    \n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_0038aba0(int param_1,int param_2)" * (function_declarator "FUN_0038aba0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    \n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_00074f0a();" (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)FUN_003ac4d0(0x1c);" (assignment_expression "piVar1 = (int *)FUN_003ac4d0(0x1c)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "*piVar1 = unaff_EDI + 0x25c21f;" (assignment_expression "*piVar1 = unaff_EDI + 0x25c21f" (pointer_expression "*piVar1" * identifier) = (binary_expression "unaff_EDI + 0x25c21f" identifier + number_literal)) ;) (expression_statement "piVar1[1] = (int)(piVar1 + 3);" (assignment_expression "piVar1[1] = (int)(piVar1 + 3)" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (cast_expression "(int)(piVar1 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar1 + 3)" ( (binary_expression "piVar1 + 3" identifier + number_literal) )))) ;) (expression_statement "FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);" (call_expression "FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0)" identifier (argument_list "(piVar1 + 1,param_1,param_1 + param_2,0)" ( (binary_expression "piVar1 + 1" identifier + number_literal) , identifier , (binary_expression "param_1 + param_2" identifier + identifier) , number_literal ))) ;) (expression_statement "*piVar1 = unaff_EDI + 0x24e57f;" (assignment_expression "*piVar1 = unaff_EDI + 0x24e57f" (pointer_expression "*piVar1" * identifier) = (binary_expression "unaff_EDI + 0x24e57f" identifier + number_literal)) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0038aba0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    \n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0038aba0(int param_1,int param_2)" (* "*") (function_declarator "FUN_0038aba0(int param_1,int param_2)" (identifier "FUN_0038aba0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar1 = (int *)FUN_003ac4d0(0x1c);\n  *piVar1 = unaff_EDI + 0x25c21f;\n  piVar1[1] = (int)(piVar1 + 3);\n                    \n  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);\n  *piVar1 = unaff_EDI + 0x24e57f;\n  return piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_00074f0a();" (call_expression "FUN_00074f0a()" (identifier "FUN_00074f0a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)FUN_003ac4d0(0x1c);" (assignment_expression "piVar1 = (int *)FUN_003ac4d0(0x1c)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_003ac4d0(0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0x1c)" (identifier "FUN_003ac4d0") (argument_list "(0x1c)" (( "(") (number_literal "0x1c") () ")"))))) (; ";")) (expression_statement "*piVar1 = unaff_EDI + 0x25c21f;" (assignment_expression "*piVar1 = unaff_EDI + 0x25c21f" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "unaff_EDI + 0x25c21f" (identifier "unaff_EDI") (+ "+") (number_literal "0x25c21f"))) (; ";")) (expression_statement "piVar1[1] = (int)(piVar1 + 3);" (assignment_expression "piVar1[1] = (int)(piVar1 + 3)" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)(piVar1 + 3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar1 + 3)" (( "(") (binary_expression "piVar1 + 3" (identifier "piVar1") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);" (call_expression "FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0)" (identifier "FUN_00072b90") (argument_list "(piVar1 + 1,param_1,param_1 + param_2,0)" (( "(") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1")) (, ",") (identifier "param_1") (, ",") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*piVar1 = unaff_EDI + 0x24e57f;" (assignment_expression "*piVar1 = unaff_EDI + 0x24e57f" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "unaff_EDI + 0x24e57f" (identifier "unaff_EDI") (+ "+") (number_literal "0x24e57f"))) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * gold::script_exp_function_loadaddr(var_8 *var_10,size_t var_11)

{
  type_1 *var_4;
  int var_3;
  
  var_1();
  var_4 = (type_1 *)var_2(0x1c);
  var_4->_vptr_Expression = (type_2 **)(&UNK_0025c21f + var_3);
  var_4[1]._vptr_Expression = (type_2 **)(var_4 + 3);
                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */
  std::__cxx11::basic_string<var_8,_std::char_traits<var_8>,_std::var_7<var_8>var_9>::
  var_5<var_6*>
            ((basic_string<var_8,_std::char_traits<var_8>,_std::var_7<var_8>var_9> *)(var_4 + 1),
             var_10,var_10 + var_11,0);
  var_4->_vptr_Expression = (type_2 **)(&UNK_0024e57f + var_3);
  return var_4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (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)) (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (identifier)))))

int * MASKED(int param_1,int param_2)

{
  int *piVar1;
  int unaff_EDI;
  
  FUN_00074f0a();
  piVar1 = (int *)FUN_003ac4d0(0x1c);
  *piVar1 = unaff_EDI + 0x25c21f;
  piVar1[1] = (int)(piVar1 + 3);
                    /* try { // try from 0038abe0 to 0038abe4 has its CatchHandler @ 0038abfa */
  FUN_00072b90(piVar1 + 1,param_1,param_1 + param_2,0);
  *piVar1 = unaff_EDI + 0x24e57f;
  return piVar1;
}

