
Expression * gold::script_exp_function_assert(Expression *expr,char *message,size_t length)

{
  Expression *pEVar1;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  pEVar1 = (Expression *)operator_new(0x20);
  pEVar1[1]._vptr_Expression = (_func_int_varargs **)expr;
  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_001caf5b + unaff_EDI);
  pEVar1[2]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 4);
                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */
  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 + 2),
             message,message + length,0);
  return pEVar1;
}



undefined4 * FUN_001bb290(undefined4 param_1,int param_2,int param_3)

{
  undefined4 *puVar1;
  int unaff_EDI;
  
  FUN_000559ee();
  puVar1 = (undefined4 *)FUN_001e5200(0x20);
  puVar1[1] = param_1;
  *puVar1 = &UNK_001caf5b + unaff_EDI;
  puVar1[2] = puVar1 + 4;
                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */
  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);
  return puVar1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000559ee
ADD EDI,0x1d3d67
PUSH ESI
PUSH EBX
SUB ESP,0x28
PUSH 0x20
MOV EBX,EDI
CALL 0x001e5200
ADD ESP,0x10
MOV ESI,EAX
MOV EAX,dword ptr [EBP + 0x8]
PUSH 0x0
LEA EDX,[ESI + 0x10]
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[EDI + 0xffff71f4]
MOV dword ptr [ESI],EAX
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI + 0x8],EDX
MOV EDX,dword ptr [EBP + 0xc]
ADD EDX,dword ptr [EBP + 0x10]
PUSH EDX
PUSH dword ptr [EBP + 0xc]
PUSH EAX
CALL 0x00050e40
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 * FUN_001bb290(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */\n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_001bb290(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */\n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_001bb290(undefined4 param_1,int param_2,int param_3)" * (function_declarator "FUN_001bb290(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */\n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0x20);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0x20)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = &UNK_001caf5b + unaff_EDI;" (assignment_expression "*puVar1 = &UNK_001caf5b + unaff_EDI" (pointer_expression "*puVar1" * identifier) = (binary_expression "&UNK_001caf5b + unaff_EDI" (pointer_expression "&UNK_001caf5b" & identifier) + identifier)) ;) (expression_statement "puVar1[2] = puVar1 + 4;" (assignment_expression "puVar1[2] = puVar1 + 4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) comment (expression_statement "FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);" (call_expression "FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0)" identifier (argument_list "(puVar1 + 2,param_2,param_2 + param_3,0)" ( (binary_expression "puVar1 + 2" identifier + number_literal) , identifier , (binary_expression "param_2 + param_3" identifier + identifier) , number_literal ))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "Expression * gold::script_exp_function_assert(Expression *expr,char *message,size_t length)\n\n{\n  Expression *pEVar1;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pEVar1 = (Expression *)operator_new(0x20);\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)expr;\n  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_001caf5b + unaff_EDI);\n  pEVar1[2]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 4);\n                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */\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 + 2),\n             message,message + length,0);\n  return pEVar1;\n}\n\n" (ERROR "Expression * gold::script_exp_function_assert(Expression *expr,char *message,size_t length)" (binary_expression "Expression * gold" identifier * identifier) : : (call_expression "script_exp_function_assert(Expression *expr,char *message,size_t length)" identifier (argument_list "(Expression *expr,char *message,size_t length)" ( (binary_expression "Expression *expr" identifier * identifier) , (binary_expression "char *message" identifier * identifier) , identifier (ERROR "length" identifier) )))) (compound_statement "{\n  Expression *pEVar1;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pEVar1 = (Expression *)operator_new(0x20);\n  pEVar1[1]._vptr_Expression = (_func_int_varargs **)expr;\n  pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_001caf5b + unaff_EDI);\n  pEVar1[2]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 4);\n                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */\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 + 2),\n             message,message + length,0);\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(0x20);" (assignment_expression "pEVar1 = (Expression *)operator_new(0x20)" identifier = (cast_expression "(Expression *)operator_new(0x20)" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "pEVar1[1]._vptr_Expression = (_func_int_varargs **)expr;" (assignment_expression "pEVar1[1]._vptr_Expression = (_func_int_varargs **)expr" (field_expression "pEVar1[1]._vptr_Expression" (subscript_expression "pEVar1[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)expr" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_001caf5b + unaff_EDI);" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)(&UNK_001caf5b + unaff_EDI)" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)(&UNK_001caf5b + unaff_EDI)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_001caf5b + unaff_EDI)" ( (binary_expression "&UNK_001caf5b + unaff_EDI" (pointer_expression "&UNK_001caf5b" & identifier) + identifier) )))) ;) (expression_statement "pEVar1[2]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 4);" (assignment_expression "pEVar1[2]._vptr_Expression = (_func_int_varargs **)(pEVar1 + 4)" (field_expression "pEVar1[2]._vptr_Expression" (subscript_expression "pEVar1[2]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)(pEVar1 + 4)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pEVar1 + 4)" ( (binary_expression "pEVar1 + 4" 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 + 2),\n             message,message + length,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 + 2),\n             message,message + length,0);" (binary_expression "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 2),\n             message,message + length,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 2),\n             message,message + length,0)" ( (comma_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 2),\n             message,message + length,0" (call_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pEVar1 + 2)" (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 + 2)" ( (binary_expression "pEVar1 + 2" identifier + number_literal) ))) , (comma_expression "message,message + length,0" identifier , (comma_expression "message + length,0" (binary_expression "message + length" identifier + identifier) , number_literal))) ))) ;)) (return_statement "return pEVar1;" return identifier ;) }))
(translation_unit "undefined4 * FUN_001bb290(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    \n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_001bb290(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    \n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_001bb290(undefined4 param_1,int param_2,int param_3)" * (function_declarator "FUN_001bb290(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    \n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0x20);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0x20)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = &UNK_001caf5b + unaff_EDI;" (assignment_expression "*puVar1 = &UNK_001caf5b + unaff_EDI" (pointer_expression "*puVar1" * identifier) = (binary_expression "&UNK_001caf5b + unaff_EDI" (pointer_expression "&UNK_001caf5b" & identifier) + identifier)) ;) (expression_statement "puVar1[2] = puVar1 + 4;" (assignment_expression "puVar1[2] = puVar1 + 4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) (expression_statement "FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);" (call_expression "FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0)" identifier (argument_list "(puVar1 + 2,param_2,param_2 + param_3,0)" ( (binary_expression "puVar1 + 2" identifier + number_literal) , identifier , (binary_expression "param_2 + param_3" identifier + identifier) , number_literal ))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression & IDENT) + 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) , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_001bb290(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    \n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_001bb290(undefined4 param_1,int param_2,int param_3)" (* "*") (function_declarator "FUN_001bb290(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_001bb290") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  puVar1 = (undefined4 *)FUN_001e5200(0x20);\n  puVar1[1] = param_1;\n  *puVar1 = &UNK_001caf5b + unaff_EDI;\n  puVar1[2] = puVar1 + 4;\n                    \n  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" (identifier "FUN_000559ee") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0x20);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0x20)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_001e5200(0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(0x20)" (identifier "FUN_001e5200") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))))) (; ";")) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*puVar1 = &UNK_001caf5b + unaff_EDI;" (assignment_expression "*puVar1 = &UNK_001caf5b + unaff_EDI" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "&UNK_001caf5b + unaff_EDI" (pointer_expression "&UNK_001caf5b" (& "&") (identifier "UNK_001caf5b")) (+ "+") (identifier "unaff_EDI"))) (; ";")) (expression_statement "puVar1[2] = puVar1 + 4;" (assignment_expression "puVar1[2] = puVar1 + 4" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);" (call_expression "FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0)" (identifier "FUN_00050e40") (argument_list "(puVar1 + 2,param_2,param_2 + param_3,0)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) (, ",") (identifier "param_2") (, ",") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

type_1 * gold::script_exp_function_assert(type_1 *expr,var_8 *var_10,size_t var_11)

{
  type_1 *var_4;
  int var_3;
  
  var_1();
  var_4 = (type_1 *)var_2(0x20);
  var_4[1]._vptr_Expression = (type_2 **)expr;
  var_4->_vptr_Expression = (type_2 **)(&UNK_001caf5b + var_3);
  var_4[2]._vptr_Expression = (type_2 **)(var_4 + 4);
                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */
  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 + 2),
             var_10,var_10 + var_11,0);
  return var_4;
}


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

undefined4 * MASKED(undefined4 param_1,int param_2,int param_3)

{
  undefined4 *puVar1;
  int unaff_EDI;
  
  FUN_000559ee();
  puVar1 = (undefined4 *)FUN_001e5200(0x20);
  puVar1[1] = param_1;
  *puVar1 = &UNK_001caf5b + unaff_EDI;
  puVar1[2] = puVar1 + 4;
                    /* try { // try from 001bb2d6 to 001bb2da has its CatchHandler @ 001bb2e8 */
  FUN_00050e40(puVar1 + 2,param_2,param_2 + param_3,0);
  return puVar1;
}

