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

Expression * script_symbol(void *closurev,char *name,size_t length)

{
  Expression *pEVar1;
  
  if ((length != 1) || (*name != '.')) {
    gold::Script_options::add_symbol_reference
              (*(Script_options **)((int)closurev + 0x20),name,length);
  }
  pEVar1 = gold::script_exp_string(name,length);
  return pEVar1;
}



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

void FUN_001457c0(int param_1,char *param_2,int param_3)

{
  if ((param_3 != 1) || (*param_2 != '.')) {
    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);
  }
  FUN_00184750(param_2,param_3);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x18]
CALL 0x00035680
ADD EBX,0x1f9834
MOV EDI,dword ptr [ESP + 0x14]
CMP ESI,0x1
JNZ 0x001457e0
CMP byte ptr [EDI],0x2e
JZ 0x001457f4
SUB ESP,0x4
PUSH ESI
PUSH EDI
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x20]
CALL 0x001456e0
ADD ESP,0x10
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00184750
ADD ESP,0x10
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_001457c0(int param_1,char *param_2,int param_3)\n\n{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_001457c0(int param_1,char *param_2,int param_3)\n\n{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_001457c0(int param_1,char *param_2,int param_3)" identifier (parameter_list "(int param_1,char *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}" { (if_statement "if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }" if (parenthesized_expression "((param_3 != 1) || (*param_2 != '.'))" ( (binary_expression "(param_3 != 1) || (*param_2 != '.')" (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) || (parenthesized_expression "(*param_2 != '.')" ( (binary_expression "*param_2 != '.'" (pointer_expression "*param_2" * identifier) != (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }" { (expression_statement "FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);" (call_expression "FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , identifier , identifier , number_literal ))) ;) })) (expression_statement "FUN_00184750(param_2,param_3);" (call_expression "FUN_00184750(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , 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 * script_symbol(void *closurev,char *name,size_t length)\n\n{\n  Expression *pEVar1;\n  \n  if ((length != 1) || (*name != '.')) {\n    gold::Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);\n  }\n  pEVar1 = gold::script_exp_string(name,length);\n  return pEVar1;\n}\n\n" comment comment (function_definition "Expression * script_symbol(void *closurev,char *name,size_t length)\n\n{\n  Expression *pEVar1;\n  \n  if ((length != 1) || (*name != '.')) {\n    gold::Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);\n  }\n  pEVar1 = gold::script_exp_string(name,length);\n  return pEVar1;\n}" type_identifier (pointer_declarator "* script_symbol(void *closurev,char *name,size_t length)" * (function_declarator "script_symbol(void *closurev,char *name,size_t length)" identifier (parameter_list "(void *closurev,char *name,size_t length)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) )))) (compound_statement "{\n  Expression *pEVar1;\n  \n  if ((length != 1) || (*name != '.')) {\n    gold::Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);\n  }\n  pEVar1 = gold::script_exp_string(name,length);\n  return pEVar1;\n}" { (declaration "Expression *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (if_statement "if ((length != 1) || (*name != '.')) {\n    gold::Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);\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    gold::Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);\n  }" { (labeled_statement "gold::Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);" statement_identifier : (ERROR ":" :) (labeled_statement "Script_options::add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);" statement_identifier : (ERROR ":" :) (expression_statement "add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length);" (call_expression "add_symbol_reference\n              (*(Script_options **)((int)closurev + 0x20),name,length)" identifier (argument_list "(*(Script_options **)((int)closurev + 0x20),name,length)" ( (pointer_expression "*(Script_options **)((int)closurev + 0x20)" * (cast_expression "(Script_options **)((int)closurev + 0x20)" ( (type_descriptor "Script_options **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x20)" ( (binary_expression "(int)closurev + 0x20" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier , identifier ))) ;))) })) (ERROR "pEVar1 = gold::" (assignment_expression "pEVar1 = gold" identifier = identifier) : :) (expression_statement "script_exp_string(name,length);" (call_expression "script_exp_string(name,length)" identifier (argument_list "(name,length)" ( identifier , identifier ))) ;) (return_statement "return pEVar1;" return identifier ;) })))
(translation_unit "void FUN_001457c0(int param_1,char *param_2,int param_3)\n\n{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_001457c0(int param_1,char *param_2,int param_3)\n\n{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_001457c0(int param_1,char *param_2,int param_3)" identifier (parameter_list "(int param_1,char *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}" { (if_statement "if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }" if (parenthesized_expression "((param_3 != 1) || (*param_2 != '.'))" ( (binary_expression "(param_3 != 1) || (*param_2 != '.')" (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) || (parenthesized_expression "(*param_2 != '.')" ( (binary_expression "*param_2 != '.'" (pointer_expression "*param_2" * identifier) != (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }" { (expression_statement "FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);" (call_expression "FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , identifier , identifier , number_literal ))) ;) })) (expression_statement "FUN_00184750(param_2,param_3);" (call_expression "FUN_00184750(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001457c0(int param_1,char *param_2,int param_3)\n\n{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001457c0(int param_1,char *param_2,int param_3)" (identifier "FUN_001457c0") (parameter_list "(int param_1,char *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }\n  FUN_00184750(param_2,param_3);\n  return;\n}" ({ "{") (if_statement "if ((param_3 != 1) || (*param_2 != '.')) {\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }" (if "if") (parenthesized_expression "((param_3 != 1) || (*param_2 != '.'))" (( "(") (binary_expression "(param_3 != 1) || (*param_2 != '.')" (parenthesized_expression "(param_3 != 1)" (( "(") (binary_expression "param_3 != 1" (identifier "param_3") (!= "!=") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(*param_2 != '.')" (( "(") (binary_expression "*param_2 != '.'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);\n  }" ({ "{") (expression_statement "FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);" (call_expression "FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc)" (identifier "FUN_001456e0") (argument_list "(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0x1457cc") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00184750(param_2,param_3);" (call_expression "FUN_00184750(param_2,param_3)" (identifier "FUN_00184750") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (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 * function_1(void *closurev,char *name,size_t var_1)

{
  type_1 *pEVar1;
  
  if ((var_1 != 1) || (*name != '.')) {
    gold::Script_options::var_2
              (*(type_2 **)((int)closurev + 0x20),name,var_1);
  }
  pEVar1 = gold::var_3(name,var_1);
  return pEVar1;
}


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

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

void MASKED(int param_1,char *param_2,int param_3)

{
  if ((param_3 != 1) || (*param_2 != '.')) {
    FUN_001456e0(*(undefined4 *)(param_1 + 0x20),param_2,param_3,0x1457cc);
  }
  FUN_00184750(param_2,param_3);
  return;
}

