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

bfd_boolean stab_class_start_method(void *p,char *name)

{
  int iVar1;
  size_t sVar2;
  size_t sVar3;
  char *pcVar4;
  
  iVar1 = *(int *)((int)p + 0x38);
  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {
    pcVar4 = *(char **)(iVar1 + 0x1c);
    sVar2 = strlen(name);
    if (pcVar4 == (char *)0x0) {
      pcVar4 = (char *)xmalloc(sVar2 + 3);
      *pcVar4 = '\0';
    }
    else {
      sVar3 = strlen(pcVar4);
      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);
    }
    sVar2 = strlen(pcVar4);
    sprintf(pcVar4 + sVar2,"%s::",name);
    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}



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

undefined4 FUN_00029090(int param_1,char *param_2)

{
  int iVar1;
  size_t sVar2;
  size_t sVar3;
  char *pcVar4;
  
  iVar1 = *(int *)(param_1 + 0x38);
  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {
    pcVar4 = *(char **)(iVar1 + 0x1c);
    sVar2 = strlen(param_2);
    if (pcVar4 == (char *)0x0) {
      pcVar4 = (char *)xmalloc(sVar2 + 3);
      *pcVar4 = '\0';
    }
    else {
      sVar3 = strlen(pcVar4);
      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);
    }
    sVar2 = strlen(pcVar4);
    sprintf(pcVar4 + sVar2,"%s::",param_2);
    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x16f67
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESI + 0x38]
TEST EAX,EAX
JZ 0x00029136
MOV EDI,dword ptr [EAX + 0x14]
TEST EDI,EDI
JZ 0x00029136
SUB ESP,0xc
MOV EBP,dword ptr [EAX + 0x1c]
PUSH dword ptr [ESP + 0x30]
CALL 0x000134e0
ADD ESP,0x10
MOV EDI,EAX
TEST EBP,EBP
JZ 0x00029120
SUB ESP,0xc
PUSH EBP
CALL 0x000134e0
POP EDX
POP ECX
LEA EAX,[EDI + EAX*0x1 + 0x4]
PUSH EAX
PUSH EBP
CALL 0x00013230
ADD ESP,0x10
MOV EBP,EAX
SUB ESP,0xc
PUSH EBP
CALL 0x000134e0
ADD ESP,0xc
LEA EDX,[EBX + 0xffff4dc5]
ADD EAX,EBP
PUSH dword ptr [ESP + 0x28]
PUSH EDX
PUSH EAX
CALL 0x000137a0
MOV EAX,dword ptr [ESI + 0x38]
MOV dword ptr [EAX + 0x1c],EBP
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EDX,[EAX + 0x3]
PUSH EDX
CALL 0x000132e0
ADD ESP,0x10
MOV EBP,EAX
MOV byte ptr [EAX],0x0
JMP 0x000290eb
LEA EAX,[EBX + 0xffff51f4]
PUSH EAX
LEA EAX,[EBX + 0xffff4dac]
PUSH 0x652
PUSH EAX
LEA EAX,[EBX + 0xffff4fd0]
PUSH EAX
CALL 0x00013920
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00029090(int param_1,char *param_2)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}\n\n" comment (function_definition "undefined4 FUN_00029090(int param_1,char *param_2)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" type_identifier (function_declarator "FUN_00029090(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x38);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x38)" identifier = (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" { (expression_statement "pcVar4 = *(char **)(iVar1 + 0x1c);" (assignment_expression "pcVar4 = *(char **)(iVar1 + 0x1c)" identifier = (pointer_expression "*(char **)(iVar1 + 0x1c)" * (cast_expression "(char **)(iVar1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" { (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3)" identifier (argument_list "(sVar2 + 3)" ( (binary_expression "sVar2 + 3" identifier + number_literal) ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" else (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" { (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier = (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier (argument_list "(pcVar4,sVar2 + 4 + sVar3)" ( identifier , (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" identifier + number_literal) + identifier) ))))) ;) }))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",param_2);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",param_2)" identifier (argument_list "(pcVar4 + sVar2,"%s::",param_2)" ( (binary_expression "pcVar4 + sVar2" identifier + identifier) , (string_literal ""%s::"" " string_content ") , identifier ))) ;) (expression_statement "*(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;" (assignment_expression "*(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4" (pointer_expression "*(char **)(*(int *)(param_1 + 0x38) + 0x1c)" * (cast_expression "(char **)(*(int *)(param_1 + 0x38) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_start_method"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean stab_class_start_method(void *p,char *name)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)((int)p + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}\n\n" comment comment (function_definition "bfd_boolean stab_class_start_method(void *p,char *name)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)((int)p + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" type_identifier (function_declarator "stab_class_start_method(void *p,char *name)" identifier (parameter_list "(void *p,char *name)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)((int)p + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "iVar1 = *(int *)((int)p + 0x38);" (assignment_expression "iVar1 = *(int *)((int)p + 0x38)" identifier = (pointer_expression "*(int *)((int)p + 0x38)" * (cast_expression "(int *)((int)p + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x38)" ( (binary_expression "(int)p + 0x38" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" { (expression_statement "pcVar4 = *(char **)(iVar1 + 0x1c);" (assignment_expression "pcVar4 = *(char **)(iVar1 + 0x1c)" identifier = (pointer_expression "*(char **)(iVar1 + 0x1c)" * (cast_expression "(char **)(iVar1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(name);" (assignment_expression "sVar2 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" { (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3)" identifier (argument_list "(sVar2 + 3)" ( (binary_expression "sVar2 + 3" identifier + number_literal) ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" else (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" { (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier = (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier (argument_list "(pcVar4,sVar2 + 4 + sVar3)" ( identifier , (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" identifier + number_literal) + identifier) ))))) ;) }))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",name);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",name)" identifier (argument_list "(pcVar4 + sVar2,"%s::",name)" ( (binary_expression "pcVar4 + sVar2" identifier + identifier) , (string_literal ""%s::"" " string_content ") , identifier ))) ;) (expression_statement "*(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4;" (assignment_expression "*(char **)(*(int *)((int)p + 0x38) + 0x1c) = pcVar4" (pointer_expression "*(char **)(*(int *)((int)p + 0x38) + 0x1c)" * (cast_expression "(char **)(*(int *)((int)p + 0x38) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)((int)p + 0x38) + 0x1c)" ( (binary_expression "*(int *)((int)p + 0x38) + 0x1c" (pointer_expression "*(int *)((int)p + 0x38)" * (cast_expression "(int *)((int)p + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x38)" ( (binary_expression "(int)p + 0x38" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_start_method"" " string_content ") ))) ;) })))
(translation_unit "undefined4 FUN_00029090(int param_1,char *param_2)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}\n\n" (function_definition "undefined4 FUN_00029090(int param_1,char *param_2)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" type_identifier (function_declarator "FUN_00029090(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x38);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x38)" identifier = (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" { (expression_statement "pcVar4 = *(char **)(iVar1 + 0x1c);" (assignment_expression "pcVar4 = *(char **)(iVar1 + 0x1c)" identifier = (pointer_expression "*(char **)(iVar1 + 0x1c)" * (cast_expression "(char **)(iVar1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" { (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3)" identifier (argument_list "(sVar2 + 3)" ( (binary_expression "sVar2 + 3" identifier + number_literal) ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" else (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" { (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier = (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier (argument_list "(pcVar4,sVar2 + 4 + sVar3)" ( identifier , (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" identifier + number_literal) + identifier) ))))) ;) }))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",param_2);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",param_2)" identifier (argument_list "(pcVar4 + sVar2,"%s::",param_2)" ( (binary_expression "pcVar4 + sVar2" identifier + identifier) , (string_literal ""%s::"" " string_content ") , identifier ))) ;) (expression_statement "*(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;" (assignment_expression "*(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4" (pointer_expression "*(char **)(*(int *)(param_1 + 0x38) + 0x1c)" * (cast_expression "(char **)(*(int *)(param_1 + 0x38) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_start_method"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 FUN_00029090(int param_1,char *param_2)\n\n{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" (type_identifier "undefined4") (function_declarator "FUN_00029090(int param_1,char *param_2)" (identifier "FUN_00029090") (parameter_list "(int param_1,char *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x38);\n  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x38);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x38)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0))" (( "(") (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x14) != 0" (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    pcVar4 = *(char **)(iVar1 + 0x1c);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;\n    return 1;\n  }" ({ "{") (expression_statement "pcVar4 = *(char **)(iVar1 + 0x1c);" (assignment_expression "pcVar4 = *(char **)(iVar1 + 0x1c)" (identifier "pcVar4") (= "=") (pointer_expression "*(char **)(iVar1 + 0x1c)" (* "*") (cast_expression "(char **)(iVar1 + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" (identifier "sVar2") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" ({ "{") (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" (identifier "pcVar4") (= "=") (cast_expression "(char *)xmalloc(sVar2 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar2 + 3)" (identifier "xmalloc") (argument_list "(sVar2 + 3)" (( "(") (binary_expression "sVar2 + 3" (identifier "sVar2") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" (else "else") (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" ({ "{") (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" (identifier "pcVar4") (= "=") (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" (identifier "xrealloc") (argument_list "(pcVar4,sVar2 + 4 + sVar3)" (( "(") (identifier "pcVar4") (, ",") (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" (identifier "sVar2") (+ "+") (number_literal "4")) (+ "+") (identifier "sVar3")) () ")"))))) (; ";")) (} "}")))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",param_2);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",param_2)" (identifier "sprintf") (argument_list "(pcVar4 + sVar2,"%s::",param_2)" (( "(") (binary_expression "pcVar4 + sVar2" (identifier "pcVar4") (+ "+") (identifier "sVar2")) (, ",") (string_literal ""%s::"" (" """) (string_content "%s::") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;" (assignment_expression "*(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4" (pointer_expression "*(char **)(*(int *)(param_1 + 0x38) + 0x1c)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 0x38) + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "pcVar4")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" (identifier "__assert_fail") (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" (( "(") (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" (" """) (string_content "info->type_stack != NULL && info->type_stack->fields != NULL") (" """)) (, ",") (string_literal ""../../binutils/wrstabs.c"" (" """) (string_content "../../binutils/wrstabs.c") (" """)) (, ",") (number_literal "0x652") (, ",") (string_literal ""stab_class_start_method"" (" """) (string_content "stab_class_start_method") (" """)) () ")"))) (; ";")) (} "}")))

/* 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 *name)

{
  int var_1;
  size_t var_5;
  size_t var_7;
  char *var_3;
  
  var_1 = *(int *)((int)p + 0x38);
  if ((var_1 != 0) && (*(int *)(var_1 + 0x14) != 0)) {
    var_3 = *(char **)(var_1 + 0x1c);
    var_5 = var_2(name);
    if (var_3 == (char *)0x0) {
      var_3 = (char *)var_4(var_5 + 3);
      *var_3 = '\0';
    }
    else {
      var_7 = var_2(var_3);
      var_3 = (char *)var_6(var_3,var_5 + 4 + var_7);
    }
    var_5 = var_2(var_3);
    var_8(var_3 + var_5,"%s::",name);
    *(char **)(*(int *)((int)p + 0x38) + 0x1c) = var_3;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  var_9("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}


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

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

undefined4 MASKED(int param_1,char *param_2)

{
  int iVar1;
  size_t sVar2;
  size_t sVar3;
  char *pcVar4;
  
  iVar1 = *(int *)(param_1 + 0x38);
  if ((iVar1 != 0) && (*(int *)(iVar1 + 0x14) != 0)) {
    pcVar4 = *(char **)(iVar1 + 0x1c);
    sVar2 = strlen(param_2);
    if (pcVar4 == (char *)0x0) {
      pcVar4 = (char *)xmalloc(sVar2 + 3);
      *pcVar4 = '\0';
    }
    else {
      sVar3 = strlen(pcVar4);
      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);
    }
    sVar2 = strlen(pcVar4);
    sprintf(pcVar4 + sVar2,"%s::",param_2);
    *(char **)(*(int *)(param_1 + 0x38) + 0x1c) = pcVar4;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}

