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

bfd_boolean
tg_class_method_variant
          (void *p,char *physname,debug_visibility visibility,bfd_boolean constp,
          bfd_boolean volatilep,bfd_vma voffset,bfd_boolean context)

{
  char *pcVar1;
  bfd_boolean bVar2;
  char *__ptr;
  int iVar3;
  char *local_24;
  
  if (*(int **)((int)p + 8) == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");
  }
  if (**(int **)((int)p + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,
                  "tg_class_method_variant");
  }
  if (((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))
     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))) {
    return 0;
  }
  if (context == 0) {
    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];
  }
  else {
    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);
  }
  pcVar1 = strdup(pcVar1);
  bVar2 = substitute_type((pr_handle *)p,pcVar1);
  if (bVar2 != 0) {
    __ptr = pop_type((pr_handle *)((int)p + 8));
    if (__ptr == (char *)0x0) {
      free(pcVar1);
      bVar2 = 0;
    }
    else {
      if (context == 0) {
        local_24 = (char *)0x0;
        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);
      }
      else {
        local_24 = pop_type((pr_handle *)((int)p + 8));
        if (local_24 == (char *)0x0) {
          free(__ptr);
          free(pcVar1);
          return 0;
        }
        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);
      }
      if (iVar3 == 0) {
        free(__ptr);
        free(pcVar1);
        free(local_24);
        return 0;
      }
                    /* WARNING: Load size is inaccurate */
      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),
              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));
      free(__ptr);
      free(pcVar1);
      free(local_24);
      bVar2 = 1;
    }
    return bVar2;
  }
  free(pcVar1);
  return 0;
}



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

undefined4
FUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,
            undefined4 param_6,undefined4 param_7,int param_8)

