
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void check(Script_assertion * this, Symbol_table * symtab, Layout *
   layout) */

void __thiscall
gold::Script_assertion::check(Script_assertion *this,Symbol_table *symtab,Layout *layout)

{
  uint64_t uVar1;
  
  uVar1 = Expression::eval(this->check_,symtab,layout,true);
  if (uVar1 != 0) {
    return;
  }
  gold_error("%s",(this->message_)._M_dataplus._M_p);
  return;
}



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

void FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)

{
  longlong lVar1;
  
  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);
  if (lVar1 != 0) {
    return;
  }
  FUN_0005ad00(&DAT_00224722,param_1[1]);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1ecb89
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
PUSH 0x1
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESI]
CALL 0x00154210
ADD ESP,0x10
OR EDX,EAX
JZ 0x001154a8
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xfff22722]
PUSH dword ptr [ESI + 0x4]
PUSH EAX
CALL 0x0005ad00
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}\n\n" comment (function_definition "void FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}" primitive_type (function_declarator "FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_00154210(*param_1,param_2,param_3,1);" (assignment_expression "lVar1 = FUN_00154210(*param_1,param_2,param_3,1)" identifier = (call_expression "FUN_00154210(*param_1,param_2,param_3,1)" identifier (argument_list "(*param_1,param_2,param_3,1)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier , number_literal )))) ;) (if_statement "if (lVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0005ad00(&DAT_00224722,param_1[1]);" (call_expression "FUN_0005ad00(&DAT_00224722,param_1[1])" identifier (argument_list "(&DAT_00224722,param_1[1])" ( (pointer_expression "&DAT_00224722" & identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void check(Script_assertion * this, Symbol_table * symtab, Layout *\n   layout) */\n\nvoid __thiscall\ngold::Script_assertion::check(Script_assertion *this,Symbol_table *symtab,Layout *layout)\n\n{\n  uint64_t uVar1;\n  \n  uVar1 = Expression::eval(this->check_,symtab,layout,true);\n  if (uVar1 != 0) {\n    return;\n  }\n  gold_error("%s",(this->message_)._M_dataplus._M_p);\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Script_assertion::check(Script_assertion *this,Symbol_table *symtab,Layout *layout)\n\n{\n  uint64_t uVar1;\n  \n  uVar1 = Expression::eval(this->check_,symtab,layout,true);\n  if (uVar1 != 0) {\n    return;\n  }\n  gold_error("%s",(this->message_)._M_dataplus._M_p);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_assertion::" identifier : : identifier : :) (function_declarator "check(Script_assertion *this,Symbol_table *symtab,Layout *layout)" identifier (parameter_list "(Script_assertion *this,Symbol_table *symtab,Layout *layout)" ( (parameter_declaration "Script_assertion *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) ))) (compound_statement "{\n  uint64_t uVar1;\n  \n  uVar1 = Expression::eval(this->check_,symtab,layout,true);\n  if (uVar1 != 0) {\n    return;\n  }\n  gold_error("%s",(this->message_)._M_dataplus._M_p);\n  return;\n}" { (declaration "uint64_t uVar1;" primitive_type identifier ;) (ERROR "uVar1 = Expression::" (assignment_expression "uVar1 = Expression" identifier = identifier) : :) (expression_statement "eval(this->check_,symtab,layout,true);" (call_expression "eval(this->check_,symtab,layout,true)" identifier (argument_list "(this->check_,symtab,layout,true)" ( (field_expression "this->check_" identifier -> field_identifier) , identifier , identifier , true ))) ;) (if_statement "if (uVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "gold_error("%s",(this->message_)._M_dataplus._M_p);" (call_expression "gold_error("%s",(this->message_)._M_dataplus._M_p)" identifier (argument_list "("%s",(this->message_)._M_dataplus._M_p)" ( (string_literal ""%s"" " string_content ") , (field_expression "(this->message_)._M_dataplus._M_p" (field_expression "(this->message_)._M_dataplus" (parenthesized_expression "(this->message_)" ( (field_expression "this->message_" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}\n\n" (function_definition "void FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}" primitive_type (function_declarator "FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_00154210(*param_1,param_2,param_3,1);" (assignment_expression "lVar1 = FUN_00154210(*param_1,param_2,param_3,1)" identifier = (call_expression "FUN_00154210(*param_1,param_2,param_3,1)" identifier (argument_list "(*param_1,param_2,param_3,1)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier , number_literal )))) ;) (if_statement "if (lVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0005ad00(&DAT_00224722,param_1[1]);" (call_expression "FUN_0005ad00(&DAT_00224722,param_1[1])" identifier (argument_list "(&DAT_00224722,param_1[1])" ( (pointer_expression "&DAT_00224722" & identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00115470(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00115470") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  longlong lVar1;\n  \n  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);\n  if (lVar1 != 0) {\n    return;\n  }\n  FUN_0005ad00(&DAT_00224722,param_1[1]);\n  return;\n}" ({ "{") (declaration "longlong lVar1;" (type_identifier "longlong") (identifier "lVar1") (; ";")) (expression_statement "lVar1 = FUN_00154210(*param_1,param_2,param_3,1);" (assignment_expression "lVar1 = FUN_00154210(*param_1,param_2,param_3,1)" (identifier "lVar1") (= "=") (call_expression "FUN_00154210(*param_1,param_2,param_3,1)" (identifier "FUN_00154210") (argument_list "(*param_1,param_2,param_3,1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (lVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005ad00(&DAT_00224722,param_1[1]);" (call_expression "FUN_0005ad00(&DAT_00224722,param_1[1])" (identifier "FUN_0005ad00") (argument_list "(&DAT_00224722,param_1[1])" (( "(") (pointer_expression "&DAT_00224722" (& "&") (identifier "DAT_00224722")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void check(Script_assertion * this, Symbol_table * symtab, Layout *
   layout) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 *symtab,type_3 *layout)

{
  uint64_t var_2;
  
  var_2 = Expression::var_1(this->check_,symtab,layout,true);
  if (var_2 != 0) {
    return;
  }
  var_3("%s",(this->message_)._M_dataplus._M_p);
  return;
}


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

{
  longlong lVar1;
  
  lVar1 = FUN_00154210(*param_1,param_2,param_3,1);
  if (lVar1 != 0) {
    return;
  }
  FUN_0005ad00(&DAT_00224722,param_1[1]);
  return;
}

