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

bfd_boolean stab_end_struct_type(void *p)

{
  int iVar1;
  char *__s;
  long tindex;
  uint size;
  char *__s_00;
  size_t sVar2;
  size_t sVar3;
  char *__s_01;
  bfd_boolean bVar4;
  
  iVar1 = *(int *)((int)p + 0x38);
  if ((iVar1 != 0) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)) {
    bVar4 = *(bfd_boolean *)(iVar1 + 0x10);
    tindex = *(long *)(iVar1 + 8);
    size = *(uint *)(iVar1 + 0xc);
    __s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));
    sVar2 = strlen(__s_00);
    sVar3 = strlen(__s);
    __s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);
    sprintf(__s_01,"%s%s;",__s_00,__s);
    free(__s_00);
    free(__s);
    bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);
    if (bVar4 != 0) {
      free(__s_01);
      bVar4 = 1;
    }
    return bVar4;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");
}



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

int FUN_0002a900(int param_1)

{
  char *__s;
  char *__s_00;
  size_t sVar1;
  size_t sVar2;
  char *__s_01;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  
  iVar3 = *(int *)(param_1 + 0x38);
  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {
    uVar4 = *(undefined4 *)(iVar3 + 0x10);
    uVar5 = *(undefined4 *)(iVar3 + 0xc);
    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));
    sVar1 = strlen(__s_00);
    sVar2 = strlen(__s);
    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);
    sprintf(__s_01,"%s%s;",__s_00,__s);
    free(__s_00);
    free(__s);
    iVar3 = FUN_0002a7b0(uVar4,uVar5);
    if (iVar3 != 0) {
      free(__s_01);
      iVar3 = 1;
    }
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x156f7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESI + 0x38]
TEST EAX,EAX
JZ 0x0002a9c9
MOV EDI,dword ptr [EAX + 0x14]
TEST EDI,EDI
JZ 0x0002a9c9
MOV EDX,dword ptr [EAX + 0x10]
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP],EDX
MOV EDX,dword ptr [EAX + 0xc]
LEA EAX,[ESI + 0x38]
MOV dword ptr [ESP + 0xc],ECX
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0x4],EAX
CALL 0x00029a00
SUB ESP,0xc
PUSH EAX
MOV ESI,EAX
CALL 0x000134e0
MOV dword ptr [ESP],EDI
MOV EBP,EAX
CALL 0x000134e0
LEA EAX,[EBP + EAX*0x1 + 0x2]
MOV dword ptr [ESP],EAX
CALL 0x000132e0
PUSH EDI
MOV EBP,EAX
LEA EAX,[EBX + 0xffff4eb4]
PUSH ESI
PUSH EAX
PUSH EBP
CALL 0x000137a0
ADD ESP,0x14
PUSH ESI
CALL 0x00013948
MOV dword ptr [ESP],EDI
CALL 0x00013948
POP EAX
POP EDX
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
MOV EDX,EBP
PUSH dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x0002a7b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002a9c1
SUB ESP,0xc
PUSH EBP
CALL 0x00013948
ADD ESP,0x10
MOV EAX,0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xffff5190]
PUSH EAX
LEA EAX,[EBX + 0xffff4dac]
PUSH 0x58b
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\nint FUN_0002a900(int param_1)\n\n{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}\n\n" comment (function_definition "int FUN_0002a900(int param_1)\n\n{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" primitive_type (function_declarator "FUN_0002a900(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__s_01;" primitive_type (pointer_declarator "*__s_01" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x38);" (assignment_expression "iVar3 = *(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 ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }" if (parenthesized_expression "((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0))" ( (binary_expression "(iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)" ( (comma_expression "__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0" (assignment_expression "__s = *(char **)(iVar3 + 0x14)" identifier = (pointer_expression "*(char **)(iVar3 + 0x14)" * (cast_expression "(char **)(iVar3 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) , (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }" { (expression_statement "uVar4 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "__s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));" (assignment_expression "__s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" identifier = (cast_expression "(char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" identifier (argument_list "(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" ( identifier , (binary_expression "param_1 + 0x38" identifier + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))))) ;) (expression_statement "sVar1 = strlen(__s_00);" (assignment_expression "sVar1 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);" (assignment_expression "__s_01 = (char *)xmalloc(sVar1 + 2 + sVar2)" identifier = (cast_expression "(char *)xmalloc(sVar1 + 2 + sVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar1 + 2 + sVar2)" identifier (argument_list "(sVar1 + 2 + sVar2)" ( (binary_expression "sVar1 + 2 + sVar2" (binary_expression "sVar1 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_01,"%s%s;",__s_00,__s);" (call_expression "sprintf(__s_01,"%s%s;",__s_00,__s)" identifier (argument_list "(__s_01,"%s%s;",__s_00,__s)" ( identifier , (string_literal ""%s%s;"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "iVar3 = FUN_0002a7b0(uVar4,uVar5);" (assignment_expression "iVar3 = FUN_0002a7b0(uVar4,uVar5)" identifier = (call_expression "FUN_0002a7b0(uVar4,uVar5)" identifier (argument_list "(uVar4,uVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      free(__s_01);\n      iVar3 = 1;\n    }" { (expression_statement "free(__s_01);" (call_expression "free(__s_01)" identifier (argument_list "(__s_01)" ( identifier ))) ;) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) })) (return_statement "return iVar3;" return identifier ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" ( (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_end_struct_type"" " 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_end_struct_type(void *p)\n\n{\n  int iVar1;\n  char *__s;\n  long tindex;\n  uint size;\n  char *__s_00;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_01;\n  bfd_boolean bVar4;\n  \n  iVar1 = *(int *)((int)p + 0x38);\n  if ((iVar1 != 0) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)) {\n    bVar4 = *(bfd_boolean *)(iVar1 + 0x10);\n    tindex = *(long *)(iVar1 + 8);\n    size = *(uint *)(iVar1 + 0xc);\n    __s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n    sVar2 = strlen(__s_00);\n    sVar3 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);\n    if (bVar4 != 0) {\n      free(__s_01);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}\n\n" comment comment (function_definition "bfd_boolean stab_end_struct_type(void *p)\n\n{\n  int iVar1;\n  char *__s;\n  long tindex;\n  uint size;\n  char *__s_00;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_01;\n  bfd_boolean bVar4;\n  \n  iVar1 = *(int *)((int)p + 0x38);\n  if ((iVar1 != 0) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)) {\n    bVar4 = *(bfd_boolean *)(iVar1 + 0x10);\n    tindex = *(long *)(iVar1 + 8);\n    size = *(uint *)(iVar1 + 0xc);\n    __s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n    sVar2 = strlen(__s_00);\n    sVar3 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);\n    if (bVar4 != 0) {\n      free(__s_01);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" type_identifier (function_declarator "stab_end_struct_type(void *p)" identifier (parameter_list "(void *p)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  long tindex;\n  uint size;\n  char *__s_00;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_01;\n  bfd_boolean bVar4;\n  \n  iVar1 = *(int *)((int)p + 0x38);\n  if ((iVar1 != 0) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)) {\n    bVar4 = *(bfd_boolean *)(iVar1 + 0x10);\n    tindex = *(long *)(iVar1 + 8);\n    size = *(uint *)(iVar1 + 0xc);\n    __s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n    sVar2 = strlen(__s_00);\n    sVar3 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);\n    if (bVar4 != 0) {\n      free(__s_01);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "long tindex;" (sized_type_specifier "long" long) identifier ;) (declaration "uint size;" type_identifier identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_01;" primitive_type (pointer_declarator "*__s_01" * identifier) ;) (declaration "bfd_boolean bVar4;" type_identifier 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) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)) {\n    bVar4 = *(bfd_boolean *)(iVar1 + 0x10);\n    tindex = *(long *)(iVar1 + 8);\n    size = *(uint *)(iVar1 + 0xc);\n    __s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n    sVar2 = strlen(__s_00);\n    sVar3 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);\n    if (bVar4 != 0) {\n      free(__s_01);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }" if (parenthesized_expression "((iVar1 != 0) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0))" ( (binary_expression "(iVar1 != 0) && (__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0)" ( (comma_expression "__s = *(char **)(iVar1 + 0x14), __s != (char *)0x0" (assignment_expression "__s = *(char **)(iVar1 + 0x14)" identifier = (pointer_expression "*(char **)(iVar1 + 0x14)" * (cast_expression "(char **)(iVar1 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) , (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    bVar4 = *(bfd_boolean *)(iVar1 + 0x10);\n    tindex = *(long *)(iVar1 + 8);\n    size = *(uint *)(iVar1 + 0xc);\n    __s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n    sVar2 = strlen(__s_00);\n    sVar3 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);\n    if (bVar4 != 0) {\n      free(__s_01);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }" { (expression_statement "bVar4 = *(bfd_boolean *)(iVar1 + 0x10);" (assignment_expression "bVar4 = *(bfd_boolean *)(iVar1 + 0x10)" identifier = (pointer_expression "*(bfd_boolean *)(iVar1 + 0x10)" * (cast_expression "(bfd_boolean *)(iVar1 + 0x10)" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "tindex = *(long *)(iVar1 + 8);" (assignment_expression "tindex = *(long *)(iVar1 + 8)" identifier = (pointer_expression "*(long *)(iVar1 + 8)" * (cast_expression "(long *)(iVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "size = *(uint *)(iVar1 + 0xc);" (assignment_expression "size = *(uint *)(iVar1 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar1 + 0xc)" * (cast_expression "(uint *)(iVar1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "__s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38));" (assignment_expression "__s_00 = stab_pop_type((stab_write_handle *)((int)p + 0x38))" identifier = (call_expression "stab_pop_type((stab_write_handle *)((int)p + 0x38))" identifier (argument_list "((stab_write_handle *)((int)p + 0x38))" ( (cast_expression "(stab_write_handle *)((int)p + 0x38)" ( (type_descriptor "stab_write_handle *" type_identifier (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) ))) )))) ;) (expression_statement "sVar2 = strlen(__s_00);" (assignment_expression "sVar2 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar2 + 2 + sVar3);" (assignment_expression "__s_01 = (char *)xmalloc(sVar2 + 2 + sVar3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 2 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 2 + sVar3)" identifier (argument_list "(sVar2 + 2 + sVar3)" ( (binary_expression "sVar2 + 2 + sVar3" (binary_expression "sVar2 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_01,"%s%s;",__s_00,__s);" (call_expression "sprintf(__s_01,"%s%s;",__s_00,__s)" identifier (argument_list "(__s_01,"%s%s;",__s_00,__s)" ( identifier , (string_literal ""%s%s;"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size);" (assignment_expression "bVar4 = stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size)" identifier = (call_expression "stab_push_string((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size)" identifier (argument_list "((stab_write_handle *)((int)p + 0x38),__s_01,tindex,bVar4,size)" ( (cast_expression "(stab_write_handle *)((int)p + 0x38)" ( (type_descriptor "stab_write_handle *" type_identifier (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) ))) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (bVar4 != 0) {\n      free(__s_01);\n      bVar4 = 1;\n    }" if (parenthesized_expression "(bVar4 != 0)" ( (binary_expression "bVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      free(__s_01);\n      bVar4 = 1;\n    }" { (expression_statement "free(__s_01);" (call_expression "free(__s_01)" identifier (argument_list "(__s_01)" ( identifier ))) ;) (expression_statement "bVar4 = 1;" (assignment_expression "bVar4 = 1" identifier = number_literal) ;) })) (return_statement "return bVar4;" return identifier ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" ( (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_end_struct_type"" " string_content ") ))) ;) })))
(translation_unit "int FUN_0002a900(int param_1)\n\n{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}\n\n" (function_definition "int FUN_0002a900(int param_1)\n\n{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" primitive_type (function_declarator "FUN_0002a900(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__s_01;" primitive_type (pointer_declarator "*__s_01" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x38);" (assignment_expression "iVar3 = *(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 ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }" if (parenthesized_expression "((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0))" ( (binary_expression "(iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)" ( (comma_expression "__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0" (assignment_expression "__s = *(char **)(iVar3 + 0x14)" identifier = (pointer_expression "*(char **)(iVar3 + 0x14)" * (cast_expression "(char **)(iVar3 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) , (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }" { (expression_statement "uVar4 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "__s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));" (assignment_expression "__s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" identifier = (cast_expression "(char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" identifier (argument_list "(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" ( identifier , (binary_expression "param_1 + 0x38" identifier + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))))) ;) (expression_statement "sVar1 = strlen(__s_00);" (assignment_expression "sVar1 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);" (assignment_expression "__s_01 = (char *)xmalloc(sVar1 + 2 + sVar2)" identifier = (cast_expression "(char *)xmalloc(sVar1 + 2 + sVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar1 + 2 + sVar2)" identifier (argument_list "(sVar1 + 2 + sVar2)" ( (binary_expression "sVar1 + 2 + sVar2" (binary_expression "sVar1 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_01,"%s%s;",__s_00,__s);" (call_expression "sprintf(__s_01,"%s%s;",__s_00,__s)" identifier (argument_list "(__s_01,"%s%s;",__s_00,__s)" ( identifier , (string_literal ""%s%s;"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "iVar3 = FUN_0002a7b0(uVar4,uVar5);" (assignment_expression "iVar3 = FUN_0002a7b0(uVar4,uVar5)" identifier = (call_expression "FUN_0002a7b0(uVar4,uVar5)" identifier (argument_list "(uVar4,uVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      free(__s_01);\n      iVar3 = 1;\n    }" { (expression_statement "free(__s_01);" (call_expression "free(__s_01)" identifier (argument_list "(__s_01)" ( identifier ))) ;) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) })) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" ( (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_end_struct_type"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "int FUN_0002a900(int param_1)\n\n{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" (primitive_type "int") (function_declarator "FUN_0002a900(int param_1)" (identifier "FUN_0002a900") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *__s;\n  char *__s_00;\n  size_t sVar1;\n  size_t sVar2;\n  char *__s_01;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  iVar3 = *(int *)(param_1 + 0x38);\n  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *__s_00;" (primitive_type "char") (pointer_declarator "*__s_00" (* "*") (identifier "__s_00")) (; ";")) (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "char *__s_01;" (primitive_type "char") (pointer_declarator "*__s_01" (* "*") (identifier "__s_01")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x38);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x38)" (identifier "iVar3") (= "=") (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 ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }" (if "if") (parenthesized_expression "((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0))" (( "(") (binary_expression "(iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)" (( "(") (comma_expression "__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0" (assignment_expression "__s = *(char **)(iVar3 + 0x14)" (identifier "__s") (= "=") (pointer_expression "*(char **)(iVar3 + 0x14)" (* "*") (cast_expression "(char **)(iVar3 + 0x14)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) (, ",") (binary_expression "__s != (char *)0x0" (identifier "__s") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    uVar4 = *(undefined4 *)(iVar3 + 0x10);\n    uVar5 = *(undefined4 *)(iVar3 + 0xc);\n    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));\n    sVar1 = strlen(__s_00);\n    sVar2 = strlen(__s);\n    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);\n    sprintf(__s_01,"%s%s;",__s_00,__s);\n    free(__s_00);\n    free(__s);\n    iVar3 = FUN_0002a7b0(uVar4,uVar5);\n    if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }\n    return iVar3;\n  }" ({ "{") (expression_statement "uVar4 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(iVar3 + 0x10)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0xc)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "__s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));" (assignment_expression "__s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" (identifier "__s_00") (= "=") (cast_expression "(char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" (identifier "FUN_00029a00") (argument_list "(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8))" (( "(") (identifier "uVar4") (, ",") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) () ")"))))) (; ";")) (expression_statement "sVar1 = strlen(__s_00);" (assignment_expression "sVar1 = strlen(__s_00)" (identifier "sVar1") (= "=") (call_expression "strlen(__s_00)" (identifier "strlen") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")")))) (; ";")) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" (identifier "sVar2") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "__s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);" (assignment_expression "__s_01 = (char *)xmalloc(sVar1 + 2 + sVar2)" (identifier "__s_01") (= "=") (cast_expression "(char *)xmalloc(sVar1 + 2 + sVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar1 + 2 + sVar2)" (identifier "xmalloc") (argument_list "(sVar1 + 2 + sVar2)" (( "(") (binary_expression "sVar1 + 2 + sVar2" (binary_expression "sVar1 + 2" (identifier "sVar1") (+ "+") (number_literal "2")) (+ "+") (identifier "sVar2")) () ")"))))) (; ";")) (expression_statement "sprintf(__s_01,"%s%s;",__s_00,__s);" (call_expression "sprintf(__s_01,"%s%s;",__s_00,__s)" (identifier "sprintf") (argument_list "(__s_01,"%s%s;",__s_00,__s)" (( "(") (identifier "__s_01") (, ",") (string_literal ""%s%s;"" (" """) (string_content "%s%s;") (" """)) (, ",") (identifier "__s_00") (, ",") (identifier "__s") () ")"))) (; ";")) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" (identifier "free") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")"))) (; ";")) (expression_statement "free(__s);" (call_expression "free(__s)" (identifier "free") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (expression_statement "iVar3 = FUN_0002a7b0(uVar4,uVar5);" (assignment_expression "iVar3 = FUN_0002a7b0(uVar4,uVar5)" (identifier "iVar3") (= "=") (call_expression "FUN_0002a7b0(uVar4,uVar5)" (identifier "FUN_0002a7b0") (argument_list "(uVar4,uVar5)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      free(__s_01);\n      iVar3 = 1;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      free(__s_01);\n      iVar3 = 1;\n    }" ({ "{") (expression_statement "free(__s_01);" (call_expression "free(__s_01)" (identifier "free") (argument_list "(__s_01)" (( "(") (identifier "__s_01") () ")"))) (; ";")) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" (identifier "__assert_fail") (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type")" (( "(") (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 "0x58b") (, ",") (string_literal ""stab_end_struct_type"" (" """) (string_content "stab_end_struct_type") (" """)) () ")"))) (; ";")) (} "}")))

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

type_1 function_1(void *p)

{
  int var_1;
  char *var_2;
  long tindex;
  type_2 size;
  char *__s_00;
  size_t var_6;
  size_t var_7;
  char *__s_01;
  type_1 var_11;
  
  var_1 = *(int *)((int)p + 0x38);
  if ((var_1 != 0) && (var_2 = *(char **)(var_1 + 0x14), var_2 != (char *)0x0)) {
    var_11 = *(type_1 *)(var_1 + 0x10);
    tindex = *(long *)(var_1 + 8);
    size = *(type_2 *)(var_1 + 0xc);
    __s_00 = var_3((type_3 *)((int)p + 0x38));
    var_6 = var_4(__s_00);
    var_7 = var_4(var_2);
    __s_01 = (char *)var_5(var_6 + 2 + var_7);
    var_8(__s_01,"%s%s;",__s_00,var_2);
    var_9(__s_00);
    var_9(var_2);
    var_11 = var_10((type_3 *)((int)p + 0x38),__s_01,tindex,var_11,size);
    if (var_11 != 0) {
      var_9(__s_01);
      var_11 = 1;
    }
    return var_11;
  }
                    /* WARNING: Subroutine does not return */
  var_12("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");
}


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

int MASKED(int param_1)

{
  char *__s;
  char *__s_00;
  size_t sVar1;
  size_t sVar2;
  char *__s_01;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  
  iVar3 = *(int *)(param_1 + 0x38);
  if ((iVar3 != 0) && (__s = *(char **)(iVar3 + 0x14), __s != (char *)0x0)) {
    uVar4 = *(undefined4 *)(iVar3 + 0x10);
    uVar5 = *(undefined4 *)(iVar3 + 0xc);
    __s_00 = (char *)FUN_00029a00(uVar4,param_1 + 0x38,uVar5,*(undefined4 *)(iVar3 + 8));
    sVar1 = strlen(__s_00);
    sVar2 = strlen(__s);
    __s_01 = (char *)xmalloc(sVar1 + 2 + sVar2);
    sprintf(__s_01,"%s%s;",__s_00,__s);
    free(__s_00);
    free(__s);
    iVar3 = FUN_0002a7b0(uVar4,uVar5);
    if (iVar3 != 0) {
      free(__s_01);
      iVar3 = 1;
    }
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x58b,"stab_end_struct_type");
}

