
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

Expression * gold::script_exp_integer(uint64_t val)

{
  Expression *pEVar1;
  
  pEVar1 = (Expression *)operator_new(0xc);
  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Integer_expression_00385ec8;
  *(uint64_t *)(pEVar1 + 1) = val;
  return pEVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_001baa40(undefined4 param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_001e5200(0xc);
  *puVar1 = &PTR_FUN_00385ec8;
  puVar1[1] = param_1;
  puVar1[2] = param_2;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x1d45b4
MOV EDI,dword ptr [ESP + 0x14]
SUB ESP,0xc
PUSH 0xc
CALL 0x001e5200
ADD ESP,0x10
LEA EDX,[EBX + 0xffff6ec8]
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x4],ESI
MOV dword ptr [EAX + 0x8],EDI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001baa40(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}\n\n" comment (function_definition "void FUN_001baa40(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_001baa40(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &PTR_FUN_00385ec8;" (assignment_expression "*puVar1 = &PTR_FUN_00385ec8" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_00385ec8" & identifier)) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = param_2;" (assignment_expression "puVar1[2] = param_2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nExpression * gold::script_exp_integer(uint64_t val)\n\n{\n  Expression *pEVar1;\n  \n  pEVar1 = (Expression *)operator_new(0xc);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Integer_expression_00385ec8;\n  *(uint64_t *)(pEVar1 + 1) = val;\n  return pEVar1;\n}\n\n" comment comment (ERROR "Expression * gold::script_exp_integer(uint64_t val)" (binary_expression "Expression * gold" identifier * identifier) : : (macro_type_specifier "script_exp_integer(uint64_t val)" identifier ( (type_descriptor "uint64_t" primitive_type) (ERROR "val" identifier) ))) (compound_statement "{\n  Expression *pEVar1;\n  \n  pEVar1 = (Expression *)operator_new(0xc);\n  pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Integer_expression_00385ec8;\n  *(uint64_t *)(pEVar1 + 1) = val;\n  return pEVar1;\n}" { (declaration "Expression *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (expression_statement "pEVar1 = (Expression *)operator_new(0xc);" (assignment_expression "pEVar1 = (Expression *)operator_new(0xc)" identifier = (cast_expression "(Expression *)operator_new(0xc)" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Integer_expression_00385ec8;" (assignment_expression "pEVar1->_vptr_Expression = (_func_int_varargs **)&PTR__Integer_expression_00385ec8" (field_expression "pEVar1->_vptr_Expression" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Integer_expression_00385ec8" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Integer_expression_00385ec8" & identifier))) ;) (expression_statement "*(uint64_t *)(pEVar1 + 1) = val;" (assignment_expression "*(uint64_t *)(pEVar1 + 1) = val" (pointer_expression "*(uint64_t *)(pEVar1 + 1)" * (cast_expression "(uint64_t *)(pEVar1 + 1)" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pEVar1 + 1)" ( (binary_expression "pEVar1 + 1" identifier + number_literal) )))) = identifier) ;) (return_statement "return pEVar1;" return identifier ;) }))
(translation_unit "void FUN_001baa40(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}\n\n" (function_definition "void FUN_001baa40(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_001baa40(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar1 = &PTR_FUN_00385ec8;" (assignment_expression "*puVar1 = &PTR_FUN_00385ec8" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_00385ec8" & identifier)) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = param_2;" (assignment_expression "puVar1[2] = param_2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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 ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001baa40(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001baa40(undefined4 param_1,undefined4 param_2)" (identifier "FUN_001baa40") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = &PTR_FUN_00385ec8;\n  puVar1[1] = param_1;\n  puVar1[2] = param_2;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0xc)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_001e5200(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(0xc)" (identifier "FUN_001e5200") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar1 = &PTR_FUN_00385ec8;" (assignment_expression "*puVar1 = &PTR_FUN_00385ec8" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&PTR_FUN_00385ec8" (& "&") (identifier "PTR_FUN_00385ec8"))) (; ";")) (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[2] = param_2;" (assignment_expression "puVar1[2] = param_2" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 * gold::script_exp_integer(uint64_t val)

{
  type_1 *var_2;
  
  var_2 = (type_1 *)var_1(0xc);
  var_2->_vptr_Expression = (type_2 **)&PTR__Integer_expression_00385ec8;
  *(uint64_t *)(var_2 + 1) = val;
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_001e5200(0xc);
  *puVar1 = &PTR_FUN_00385ec8;
  puVar1[1] = param_1;
  puVar1[2] = param_2;
  return;
}

