
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Assert_expression * this, Expression_eval_info * eei) */

uint64_t __thiscall
gold::Assert_expression::value(Assert_expression *this,Expression_eval_info *eei)

{
  uint64_t uVar1;
  
  uVar1 = Expression::eval_maybe_dot
                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,
                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0
                     ,(uchar *)0x0,false,eei->is_valid_pointer);
  if ((uVar1 == 0) && (eei->check_assertions != false)) {
    gold_error("%s",(this->message_)._M_dataplus._M_p);
    return 0;
  }
  return uVar1;
}



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

undefined4 FUN_001d82b0(int param_1,undefined4 *param_2)

{
  longlong lVar1;
  
  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],
                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);
  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {
    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));
    return (int)lVar1;
  }
  return (int)lVar1;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x1d1d48
SUB ESP,0x14
MOV ESI,dword ptr [ESP + 0x28]
MOV EDI,dword ptr [ESP + 0x24]
MOVZX EAX,byte ptr [ESI + 0x9]
PUSH dword ptr [ESI + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESI + 0x1c]
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [ESI + 0x14]
PUSH dword ptr [ESI + 0x10]
PUSH dword ptr [ESI + 0xc]
PUSH EAX
MOVZX EAX,byte ptr [ESI + 0x8]
PUSH EAX
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI]
PUSH dword ptr [EDI + 0x4]
CALL 0x001d48a0
ADD ESP,0x40
MOV ECX,EDX
OR ECX,EAX
JNZ 0x001d8309
CMP byte ptr [ESI + 0x8],0x0
JNZ 0x001d8310
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
MOV dword ptr [ESP + 0xc],EDX
LEA ECX,[EBX + 0xffefa0c2]
SUB ESP,0x8
MOV dword ptr [ESP + 0x10],EAX
PUSH dword ptr [EDI + 0x8]
PUSH ECX
CALL 0x00071a80
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
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\nundefined4 FUN_001d82b0(int param_1,undefined4 *param_2)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}\n\n" comment (function_definition "undefined4 FUN_001d82b0(int param_1,undefined4 *param_2)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}" type_identifier (function_declarator "FUN_001d82b0(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);" (assignment_expression "lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (subscript_expression "param_2[5]" identifier [ number_literal ]) , (subscript_expression "param_2[6]" identifier [ number_literal ]) , (subscript_expression "param_2[7]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (if_statement "if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }" if (parenthesized_expression "((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0'))" ( (binary_expression "(lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')" (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(param_2 + 2) != '\0')" ( (binary_expression "*(char *)(param_2 + 2) != '\0'" (pointer_expression "*(char *)(param_2 + 2)" * (cast_expression "(char *)(param_2 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }" { (expression_statement "FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));" (call_expression "FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8))" identifier (argument_list "(&DAT_002a40c2,*(undefined4 *)(param_1 + 8))" ( (pointer_expression "&DAT_002a40c2" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return (int)lVar1;" return (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (return_statement "return (int)lVar1;" return (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(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/* WARNING: Enum "STT": Some values do not have unique names */\n/* DWARF original prototype: uint64_t value(Assert_expression * this, Expression_eval_info * eei) */\n\nuint64_t __thiscall\ngold::Assert_expression::value(Assert_expression *this,Expression_eval_info *eei)\n\n{\n  uint64_t uVar1;\n  \n  uVar1 = Expression::eval_maybe_dot\n                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0\n                     ,(uchar *)0x0,false,eei->is_valid_pointer);\n  if ((uVar1 == 0) && (eei->check_assertions != false)) {\n    gold_error("%s",(this->message_)._M_dataplus._M_p);\n    return 0;\n  }\n  return uVar1;\n}\n\n" comment comment comment comment (function_definition "uint64_t __thiscall\ngold::Assert_expression::value(Assert_expression *this,Expression_eval_info *eei)\n\n{\n  uint64_t uVar1;\n  \n  uVar1 = Expression::eval_maybe_dot\n                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0\n                     ,(uchar *)0x0,false,eei->is_valid_pointer);\n  if ((uVar1 == 0) && (eei->check_assertions != false)) {\n    gold_error("%s",(this->message_)._M_dataplus._M_p);\n    return 0;\n  }\n  return uVar1;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Assert_expression::" identifier : : identifier : :) (function_declarator "value(Assert_expression *this,Expression_eval_info *eei)" identifier (parameter_list "(Assert_expression *this,Expression_eval_info *eei)" ( (parameter_declaration "Assert_expression *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression_eval_info *eei" type_identifier (pointer_declarator "*eei" * identifier)) ))) (compound_statement "{\n  uint64_t uVar1;\n  \n  uVar1 = Expression::eval_maybe_dot\n                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0\n                     ,(uchar *)0x0,false,eei->is_valid_pointer);\n  if ((uVar1 == 0) && (eei->check_assertions != false)) {\n    gold_error("%s",(this->message_)._M_dataplus._M_p);\n    return 0;\n  }\n  return uVar1;\n}" { (declaration "uint64_t uVar1;" primitive_type identifier ;) (ERROR "uVar1 = Expression::" (assignment_expression "uVar1 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0\n                     ,(uchar *)0x0,false,eei->is_valid_pointer);" (call_expression "eval_maybe_dot\n                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0\n                     ,(uchar *)0x0,false,eei->is_valid_pointer)" identifier (argument_list "((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0\n                     ,(uchar *)0x0,false,eei->is_valid_pointer)" ( (field_expression "(this->super_Unary_expression).arg_" (parenthesized_expression "(this->super_Unary_expression)" ( (field_expression "this->super_Unary_expression" identifier -> field_identifier) )) . field_identifier) , (field_expression "eei->symtab" identifier -> field_identifier) , (field_expression "eei->layout" identifier -> field_identifier) , (field_expression "eei->check_assertions" identifier -> field_identifier) , (field_expression "eei->is_dot_available" identifier -> field_identifier) , (field_expression "eei->dot_value" identifier -> field_identifier) , (field_expression "eei->dot_section" identifier -> field_identifier) , (field_expression "eei->result_section_pointer" identifier -> field_identifier) , (field_expression "eei->result_alignment_pointer" identifier -> field_identifier) , (cast_expression "(STT *)0x0" ( (type_descriptor "STT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STV *)0x0" ( (type_descriptor "STV *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , false , (field_expression "eei->is_valid_pointer" identifier -> field_identifier) ))) ;) (if_statement "if ((uVar1 == 0) && (eei->check_assertions != false)) {\n    gold_error("%s",(this->message_)._M_dataplus._M_p);\n    return 0;\n  }" if (parenthesized_expression "((uVar1 == 0) && (eei->check_assertions != false))" ( (binary_expression "(uVar1 == 0) && (eei->check_assertions != false)" (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(eei->check_assertions != false)" ( (binary_expression "eei->check_assertions != false" (field_expression "eei->check_assertions" identifier -> field_identifier) != false) ))) )) (compound_statement "{\n    gold_error("%s",(this->message_)._M_dataplus._M_p);\n    return 0;\n  }" { (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 0;" return number_literal ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_001d82b0(int param_1,undefined4 *param_2)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}\n\n" (function_definition "undefined4 FUN_001d82b0(int param_1,undefined4 *param_2)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}" type_identifier (function_declarator "FUN_001d82b0(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);" (assignment_expression "lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (subscript_expression "param_2[5]" identifier [ number_literal ]) , (subscript_expression "param_2[6]" identifier [ number_literal ]) , (subscript_expression "param_2[7]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (if_statement "if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }" if (parenthesized_expression "((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0'))" ( (binary_expression "(lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')" (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(param_2 + 2) != '\0')" ( (binary_expression "*(char *)(param_2 + 2) != '\0'" (pointer_expression "*(char *)(param_2 + 2)" * (cast_expression "(char *)(param_2 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }" { (expression_statement "FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));" (call_expression "FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8))" identifier (argument_list "(&DAT_002a40c2,*(undefined4 *)(param_1 + 8))" ( (pointer_expression "&DAT_002a40c2" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return (int)lVar1;" return (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (return_statement "return (int)lVar1;" return (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })))
(function_definition "undefined4 FUN_001d82b0(int param_1,undefined4 *param_2)\n\n{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_001d82b0(int param_1,undefined4 *param_2)" (identifier "FUN_001d82b0") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  longlong lVar1;\n  \n  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);\n  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }\n  return (int)lVar1;\n}" ({ "{") (declaration "longlong lVar1;" (type_identifier "longlong") (identifier "lVar1") (; ";")) (expression_statement "lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);" (assignment_expression "lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" (identifier "lVar1") (= "=") (call_expression "FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" (identifier "FUN_001d48a0") (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],param_2[7],0,0,0,0,param_2[0xb])" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined1 *)(param_2 + 2)" (* "*") (cast_expression "(undefined1 *)(param_2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)((int)param_2 + 9)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 9)" (( "(") (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "9")) () ")")))) (, ",") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (, ",") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (, ",") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[0xb]" (identifier "param_2") ([ "[") (number_literal "0xb") (] "]")) () ")")))) (; ";")) (if_statement "if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }" (if "if") (parenthesized_expression "((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0'))" (( "(") (binary_expression "(lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')" (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_2 + 2) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 2) != '\0'" (pointer_expression "*(char *)(param_2 + 2)" (* "*") (cast_expression "(char *)(param_2 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));\n    return (int)lVar1;\n  }" ({ "{") (expression_statement "FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));" (call_expression "FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8))" (identifier "FUN_00071a80") (argument_list "(&DAT_002a40c2,*(undefined4 *)(param_1 + 8))" (( "(") (pointer_expression "&DAT_002a40c2" (& "&") (identifier "DAT_002a40c2")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return (int)lVar1;" (return "return") (cast_expression "(int)lVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar1")) (; ";")) (} "}"))) (return_statement "return (int)lVar1;" (return "return") (cast_expression "(int)lVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar1")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Assert_expression * this, Expression_eval_info * eei) */

uint64_t __thiscall
gold::type_1::function_1(type_1 *this,type_2 *eei)

{
  uint64_t var_2;
  
  var_2 = Expression::var_1
                    ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,
                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                     eei->result_section_pointer,eei->result_alignment_pointer,(type_3 *)0x0,(type_4 *)0x0
                     ,(type_5 *)0x0,false,eei->is_valid_pointer);
  if ((var_2 == 0) && (eei->check_assertions != false)) {
    var_3("%s",(this->message_)._M_dataplus._M_p);
    return 0;
  }
  return var_2;
}


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

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

undefined4 MASKED(int param_1,undefined4 *param_2)

{
  longlong lVar1;
  
  lVar1 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],
                       param_2[6],param_2[7],0,0,0,0,param_2[0xb]);
  if ((lVar1 == 0) && (*(char *)(param_2 + 2) != '\0')) {
    FUN_00071a80(&DAT_002a40c2,*(undefined4 *)(param_1 + 8));
    return (int)lVar1;
  }
  return (int)lVar1;
}