{
  char *pcVar1;
  int iVar2;
  void *__ptr;
  undefined4 uVar3;
  void *local_24;
  
  if ((int *)param_1[2] == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");
  }
  if (*(int *)param_1[2] == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,
                  "tg_class_method_variant");
  }
  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||
     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {
    return 0;
  }
  if (param_8 == 0) {
    pcVar1 = (char *)(*(int **)param_1[2])[3];
  }
  else {
    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);
  }
  pcVar1 = strdup(pcVar1);
  iVar2 = FUN_00036630();
  if (iVar2 != 0) {
    __ptr = (void *)FUN_00035d90();
    if (__ptr == (void *)0x0) {
      free(pcVar1);
      uVar3 = 0;
    }
    else {
      if (param_8 == 0) {
        local_24 = (void *)0x0;
        iVar2 = FUN_00036220();
      }
      else {
        local_24 = (void *)FUN_00035d90();
        if (local_24 == (void *)0x0) {
          free(__ptr);
          free(pcVar1);
          return 0;
        }
        iVar2 = FUN_00036220();
      }
      if (iVar2 == 0) {
        free(__ptr);
        free(pcVar1);
        free(local_24);
        return 0;
      }
      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,
              *(undefined4 *)(param_1[2] + 4));
      free(__ptr);
      free(pcVar1);
      free(local_24);
      uVar3 = 1;
    }
    return uVar3;
  }
  free(pcVar1);
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000143d0
ADD EBX,0x3aab7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESI + 0x8]
TEST EAX,EAX
JZ 0x00037762
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00037743
MOV EAX,dword ptr [ESP + 0x40]
TEST EAX,EAX
JNZ 0x00037660
MOV EBP,dword ptr [ESP + 0x3c]
TEST EBP,EBP
JNZ 0x00037680
MOV EAX,dword ptr [ESI + 0x8]
MOV EDI,dword ptr [ESP + 0x4c]
MOV EAX,dword ptr [EAX]
TEST EDI,EDI
JNZ 0x00037650
MOV EAX,dword ptr [EAX + 0xc]
SUB ESP,0xc
PUSH EAX
CALL 0x00013130
MOV EDX,EAX
MOV EDI,EAX
MOV EAX,ESI
CALL 0x00036630
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000376a0
LEA EDX,[ESI + 0x8]
MOV EAX,EDX
MOV dword ptr [ESP + 0x8],EDX
CALL 0x00035d90
MOV EDX,dword ptr [ESP + 0x8]
TEST EAX,EAX
MOV EBP,EAX
JZ 0x00037710
MOV ECX,dword ptr [ESP + 0x4c]
TEST ECX,ECX
JZ 0x000376c0
MOV EAX,EDX
CALL 0x00035d90
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JZ 0x00037728
MOV EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [ESP + 0x38]
CALL 0x00036220
TEST EAX,EAX
JZ 0x000376dc
MOV EAX,dword ptr [ESI + 0x8]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x4]
LEA EAX,[EBX + 0xfffe462c]
PUSH EBP
PUSH dword ptr [ESI + 0x10]
PUSH EDI
PUSH EAX
PUSH dword ptr [ESI]
CALL 0x00013878
ADD ESP,0x14
PUSH EBP
CALL 0x00013120
MOV dword ptr [ESP],EDI
CALL 0x00013120
POP EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x00013120
ADD ESP,0x10
MOV EAX,0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0xc]
JMP 0x00037597
LEA EAX,[ESI + 0x8]
LEA EDX,[EBX + 0xfffe4276]
CALL 0x00036580
TEST EAX,EAX
JNZ 0x00037577
XOR EAX,EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0x8]
LEA EDX,[EBX + 0xfffe4280]
CALL 0x00036580
TEST EAX,EAX
JNZ 0x00037583
XOR EAX,EAX
JMP 0x00037678
MOV dword ptr [ESP + 0x8],EAX
SUB ESP,0xc
PUSH EDI
CALL 0x00013120
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x8],0x0
CALL 0x00036220
TEST EAX,EAX
JNZ 0x00037605
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH EBP
CALL 0x00013120
MOV dword ptr [ESP],EDI
CALL 0x00013120
POP EDX
PUSH dword ptr [ESP + 0x14]
CALL 0x00013120
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00013120
ADD ESP,0x10
XOR EAX,EAX
JMP 0x00037644
SUB ESP,0xc
PUSH EBP
CALL 0x00013120
MOV dword ptr [ESP],EDI
CALL 0x00013120
ADD ESP,0x10
XOR EAX,EAX
JMP 0x00037678
LEA EAX,[EBX + 0xfffe4830]
PUSH EAX
LEA EAX,[EBX + 0xfffe4154]
PUSH 0x900
PUSH EAX
LEA EAX,[EBX + 0xfffe425c]
PUSH EAX
CALL 0x00013850
LEA EAX,[EBX + 0xfffe4830]
PUSH EAX
LEA EAX,[EBX + 0xfffe4154]
PUSH 0x8ff
PUSH EAX
LEA EAX,[EBX + 0xfffe416b]
PUSH EAX
CALL 0x00013850
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nFUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}\n\n" comment (function_definition "undefined4\nFUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)" ( (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) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "void *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (if_statement "if ((int *)param_1[2] == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" if (parenthesized_expression "((int *)param_1[2] == (int *)0x0)" ( (binary_expression "(int *)param_1[2] == (int *)0x0" (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_class_method_variant"" " string_content ") ))) ;) })) (if_statement "if (*(int *)param_1[2] == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" if (parenthesized_expression "(*(int *)param_1[2] == 0)" ( (binary_expression "*(int *)param_1[2] == 0" (pointer_expression "*(int *)param_1[2]" * (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" { comment (expression_statement "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");" (call_expression "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" identifier (argument_list "("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" ( (string_literal ""info->stack->next != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_class_method_variant"" " string_content ") ))) ;) })) (if_statement "if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }" if (parenthesized_expression "(((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0))))" ( (binary_expression "((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))" (parenthesized_expression "((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0))" ( (binary_expression "(param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)" (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_00036580(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00036580(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00036580()" identifier = (call_expression "FUN_00036580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))" ( (parenthesized_expression "(param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0))" ( (binary_expression "param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)" (binary_expression "param_4 != 0" identifier != number_literal) && (parenthesized_expression "(iVar2 = FUN_00036580(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00036580(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00036580()" identifier = (call_expression "FUN_00036580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }" { (expression_statement "pcVar1 = (char *)(*(int **)param_1[2])[3];" (assignment_expression "pcVar1 = (char *)(*(int **)param_1[2])[3]" identifier = (cast_expression "(char *)(*(int **)param_1[2])[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(*(int **)param_1[2])[3]" (parenthesized_expression "(*(int **)param_1[2])" ( (pointer_expression "*(int **)param_1[2]" * (cast_expression "(int **)param_1[2]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) [ number_literal ]))) ;) }) (else_clause "else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" else (compound_statement "{\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" { (expression_statement "pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);" (assignment_expression "pcVar1 = *(char **)(**(int **)param_1[2] + 0xc)" identifier = (pointer_expression "*(char **)(**(int **)param_1[2] + 0xc)" * (cast_expression "(char **)(**(int **)param_1[2] + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)param_1[2] + 0xc)" ( (binary_expression "**(int **)param_1[2] + 0xc" (pointer_expression "**(int **)param_1[2]" * (pointer_expression "*(int **)param_1[2]" * (cast_expression "(int **)param_1[2]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[2]" identifier [ number_literal ])))) + number_literal) ))))) ;) }))) (expression_statement "pcVar1 = strdup(pcVar1);" (assignment_expression "pcVar1 = strdup(pcVar1)" identifier = (call_expression "strdup(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "iVar2 = FUN_00036630();" (assignment_expression "iVar2 = FUN_00036630()" identifier = (call_expression "FUN_00036630()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }" { (expression_statement "__ptr = (void *)FUN_00035d90();" (assignment_expression "__ptr = (void *)FUN_00035d90()" identifier = (cast_expression "(void *)FUN_00035d90()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00035d90()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar1);\n      uVar3 = 0;\n    }" { (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" else (compound_statement "{\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" { (if_statement "if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }" { (expression_statement "local_24 = (void *)0x0;" (assignment_expression "local_24 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = FUN_00036220();" (assignment_expression "iVar2 = FUN_00036220()" identifier = (call_expression "FUN_00036220()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" else (compound_statement "{\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" { (expression_statement "local_24 = (void *)FUN_00035d90();" (assignment_expression "local_24 = (void *)FUN_00035d90()" identifier = (cast_expression "(void *)FUN_00035d90()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00035d90()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" if (parenthesized_expression "(local_24 == (void *)0x0)" ( (binary_expression "local_24 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = FUN_00036220();" (assignment_expression "iVar2 = FUN_00036220()" identifier = (call_expression "FUN_00036220()" identifier (argument_list "()" ( )))) ;) }))) (if_statement "if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4))" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4))" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(param_1[2] + 4)" * (cast_expression "(undefined4 *)(param_1[2] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 4)" ( (binary_expression "param_1[2] + 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) )))) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean\ntg_class_method_variant\n          (void *p,char *physname,debug_visibility visibility,bfd_boolean constp,\n          bfd_boolean volatilep,bfd_vma voffset,bfd_boolean context)\n\n{\n  char *pcVar1;\n  bfd_boolean bVar2;\n  char *__ptr;\n  int iVar3;\n  char *local_24;\n  \n  if (*(int **)((int)p + 8) == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (**(int **)((int)p + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))\n     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))) {\n    return 0;\n  }\n  if (context == 0) {\n    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];\n  }\n  else {\n    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  bVar2 = substitute_type((pr_handle *)p,pcVar1);\n  if (bVar2 != 0) {\n    __ptr = pop_type((pr_handle *)((int)p + 8));\n    if (__ptr == (char *)0x0) {\n      free(pcVar1);\n      bVar2 = 0;\n    }\n    else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }\n    return bVar2;\n  }\n  free(pcVar1);\n  return 0;\n}\n\n" comment comment (function_definition "bfd_boolean\ntg_class_method_variant\n          (void *p,char *physname,debug_visibility visibility,bfd_boolean constp,\n          bfd_boolean volatilep,bfd_vma voffset,bfd_boolean context)\n\n{\n  char *pcVar1;\n  bfd_boolean bVar2;\n  char *__ptr;\n  int iVar3;\n  char *local_24;\n  \n  if (*(int **)((int)p + 8) == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (**(int **)((int)p + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))\n     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))) {\n    return 0;\n  }\n  if (context == 0) {\n    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];\n  }\n  else {\n    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  bVar2 = substitute_type((pr_handle *)p,pcVar1);\n  if (bVar2 != 0) {\n    __ptr = pop_type((pr_handle *)((int)p + 8));\n    if (__ptr == (char *)0x0) {\n      free(pcVar1);\n      bVar2 = 0;\n    }\n    else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }\n    return bVar2;\n  }\n  free(pcVar1);\n  return 0;\n}" type_identifier (function_declarator "tg_class_method_variant\n          (void *p,char *physname,debug_visibility visibility,bfd_boolean constp,\n          bfd_boolean volatilep,bfd_vma voffset,bfd_boolean context)" identifier (parameter_list "(void *p,char *physname,debug_visibility visibility,bfd_boolean constp,\n          bfd_boolean volatilep,bfd_vma voffset,bfd_boolean context)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *physname" primitive_type (pointer_declarator "*physname" * identifier)) , (parameter_declaration "debug_visibility visibility" type_identifier identifier) , (parameter_declaration "bfd_boolean constp" type_identifier identifier) , (parameter_declaration "bfd_boolean volatilep" type_identifier identifier) , (parameter_declaration "bfd_vma voffset" type_identifier identifier) , (parameter_declaration "bfd_boolean context" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  bfd_boolean bVar2;\n  char *__ptr;\n  int iVar3;\n  char *local_24;\n  \n  if (*(int **)((int)p + 8) == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (**(int **)((int)p + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))\n     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))) {\n    return 0;\n  }\n  if (context == 0) {\n    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];\n  }\n  else {\n    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  bVar2 = substitute_type((pr_handle *)p,pcVar1);\n  if (bVar2 != 0) {\n    __ptr = pop_type((pr_handle *)((int)p + 8));\n    if (__ptr == (char *)0x0) {\n      free(pcVar1);\n      bVar2 = 0;\n    }\n    else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }\n    return bVar2;\n  }\n  free(pcVar1);\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (if_statement "if (*(int **)((int)p + 8) == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" if (parenthesized_expression "(*(int **)((int)p + 8) == (int *)0x0)" ( (binary_expression "*(int **)((int)p + 8) == (int *)0x0" (pointer_expression "*(int **)((int)p + 8)" * (cast_expression "(int **)((int)p + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_class_method_variant"" " string_content ") ))) ;) })) (if_statement "if (**(int **)((int)p + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" if (parenthesized_expression "(**(int **)((int)p + 8) == 0)" ( (binary_expression "**(int **)((int)p + 8) == 0" (pointer_expression "**(int **)((int)p + 8)" * (pointer_expression "*(int **)((int)p + 8)" * (cast_expression "(int **)((int)p + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" { comment (expression_statement "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");" (call_expression "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" identifier (argument_list "("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" ( (string_literal ""info->stack->next != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_class_method_variant"" " string_content ") ))) ;) })) (if_statement "if (((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))\n     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))) {\n    return 0;\n  }" if (parenthesized_expression "(((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))\n     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0))))" ( (binary_expression "((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))\n     || ((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))" (parenthesized_expression "((volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0))" ( (binary_expression "(volatilep != 0) && (bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0)" (parenthesized_expression "(volatilep != 0)" ( (binary_expression "volatilep != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0)" ( (comma_expression "bVar2 = append_type((pr_handle *)((int)p + 8)," volatile"), bVar2 == 0" (assignment_expression "bVar2 = append_type((pr_handle *)((int)p + 8)," volatile")" identifier = (call_expression "append_type((pr_handle *)((int)p + 8)," volatile")" identifier (argument_list "((pr_handle *)((int)p + 8)," volatile")" ( (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , (string_literal "" volatile"" " string_content ") )))) , (binary_expression "bVar2 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "((constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)))" ( (parenthesized_expression "(constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0))" ( (binary_expression "constp != 0 && (bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)" (binary_expression "constp != 0" identifier != number_literal) && (parenthesized_expression "(bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0)" ( (comma_expression "bVar2 = append_type((pr_handle *)((int)p + 8)," const"), bVar2 == 0" (assignment_expression "bVar2 = append_type((pr_handle *)((int)p + 8)," const")" identifier = (call_expression "append_type((pr_handle *)((int)p + 8)," const")" identifier (argument_list "((pr_handle *)((int)p + 8)," const")" ( (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , (string_literal "" const"" " string_content ") )))) , (binary_expression "bVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (context == 0) {\n    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];\n  }\n  else {\n    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);\n  }" if (parenthesized_expression "(context == 0)" ( (binary_expression "context == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];\n  }" { (expression_statement "pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];" (assignment_expression "pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3]" identifier = (cast_expression "(char *)((int *)**(int **)((int)p + 8))[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "((int *)**(int **)((int)p + 8))[3]" (parenthesized_expression "((int *)**(int **)((int)p + 8))" ( (cast_expression "(int *)**(int **)((int)p + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)((int)p + 8)" * (pointer_expression "*(int **)((int)p + 8)" * (cast_expression "(int **)((int)p + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) )) [ number_literal ]))) ;) }) (else_clause "else {\n    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);\n  }" else (compound_statement "{\n    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);\n  }" { (expression_statement "pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);" (assignment_expression "pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc)" identifier = (pointer_expression "*(char **)(*(int *)**(int **)((int)p + 8) + 0xc)" * (cast_expression "(char **)(*(int *)**(int **)((int)p + 8) + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)**(int **)((int)p + 8) + 0xc)" ( (binary_expression "*(int *)**(int **)((int)p + 8) + 0xc" (pointer_expression "*(int *)**(int **)((int)p + 8)" * (cast_expression "(int *)**(int **)((int)p + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)((int)p + 8)" * (pointer_expression "*(int **)((int)p + 8)" * (cast_expression "(int **)((int)p + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))))) + number_literal) ))))) ;) }))) (expression_statement "pcVar1 = strdup(pcVar1);" (assignment_expression "pcVar1 = strdup(pcVar1)" identifier = (call_expression "strdup(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "bVar2 = substitute_type((pr_handle *)p,pcVar1);" (assignment_expression "bVar2 = substitute_type((pr_handle *)p,pcVar1)" identifier = (call_expression "substitute_type((pr_handle *)p,pcVar1)" identifier (argument_list "((pr_handle *)p,pcVar1)" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (bVar2 != 0) {\n    __ptr = pop_type((pr_handle *)((int)p + 8));\n    if (__ptr == (char *)0x0) {\n      free(pcVar1);\n      bVar2 = 0;\n    }\n    else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }\n    return bVar2;\n  }" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    __ptr = pop_type((pr_handle *)((int)p + 8));\n    if (__ptr == (char *)0x0) {\n      free(pcVar1);\n      bVar2 = 0;\n    }\n    else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }\n    return bVar2;\n  }" { (expression_statement "__ptr = pop_type((pr_handle *)((int)p + 8));" (assignment_expression "__ptr = pop_type((pr_handle *)((int)p + 8))" identifier = (call_expression "pop_type((pr_handle *)((int)p + 8))" identifier (argument_list "((pr_handle *)((int)p + 8))" ( (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) )))) ;) (if_statement "if (__ptr == (char *)0x0) {\n      free(pcVar1);\n      bVar2 = 0;\n    }\n    else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }" if (parenthesized_expression "(__ptr == (char *)0x0)" ( (binary_expression "__ptr == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar1);\n      bVar2 = 0;\n    }" { (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }" else (compound_statement "{\n      if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n                    /* WARNING: Load size is inaccurate */\n      fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      bVar2 = 1;\n    }" { (if_statement "if (context == 0) {\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }\n      else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }" if (parenthesized_expression "(context == 0)" ( (binary_expression "context == 0" identifier == number_literal) )) (compound_statement "{\n        local_24 = (char *)0x0;\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }" { (expression_statement "local_24 = (char *)0x0;" (assignment_expression "local_24 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);" (assignment_expression "iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility)" identifier = (call_expression "tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility)" identifier (argument_list "(*(pr_handle **)((int)p + 8),visibility)" ( (pointer_expression "*(pr_handle **)((int)p + 8)" * (cast_expression "(pr_handle **)((int)p + 8)" ( (type_descriptor "pr_handle **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier )))) ;) }) (else_clause "else {\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }" else (compound_statement "{\n        local_24 = pop_type((pr_handle *)((int)p + 8));\n        if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);\n      }" { (expression_statement "local_24 = pop_type((pr_handle *)((int)p + 8));" (assignment_expression "local_24 = pop_type((pr_handle *)((int)p + 8))" identifier = (call_expression "pop_type((pr_handle *)((int)p + 8))" identifier (argument_list "((pr_handle *)((int)p + 8))" ( (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) )))) ;) (if_statement "if (local_24 == (char *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" if (parenthesized_expression "(local_24 == (char *)0x0)" ( (binary_expression "local_24 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility);" (assignment_expression "iVar3 = tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility)" identifier = (call_expression "tg_fix_visibility(*(pr_handle **)((int)p + 8),visibility)" identifier (argument_list "(*(pr_handle **)((int)p + 8),visibility)" ( (pointer_expression "*(pr_handle **)((int)p + 8)" * (cast_expression "(pr_handle **)((int)p + 8)" ( (type_descriptor "pr_handle **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier )))) ;) }))) (if_statement "if (iVar3 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4));" (call_expression "fprintf(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4))" identifier (argument_list "(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(undefined4 *)((int)p + 0x10),\n              __ptr,*(undefined4 *)(*(int *)((int)p + 8) + 4))" ( (pointer_expression "*p" * identifier) , (string_literal ""%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*(undefined4 *)((int)p + 0x10)" * (cast_expression "(undefined4 *)((int)p + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x10)" ( (binary_expression "(int)p + 0x10" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(*(int *)((int)p + 8) + 4)" * (cast_expression "(undefined4 *)(*(int *)((int)p + 8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)p + 8) + 4)" ( (binary_expression "*(int *)((int)p + 8) + 4" (pointer_expression "*(int *)((int)p + 8)" * (cast_expression "(int *)((int)p + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "bVar2 = 1;" (assignment_expression "bVar2 = 1" identifier = number_literal) ;) }))) (return_statement "return bVar2;" return identifier ;) })) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4\nFUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)" ( (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) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "void *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (if_statement "if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" if (parenthesized_expression "((int *)param_1[2] == (int *)0x0)" ( (binary_expression "(int *)param_1[2] == (int *)0x0" (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" { (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_class_method_variant"" " string_content ") ))) ;) })) (if_statement "if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" if (parenthesized_expression "(*(int *)param_1[2] == 0)" ( (binary_expression "*(int *)param_1[2] == 0" (pointer_expression "*(int *)param_1[2]" * (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" { (expression_statement "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");" (call_expression "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" identifier (argument_list "("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" ( (string_literal ""info->stack->next != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_class_method_variant"" " string_content ") ))) ;) })) (if_statement "if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }" if (parenthesized_expression "(((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0))))" ( (binary_expression "((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))" (parenthesized_expression "((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0))" ( (binary_expression "(param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)" (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_00036580(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00036580(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00036580()" identifier = (call_expression "FUN_00036580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))" ( (parenthesized_expression "(param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0))" ( (binary_expression "param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)" (binary_expression "param_4 != 0" identifier != number_literal) && (parenthesized_expression "(iVar2 = FUN_00036580(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00036580(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00036580()" identifier = (call_expression "FUN_00036580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }" { (expression_statement "pcVar1 = (char *)(*(int **)param_1[2])[3];" (assignment_expression "pcVar1 = (char *)(*(int **)param_1[2])[3]" identifier = (cast_expression "(char *)(*(int **)param_1[2])[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(*(int **)param_1[2])[3]" (parenthesized_expression "(*(int **)param_1[2])" ( (pointer_expression "*(int **)param_1[2]" * (cast_expression "(int **)param_1[2]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) [ number_literal ]))) ;) }) (else_clause "else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" else (compound_statement "{\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" { (expression_statement "pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);" (assignment_expression "pcVar1 = *(char **)(**(int **)param_1[2] + 0xc)" identifier = (pointer_expression "*(char **)(**(int **)param_1[2] + 0xc)" * (cast_expression "(char **)(**(int **)param_1[2] + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)param_1[2] + 0xc)" ( (binary_expression "**(int **)param_1[2] + 0xc" (pointer_expression "**(int **)param_1[2]" * (pointer_expression "*(int **)param_1[2]" * (cast_expression "(int **)param_1[2]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[2]" identifier [ number_literal ])))) + number_literal) ))))) ;) }))) (expression_statement "pcVar1 = strdup(pcVar1);" (assignment_expression "pcVar1 = strdup(pcVar1)" identifier = (call_expression "strdup(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "iVar2 = FUN_00036630();" (assignment_expression "iVar2 = FUN_00036630()" identifier = (call_expression "FUN_00036630()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }" { (expression_statement "__ptr = (void *)FUN_00035d90();" (assignment_expression "__ptr = (void *)FUN_00035d90()" identifier = (cast_expression "(void *)FUN_00035d90()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00035d90()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar1);\n      uVar3 = 0;\n    }" { (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" else (compound_statement "{\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" { (if_statement "if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }" { (expression_statement "local_24 = (void *)0x0;" (assignment_expression "local_24 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = FUN_00036220();" (assignment_expression "iVar2 = FUN_00036220()" identifier = (call_expression "FUN_00036220()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" else (compound_statement "{\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" { (expression_statement "local_24 = (void *)FUN_00035d90();" (assignment_expression "local_24 = (void *)FUN_00035d90()" identifier = (cast_expression "(void *)FUN_00035d90()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00035d90()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" if (parenthesized_expression "(local_24 == (void *)0x0)" ( (binary_expression "local_24 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = FUN_00036220();" (assignment_expression "iVar2 = FUN_00036220()" identifier = (call_expression "FUN_00036220()" identifier (argument_list "()" ( )))) ;) }))) (if_statement "if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4))" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4))" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(param_1[2] + 4)" * (cast_expression "(undefined4 *)(param_1[2] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 4)" ( (binary_expression "param_1[2] + 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) )))) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) )) [ LIT ]))) ;) }) (else_clause else (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT , (subscript_expression IDENT [ LIT ]) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00037540(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)" (identifier "FUN_00037540") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,\n            undefined4 param_6,undefined4 param_7,int param_8)" (( "(") (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")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  void *local_24;\n  \n  if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }\n  if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }\n  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }\n  if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }\n  pcVar1 = strdup(pcVar1);\n  iVar2 = FUN_00036630();\n  if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }\n  free(pcVar1);\n  return 0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "void *local_24;" (primitive_type "void") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (if_statement "if ((int *)param_1[2] == (int *)0x0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" (if "if") (parenthesized_expression "((int *)param_1[2] == (int *)0x0)" (( "(") (binary_expression "(int *)param_1[2] == (int *)0x0" (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");\n  }" ({ "{") (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" (identifier "__assert_fail") (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant")" (( "(") (string_literal ""info->stack != NULL"" (" """) (string_content "info->stack != NULL") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x8ff") (, ",") (string_literal ""tg_class_method_variant"" (" """) (string_content "tg_class_method_variant") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)param_1[2] == 0) {\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" (if "if") (parenthesized_expression "(*(int *)param_1[2] == 0)" (( "(") (binary_expression "*(int *)param_1[2] == 0" (pointer_expression "*(int *)param_1[2]" (* "*") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");\n  }" ({ "{") (expression_statement "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant");" (call_expression "__assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" (identifier "__assert_fail") (argument_list "("info->stack->next != NULL","../../binutils/prdbg.c",0x900,\n                  "tg_class_method_variant")" (( "(") (string_literal ""info->stack->next != NULL"" (" """) (string_content "info->stack->next != NULL") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x900") (, ",") (string_literal ""tg_class_method_variant"" (" """) (string_content "tg_class_method_variant") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0))))" (( "(") (binary_expression "((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||\n     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))" (parenthesized_expression "((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0))" (( "(") (binary_expression "(param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)" (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00036580(), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_00036580(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00036580()" (identifier "iVar2") (= "=") (call_expression "FUN_00036580()" (identifier "FUN_00036580") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))" (( "(") (parenthesized_expression "(param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0))" (( "(") (binary_expression "param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)" (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00036580(), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_00036580(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00036580()" (identifier "iVar2") (= "=") (call_expression "FUN_00036580()" (identifier "FUN_00036580") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_8 == 0) {\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }\n  else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" (if "if") (parenthesized_expression "(param_8 == 0)" (( "(") (binary_expression "param_8 == 0" (identifier "param_8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar1 = (char *)(*(int **)param_1[2])[3];\n  }" ({ "{") (expression_statement "pcVar1 = (char *)(*(int **)param_1[2])[3];" (assignment_expression "pcVar1 = (char *)(*(int **)param_1[2])[3]" (identifier "pcVar1") (= "=") (cast_expression "(char *)(*(int **)param_1[2])[3]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "(*(int **)param_1[2])[3]" (parenthesized_expression "(*(int **)param_1[2])" (( "(") (pointer_expression "*(int **)param_1[2]" (* "*") (cast_expression "(int **)param_1[2]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}")) (else_clause "else {\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" (else "else") (compound_statement "{\n    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);\n  }" ({ "{") (expression_statement "pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);" (assignment_expression "pcVar1 = *(char **)(**(int **)param_1[2] + 0xc)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(**(int **)param_1[2] + 0xc)" (* "*") (cast_expression "(char **)(**(int **)param_1[2] + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)param_1[2] + 0xc)" (( "(") (binary_expression "**(int **)param_1[2] + 0xc" (pointer_expression "**(int **)param_1[2]" (* "*") (pointer_expression "*(int **)param_1[2]" (* "*") (cast_expression "(int **)param_1[2]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))) (expression_statement "pcVar1 = strdup(pcVar1);" (assignment_expression "pcVar1 = strdup(pcVar1)" (identifier "pcVar1") (= "=") (call_expression "strdup(pcVar1)" (identifier "strdup") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00036630();" (assignment_expression "iVar2 = FUN_00036630()" (identifier "iVar2") (= "=") (call_expression "FUN_00036630()" (identifier "FUN_00036630") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __ptr = (void *)FUN_00035d90();\n    if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }\n    return uVar3;\n  }" ({ "{") (expression_statement "__ptr = (void *)FUN_00035d90();" (assignment_expression "__ptr = (void *)FUN_00035d90()" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00035d90()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00035d90()" (identifier "FUN_00035d90") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__ptr == (void *)0x0) {\n      free(pcVar1);\n      uVar3 = 0;\n    }\n    else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" (if "if") (parenthesized_expression "(__ptr == (void *)0x0)" (( "(") (binary_expression "__ptr == (void *)0x0" (identifier "__ptr") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free(pcVar1);\n      uVar3 = 0;\n    }" ({ "{") (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" (identifier "free") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" (else "else") (compound_statement "{\n      if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }\n      if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }\n      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));\n      free(__ptr);\n      free(pcVar1);\n      free(local_24);\n      uVar3 = 1;\n    }" ({ "{") (if_statement "if (param_8 == 0) {\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }\n      else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" (if "if") (parenthesized_expression "(param_8 == 0)" (( "(") (binary_expression "param_8 == 0" (identifier "param_8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_24 = (void *)0x0;\n        iVar2 = FUN_00036220();\n      }" ({ "{") (expression_statement "local_24 = (void *)0x0;" (assignment_expression "local_24 = (void *)0x0" (identifier "local_24") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar2 = FUN_00036220();" (assignment_expression "iVar2 = FUN_00036220()" (identifier "iVar2") (= "=") (call_expression "FUN_00036220()" (identifier "FUN_00036220") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" (else "else") (compound_statement "{\n        local_24 = (void *)FUN_00035d90();\n        if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }\n        iVar2 = FUN_00036220();\n      }" ({ "{") (expression_statement "local_24 = (void *)FUN_00035d90();" (assignment_expression "local_24 = (void *)FUN_00035d90()" (identifier "local_24") (= "=") (cast_expression "(void *)FUN_00035d90()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00035d90()" (identifier "FUN_00035d90") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (local_24 == (void *)0x0) {\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" (if "if") (parenthesized_expression "(local_24 == (void *)0x0)" (( "(") (binary_expression "local_24 == (void *)0x0" (identifier "local_24") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          free(__ptr);\n          free(pcVar1);\n          return 0;\n        }" ({ "{") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" (identifier "free") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_00036220();" (assignment_expression "iVar2 = FUN_00036220()" (identifier "iVar2") (= "=") (call_expression "FUN_00036220()" (identifier "FUN_00036220") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar2 == 0) {\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        free(__ptr);\n        free(pcVar1);\n        free(local_24);\n        return 0;\n      }" ({ "{") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" (identifier "free") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (expression_statement "free(local_24);" (call_expression "free(local_24)" (identifier "free") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4));" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4))" (identifier "fprintf") (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,\n              *(undefined4 *)(param_1[2] + 4))" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (string_literal ""%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n"" (" """) (string_content "%s") (escape_sequence "\t") (string_content "%s") (escape_sequence "\t") (string_content "0;") (escape_sequence "\"") (escape_sequence "\t") (string_content "kind:p") (escape_sequence "\t") (string_content "type:%s") (escape_sequence "\t") (string_content "class:%s") (escape_sequence "\n") (" """)) (, ",") (identifier "pcVar1") (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "__ptr") (, ",") (pointer_expression "*(undefined4 *)(param_1[2] + 4)" (* "*") (cast_expression "(undefined4 *)(param_1[2] + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + 4)" (( "(") (binary_expression "param_1[2] + 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" (identifier "free") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (expression_statement "free(local_24);" (call_expression "free(local_24)" (identifier "free") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))) (; ";")) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" (identifier "free") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1
function_1
          (void *p,char *physname,type_2 visibility,type_1 var_5,
          type_1 var_2,type_3 voffset,type_1 var_6)

{
  char *pcVar1;
  type_1 var_4;
  char *var_10;
  int var_14;
  char *var_13;
  
  if (*(int **)((int)p + 8) == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");
  }
  if (**(int **)((int)p + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    var_1("info->stack->next != NULL","../../binutils/prdbg.c",0x900,
                  "tg_class_method_variant");
  }
  if (((var_2 != 0) && (var_4 = var_3((type_4 *)((int)p + 8)," volatile"), var_4 == 0))
     || ((var_5 != 0 && (var_4 = var_3((type_4 *)((int)p + 8)," const"), var_4 == 0)))) {
    return 0;
  }
  if (var_6 == 0) {
    pcVar1 = (char *)((int *)**(int **)((int)p + 8))[3];
  }
  else {
    pcVar1 = *(char **)(*(int *)**(int **)((int)p + 8) + 0xc);
  }
  pcVar1 = var_7(pcVar1);
  var_4 = var_8((type_4 *)p,pcVar1);
  if (var_4 != 0) {
    var_10 = var_9((type_4 *)((int)p + 8));
    if (var_10 == (char *)0x0) {
      var_11(pcVar1);
      var_4 = 0;
    }
    else {
      if (var_6 == 0) {
        var_13 = (char *)0x0;
        var_14 = var_12(*(type_4 **)((int)p + 8),visibility);
      }
      else {
        var_13 = var_9((type_4 *)((int)p + 8));
        if (var_13 == (char *)0x0) {
          var_11(var_10);
          var_11(pcVar1);
          return 0;
        }
        var_14 = var_12(*(type_4 **)((int)p + 8),visibility);
      }
      if (var_14 == 0) {
        var_11(var_10);
        var_11(pcVar1);
        var_11(var_13);
        return 0;
      }
                    /* WARNING: Load size is inaccurate */
      var_15(*p,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,*(type_5 *)((int)p + 0x10),
              var_10,*(type_5 *)(*(int *)((int)p + 8) + 4));
      var_11(var_10);
      var_11(pcVar1);
      var_11(var_13);
      var_4 = 1;
    }
    return var_4;
  }
  var_11(pcVar1);
  return 0;
}


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

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

undefined4
MASKED(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,int param_5,
            undefined4 param_6,undefined4 param_7,int param_8)

{
  char *pcVar1;
  int iVar2;
  void *__ptr;
  undefined4 uVar3;
  void *local_24;
  
  if ((int *)param_1[2] == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x8ff,"tg_class_method_variant");
  }
  if (*(int *)param_1[2] == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack->next != NULL","../../binutils/prdbg.c",0x900,
                  "tg_class_method_variant");
  }
  if (((param_5 != 0) && (iVar2 = FUN_00036580(), iVar2 == 0)) ||
     ((param_4 != 0 && (iVar2 = FUN_00036580(), iVar2 == 0)))) {
    return 0;
  }
  if (param_8 == 0) {
    pcVar1 = (char *)(*(int **)param_1[2])[3];
  }
  else {
    pcVar1 = *(char **)(**(int **)param_1[2] + 0xc);
  }
  pcVar1 = strdup(pcVar1);
  iVar2 = FUN_00036630();
  if (iVar2 != 0) {
    __ptr = (void *)FUN_00035d90();
    if (__ptr == (void *)0x0) {
      free(pcVar1);
      uVar3 = 0;
    }
    else {
      if (param_8 == 0) {
        local_24 = (void *)0x0;
        iVar2 = FUN_00036220();
      }
      else {
        local_24 = (void *)FUN_00035d90();
        if (local_24 == (void *)0x0) {
          free(__ptr);
          free(pcVar1);
          return 0;
        }
        iVar2 = FUN_00036220();
      }
      if (iVar2 == 0) {
        free(__ptr);
        free(pcVar1);
        free(local_24);
        return 0;
      }
      fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:p\ttype:%s\tclass:%s\n",pcVar1,param_1[4],__ptr,
              *(undefined4 *)(param_1[2] + 4));
      free(__ptr);
      free(pcVar1);
      free(local_24);
      uVar3 = 1;
    }
    return uVar3;
  }
  free(pcVar1);
  return 0;
}

