
/* 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: Target_size_endianness size_and_endianness(Parameters * this) */

Target_size_endianness __thiscall gold::Parameters::size_and_endianness(Parameters *this)

{
  int *piVar1;
  
  if (this->target_ != (Target *)0x0) {
    piVar1 = *(int **)(this->target_ + 4);
    if (*piVar1 == 0x20) {
      return (uint)*(byte *)(piVar1 + 1);
    }
    if (parameters->target_ != (Target *)0x0) {
      piVar1 = *(int **)(parameters->target_ + 4);
      if (*piVar1 == 0x40) {
        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;
      }
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");
    }
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x69,"target");
}



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

char __regparm2 FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)

{
  int *piVar1;
  
  if (*(int *)(param_3 + 0xc) != 0) {
    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);
    if (*piVar1 == 0x20) {
      return (char)piVar1[1];
    }
    if (*(int *)(DAT_0038f378 + 0xc) != 0) {
      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
      if (*piVar1 == 0x40) {
        return ((char)piVar1[1] != '\0') + '\x02';
      }
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x255e4a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00139209
MOV EAX,dword ptr [EAX + 0x4]
CMP dword ptr [EAX],0x20
JZ 0x00139200
MOV EAX,dword ptr [EBX + 0x378]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00139209
MOV EAX,dword ptr [EAX + 0x4]
CMP dword ptr [EAX],0x40
JNZ 0x0013921f
CMP byte ptr [EAX + 0x4],0x0
SETNZ AL
ADD ESP,0x8
MOVZX EAX,AL
POP EBX
ADD EAX,0x2
RET
MOVZX EAX,byte ptr [EAX + 0x4]
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xfff06120]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
PUSH EAX
LEA EAX,[EBX + 0xfff06128]
PUSH EAX
LEA EAX,[EBX + 0xfff05fe4]
PUSH 0xc7
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar __regparm2 FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}\n\n" comment (function_definition "char __regparm2 FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0xc) != 0)" ( (binary_expression "*(int *)(param_3 + 0xc) != 0" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }" { (expression_statement "piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(param_3 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(param_3 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_3 + 0xc) + 4)" ( (binary_expression "*(int *)(param_3 + 0xc) + 4" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }" if (parenthesized_expression "(*piVar1 == 0x20)" ( (binary_expression "*piVar1 == 0x20" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      return (char)piVar1[1];\n    }" { (return_statement "return (char)piVar1[1];" return (cast_expression "(char)piVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }" { (expression_statement "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }" if (parenthesized_expression "(*piVar1 == 0x40)" ( (binary_expression "*piVar1 == 0x40" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }" { (return_statement "return ((char)piVar1[1] != '\0') + '\x02';" return (binary_expression "((char)piVar1[1] != '\0') + '\x02'" (parenthesized_expression "((char)piVar1[1] != '\0')" ( (binary_expression "(char)piVar1[1] != '\0'" (cast_expression "(char)piVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) + (char_literal "'\x02'" ' escape_sequence ')) ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1)" identifier (argument_list "("../../gold/parameters.cc",199,"size_and_endianness",piVar1)" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""size_and_endianness"" " string_content ") , identifier ))) ;) })) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_2)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , 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/* DWARF original prototype: Target_size_endianness size_and_endianness(Parameters * this) */\n\nTarget_size_endianness __thiscall gold::Parameters::size_and_endianness(Parameters *this)\n\n{\n  int *piVar1;\n  \n  if (this->target_ != (Target *)0x0) {\n    piVar1 = *(int **)(this->target_ + 4);\n    if (*piVar1 == 0x20) {\n      return (uint)*(byte *)(piVar1 + 1);\n    }\n    if (parameters->target_ != (Target *)0x0) {\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}\n\n" comment comment comment (function_definition "Target_size_endianness __thiscall gold::Parameters::size_and_endianness(Parameters *this)\n\n{\n  int *piVar1;\n  \n  if (this->target_ != (Target *)0x0) {\n    piVar1 = *(int **)(this->target_ + 4);\n    if (*piVar1 == 0x20) {\n      return (uint)*(byte *)(piVar1 + 1);\n    }\n    if (parameters->target_ != (Target *)0x0) {\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Parameters::" identifier : : identifier : :) (function_declarator "size_and_endianness(Parameters *this)" identifier (parameter_list "(Parameters *this)" ( (parameter_declaration "Parameters *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (this->target_ != (Target *)0x0) {\n    piVar1 = *(int **)(this->target_ + 4);\n    if (*piVar1 == 0x20) {\n      return (uint)*(byte *)(piVar1 + 1);\n    }\n    if (parameters->target_ != (Target *)0x0) {\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (this->target_ != (Target *)0x0) {\n    piVar1 = *(int **)(this->target_ + 4);\n    if (*piVar1 == 0x20) {\n      return (uint)*(byte *)(piVar1 + 1);\n    }\n    if (parameters->target_ != (Target *)0x0) {\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }\n  }" if (parenthesized_expression "(this->target_ != (Target *)0x0)" ( (binary_expression "this->target_ != (Target *)0x0" (field_expression "this->target_" identifier -> field_identifier) != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar1 = *(int **)(this->target_ + 4);\n    if (*piVar1 == 0x20) {\n      return (uint)*(byte *)(piVar1 + 1);\n    }\n    if (parameters->target_ != (Target *)0x0) {\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }\n  }" { (expression_statement "piVar1 = *(int **)(this->target_ + 4);" (assignment_expression "piVar1 = *(int **)(this->target_ + 4)" identifier = (pointer_expression "*(int **)(this->target_ + 4)" * (cast_expression "(int **)(this->target_ + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this->target_ + 4)" ( (binary_expression "this->target_ + 4" (field_expression "this->target_" identifier -> field_identifier) + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x20) {\n      return (uint)*(byte *)(piVar1 + 1);\n    }" if (parenthesized_expression "(*piVar1 == 0x20)" ( (binary_expression "*piVar1 == 0x20" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      return (uint)*(byte *)(piVar1 + 1);\n    }" { (return_statement "return (uint)*(byte *)(piVar1 + 1);" return (binary_expression "(uint)*(byte *)(piVar1 + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(piVar1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) )))) ;) })) (if_statement "if (parameters->target_ != (Target *)0x0) {\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }" if (parenthesized_expression "(parameters->target_ != (Target *)0x0)" ( (binary_expression "parameters->target_ != (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar1 = *(int **)(parameters->target_ + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");\n    }" { (expression_statement "piVar1 = *(int **)(parameters->target_ + 4);" (assignment_expression "piVar1 = *(int **)(parameters->target_ + 4)" identifier = (pointer_expression "*(int **)(parameters->target_ + 4)" * (cast_expression "(int **)(parameters->target_ + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }" if (parenthesized_expression "(*piVar1 == 0x40)" ( (binary_expression "*piVar1 == 0x40" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;\n      }" { (return_statement "return ((char)piVar1[1] != '\0') + TARGET_64_LITTLE;" return (binary_expression "((char)piVar1[1] != '\0') + TARGET_64_LITTLE" (parenthesized_expression "((char)piVar1[1] != '\0')" ( (binary_expression "(char)piVar1[1] != '\0'" (cast_expression "(char)piVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) + identifier) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness");" (call_expression "do_gold_unreachable("../../gold/parameters.cc",199,"size_and_endianness")" identifier (argument_list "("../../gold/parameters.cc",199,"size_and_endianness")" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""size_and_endianness"" " string_content ") ))) ;) })) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })))
(translation_unit "char __regparm2 FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}\n\n" (function_definition "char __regparm2 FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0xc) != 0)" ( (binary_expression "*(int *)(param_3 + 0xc) != 0" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }" { (expression_statement "piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(param_3 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(param_3 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_3 + 0xc) + 4)" ( (binary_expression "*(int *)(param_3 + 0xc) + 4" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }" if (parenthesized_expression "(*piVar1 == 0x20)" ( (binary_expression "*piVar1 == 0x20" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      return (char)piVar1[1];\n    }" { (return_statement "return (char)piVar1[1];" return (cast_expression "(char)piVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }" { (expression_statement "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }" if (parenthesized_expression "(*piVar1 == 0x40)" ( (binary_expression "*piVar1 == 0x40" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }" { (return_statement "return ((char)piVar1[1] != '\0') + '\x02';" return (binary_expression "((char)piVar1[1] != '\0') + '\x02'" (parenthesized_expression "((char)piVar1[1] != '\0')" ( (binary_expression "(char)piVar1[1] != '\0'" (cast_expression "(char)piVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) + (char_literal "'\x02'" ' escape_sequence ')) ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1)" identifier (argument_list "("../../gold/parameters.cc",199,"size_and_endianness",piVar1)" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""size_and_endianness"" " string_content ") , identifier ))) ;) })) })) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_2)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != (char_literal ' escape_sequence ')) )) + (char_literal ' escape_sequence ')) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "char __regparm2 FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}" (primitive_type "char") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_001391b0(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_001391b0") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (if_statement "if (*(int *)(param_3 + 0xc) != 0) {\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 0xc) != 0" (pointer_expression "*(int *)(param_3 + 0xc)" (* "*") (cast_expression "(int *)(param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);\n    if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }\n    if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }\n  }" ({ "{") (expression_statement "piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(param_3 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(param_3 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_3 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(param_3 + 0xc) + 4" (pointer_expression "*(int *)(param_3 + 0xc)" (* "*") (cast_expression "(int *)(param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (*piVar1 == 0x20) {\n      return (char)piVar1[1];\n    }" (if "if") (parenthesized_expression "(*piVar1 == 0x20)" (( "(") (binary_expression "*piVar1 == 0x20" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      return (char)piVar1[1];\n    }" ({ "{") (return_statement "return (char)piVar1[1];" (return "return") (cast_expression "(char)piVar1[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n      if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }\n                    \n      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);\n    }" ({ "{") (expression_statement "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (*piVar1 == 0x40) {\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }" (if "if") (parenthesized_expression "(*piVar1 == 0x40)" (( "(") (binary_expression "*piVar1 == 0x40" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n        return ((char)piVar1[1] != '\0') + '\x02';\n      }" ({ "{") (return_statement "return ((char)piVar1[1] != '\0') + '\x02';" (return "return") (binary_expression "((char)piVar1[1] != '\0') + '\x02'" (parenthesized_expression "((char)piVar1[1] != '\0')" (( "(") (binary_expression "(char)piVar1[1] != '\0'" (cast_expression "(char)piVar1[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (+ "+") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.cc",199,"size_and_endianness",piVar1)" (( "(") (string_literal ""../../gold/parameters.cc"" (" """) (string_content "../../gold/parameters.cc") (" """)) (, ",") (number_literal "199") (, ",") (string_literal ""size_and_endianness"" (" """) (string_content "size_and_endianness") (" """)) (, ",") (identifier "piVar1") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",param_2)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

/* 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: Target_size_endianness size_and_endianness(Parameters * this) */

type_1 __thiscall gold::type_2::function_1(type_2 *this)

{
  int *var_1;
  
  if (this->target_ != (type_3 *)0x0) {
    var_1 = *(int **)(this->target_ + 4);
    if (*var_1 == 0x20) {
      return (uint)*(type_4 *)(var_1 + 1);
    }
    if (parameters->target_ != (type_3 *)0x0) {
      var_1 = *(int **)(parameters->target_ + 4);
      if (*var_1 == 0x40) {
        return ((char)var_1[1] != '\0') + var_2;
      }
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/parameters.cc",199,"size_and_endianness");
    }
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/parameters.h",0x69,"target");
}


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

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

char __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int *piVar1;
  
  if (*(int *)(param_3 + 0xc) != 0) {
    piVar1 = *(int **)(*(int *)(param_3 + 0xc) + 4);
    if (*piVar1 == 0x20) {
      return (char)piVar1[1];
    }
    if (*(int *)(DAT_0038f378 + 0xc) != 0) {
      piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
      if (*piVar1 == 0x40) {
        return ((char)piVar1[1] != '\0') + '\x02';
      }
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.cc",199,"size_and_endianness",piVar1);
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",param_2);
}

