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

bfd_boolean stab_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)

{
  char cVar1;
  int type;
  char *__s;
  size_t sVar2;
  size_t sVar3;
  char *__s_00;
  bfd_boolean bVar4;
  int stab_type;
  
  __s = stab_pop_type((stab_write_handle *)((int)p + 0x38));
  if (kind - DEBUG_PARM_STACK < 4) {
    type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);
    cVar1 = CSWTCH_30[kind + 0x1f];
    sVar2 = strlen(name);
    sVar3 = strlen(__s);
    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);
    sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);
    free(__s);
    bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);
    if (bVar4 != 0) {
      free(__s_00);
      bVar4 = 1;
    }
    return bVar4;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}



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

int FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)

{
  char cVar1;
  char *__s;
  size_t sVar2;
  size_t sVar3;
  char *__s_00;
  int iVar4;
  
  __s = (char *)FUN_00029a00(param_4,param_5);
  if (param_3 - 1U < 4) {
    cVar1 = (&DAT_0003513f)[param_3];
    sVar2 = strlen(param_2);
    sVar3 = strlen(__s);
    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);
    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);
    free(__s);
    iVar4 = FUN_00029160(param_4,param_5,__s_00);
    if (iVar4 != 0) {
      free(__s_00);
      iVar4 = 1;
    }
    return iVar4;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x15e37
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x3c]
MOV ECX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0x40]
MOV EDI,dword ptr [ESP + 0x38]
MOV dword ptr [ESP],EAX
LEA EAX,[ECX + 0x38]
MOV dword ptr [ESP + 0x4],EDX
CALL 0x00029a00
MOV ESI,EAX
LEA EAX,[EDI + -0x1]
CMP EAX,0x3
JA 0x00013987
MOV EDX,dword ptr [EBX + EAX*0x4 + 0xffff5144]
SUB ESP,0xc
MOVZX EDI,byte ptr [EBX + EDI*0x1 + 0xffff513f]
MOV dword ptr [ESP + 0x18],EDX
PUSH dword ptr [ESP + 0x40]
CALL 0x000134e0
MOV dword ptr [ESP],ESI
MOV EBP,EAX
CALL 0x000134e0
LEA EAX,[EBP + EAX*0x1 + 0x3]
MOV dword ptr [ESP],EAX
CALL 0x000132e0
MOV dword ptr [ESP],ESI
MOV EBP,EAX
MOV EAX,EDI
MOVSX EDI,AL
LEA EAX,[EBX + 0xffff4e7e]
PUSH EDI
PUSH dword ptr [ESP + 0x48]
PUSH EAX
PUSH EBP
CALL 0x000137a0
ADD ESP,0x14
PUSH ESI
CALL 0x00013948
ADD ESP,0xc
XOR ECX,ECX
PUSH EBP
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x40]
CALL 0x00029160
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002a28c
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
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "int FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (function_declarator "FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "__s = (char *)FUN_00029a00(param_4,param_5);" (assignment_expression "__s = (char *)FUN_00029a00(param_4,param_5)" identifier = (cast_expression "(char *)FUN_00029a00(param_4,param_5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00(param_4,param_5)" identifier (argument_list "(param_4,param_5)" ( identifier , identifier ))))) ;) (if_statement "if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(param_3 - 1U < 4)" ( (binary_expression "param_3 - 1U < 4" (binary_expression "param_3 - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" { (expression_statement "cVar1 = (&DAT_0003513f)[param_3];" (assignment_expression "cVar1 = (&DAT_0003513f)[param_3]" identifier = (subscript_expression "(&DAT_0003513f)[param_3]" (parenthesized_expression "(&DAT_0003513f)" ( (pointer_expression "&DAT_0003513f" & identifier) )) [ identifier ])) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);" (assignment_expression "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3 + sVar3)" identifier (argument_list "(sVar2 + 3 + sVar3)" ( (binary_expression "sVar2 + 3 + sVar3" (binary_expression "sVar2 + 3" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);" (call_expression "sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s)" identifier (argument_list "(__s_00,"%s:%c%s",param_2,(int)cVar1,__s)" ( identifier , (string_literal ""%s:%c%s"" " string_content ") , identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "iVar4 = FUN_00029160(param_4,param_5,__s_00);" (assignment_expression "iVar4 = FUN_00029160(param_4,param_5,__s_00)" identifier = (call_expression "FUN_00029160(param_4,param_5,__s_00)" identifier (argument_list "(param_4,param_5,__s_00)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      free(__s_00);\n      iVar4 = 1;\n    }" { (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(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_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)\n\n{\n  char cVar1;\n  int type;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  bfd_boolean bVar4;\n  int stab_type;\n  \n  __s = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n  if (kind - DEBUG_PARM_STACK < 4) {\n    type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);\n    cVar1 = CSWTCH_30[kind + 0x1f];\n    sVar2 = strlen(name);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);\n    free(__s);\n    bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);\n    if (bVar4 != 0) {\n      free(__s_00);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment comment (function_definition "bfd_boolean stab_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)\n\n{\n  char cVar1;\n  int type;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  bfd_boolean bVar4;\n  int stab_type;\n  \n  __s = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n  if (kind - DEBUG_PARM_STACK < 4) {\n    type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);\n    cVar1 = CSWTCH_30[kind + 0x1f];\n    sVar2 = strlen(name);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);\n    free(__s);\n    bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);\n    if (bVar4 != 0) {\n      free(__s_00);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" type_identifier (function_declarator "stab_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)" identifier (parameter_list "(void *p,char *name,debug_parm_kind kind,bfd_vma val)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "debug_parm_kind kind" type_identifier identifier) , (parameter_declaration "bfd_vma val" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  int type;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  bfd_boolean bVar4;\n  int stab_type;\n  \n  __s = stab_pop_type((stab_write_handle *)((int)p + 0x38));\n  if (kind - DEBUG_PARM_STACK < 4) {\n    type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);\n    cVar1 = CSWTCH_30[kind + 0x1f];\n    sVar2 = strlen(name);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);\n    free(__s);\n    bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);\n    if (bVar4 != 0) {\n      free(__s_00);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int type;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "bfd_boolean bVar4;" type_identifier identifier ;) (declaration "int stab_type;" primitive_type identifier ;) (expression_statement "__s = stab_pop_type((stab_write_handle *)((int)p + 0x38));" (assignment_expression "__s = 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) ))) )))) ;) (if_statement "if (kind - DEBUG_PARM_STACK < 4) {\n    type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);\n    cVar1 = CSWTCH_30[kind + 0x1f];\n    sVar2 = strlen(name);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);\n    free(__s);\n    bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);\n    if (bVar4 != 0) {\n      free(__s_00);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }" if (parenthesized_expression "(kind - DEBUG_PARM_STACK < 4)" ( (binary_expression "kind - DEBUG_PARM_STACK < 4" (binary_expression "kind - DEBUG_PARM_STACK" identifier - identifier) < number_literal) )) (compound_statement "{\n    type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);\n    cVar1 = CSWTCH_30[kind + 0x1f];\n    sVar2 = strlen(name);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);\n    free(__s);\n    bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);\n    if (bVar4 != 0) {\n      free(__s_00);\n      bVar4 = 1;\n    }\n    return bVar4;\n  }" { (expression_statement "type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4);" (assignment_expression "type = *(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4)" identifier = (pointer_expression "*(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4)" * (cast_expression "(int *)(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4)" ( (binary_expression "CSWTCH_27 + (kind - DEBUG_PARM_STACK) * 4" identifier + (binary_expression "(kind - DEBUG_PARM_STACK) * 4" (parenthesized_expression "(kind - DEBUG_PARM_STACK)" ( (binary_expression "kind - DEBUG_PARM_STACK" identifier - identifier) )) * number_literal)) ))))) ;) (expression_statement "cVar1 = CSWTCH_30[kind + 0x1f];" (assignment_expression "cVar1 = CSWTCH_30[kind + 0x1f]" identifier = (subscript_expression "CSWTCH_30[kind + 0x1f]" identifier [ (binary_expression "kind + 0x1f" identifier + number_literal) ])) ;) (expression_statement "sVar2 = strlen(name);" (assignment_expression "sVar2 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);" (assignment_expression "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3 + sVar3)" identifier (argument_list "(sVar2 + 3 + sVar3)" ( (binary_expression "sVar2 + 3 + sVar3" (binary_expression "sVar2 + 3" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s);" (call_expression "sprintf(__s_00,"%s:%c%s",name,(int)cVar1,__s)" identifier (argument_list "(__s_00,"%s:%c%s",name,(int)cVar1,__s)" ( identifier , (string_literal ""%s:%c%s"" " string_content ") , identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00);" (assignment_expression "bVar4 = stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00)" identifier = (call_expression "stab_write_symbol((stab_write_handle *)p,type,0,val,__s_00)" identifier (argument_list "((stab_write_handle *)p,type,0,val,__s_00)" ( (cast_expression "(stab_write_handle *)p" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal , identifier , identifier )))) ;) (if_statement "if (bVar4 != 0) {\n      free(__s_00);\n      bVar4 = 1;\n    }" if (parenthesized_expression "(bVar4 != 0)" ( (binary_expression "bVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      free(__s_00);\n      bVar4 = 1;\n    }" { (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (expression_statement "bVar4 = 1;" (assignment_expression "bVar4 = 1" identifier = number_literal) ;) })) (return_statement "return bVar4;" return identifier ;) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    \n  abort();\n}\n\n" (function_definition "int FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    \n  abort();\n}" primitive_type (function_declarator "FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    \n  abort();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "__s = (char *)FUN_00029a00(param_4,param_5);" (assignment_expression "__s = (char *)FUN_00029a00(param_4,param_5)" identifier = (cast_expression "(char *)FUN_00029a00(param_4,param_5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00(param_4,param_5)" identifier (argument_list "(param_4,param_5)" ( identifier , identifier ))))) ;) (if_statement "if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(param_3 - 1U < 4)" ( (binary_expression "param_3 - 1U < 4" (binary_expression "param_3 - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" { (expression_statement "cVar1 = (&DAT_0003513f)[param_3];" (assignment_expression "cVar1 = (&DAT_0003513f)[param_3]" identifier = (subscript_expression "(&DAT_0003513f)[param_3]" (parenthesized_expression "(&DAT_0003513f)" ( (pointer_expression "&DAT_0003513f" & identifier) )) [ identifier ])) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);" (assignment_expression "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3 + sVar3)" identifier (argument_list "(sVar2 + 3 + sVar3)" ( (binary_expression "sVar2 + 3 + sVar3" (binary_expression "sVar2 + 3" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);" (call_expression "sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s)" identifier (argument_list "(__s_00,"%s:%c%s",param_2,(int)cVar1,__s)" ( identifier , (string_literal ""%s:%c%s"" " string_content ") , identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "iVar4 = FUN_00029160(param_4,param_5,__s_00);" (assignment_expression "iVar4 = FUN_00029160(param_4,param_5,__s_00)" identifier = (call_expression "FUN_00029160(param_4,param_5,__s_00)" identifier (argument_list "(param_4,param_5,__s_00)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      free(__s_00);\n      iVar4 = 1;\n    }" { (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) (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 , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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 ( ))) ;) })))
(function_definition "int FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    \n  abort();\n}" (primitive_type "int") (function_declarator "FUN_0002a1c0(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)" (identifier "FUN_0002a1c0") (parameter_list "(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  char cVar1;\n  char *__s;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_00;\n  int iVar4;\n  \n  __s = (char *)FUN_00029a00(param_4,param_5);\n  if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n                    \n  abort();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *__s_00;" (primitive_type "char") (pointer_declarator "*__s_00" (* "*") (identifier "__s_00")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "__s = (char *)FUN_00029a00(param_4,param_5);" (assignment_expression "__s = (char *)FUN_00029a00(param_4,param_5)" (identifier "__s") (= "=") (cast_expression "(char *)FUN_00029a00(param_4,param_5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00029a00(param_4,param_5)" (identifier "FUN_00029a00") (argument_list "(param_4,param_5)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") () ")"))))) (; ";")) (if_statement "if (param_3 - 1U < 4) {\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(param_3 - 1U < 4)" (( "(") (binary_expression "param_3 - 1U < 4" (binary_expression "param_3 - 1U" (identifier "param_3") (- "-") (number_literal "1U")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    cVar1 = (&DAT_0003513f)[param_3];\n    sVar2 = strlen(param_2);\n    sVar3 = strlen(__s);\n    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);\n    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);\n    free(__s);\n    iVar4 = FUN_00029160(param_4,param_5,__s_00);\n    if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" ({ "{") (expression_statement "cVar1 = (&DAT_0003513f)[param_3];" (assignment_expression "cVar1 = (&DAT_0003513f)[param_3]" (identifier "cVar1") (= "=") (subscript_expression "(&DAT_0003513f)[param_3]" (parenthesized_expression "(&DAT_0003513f)" (( "(") (pointer_expression "&DAT_0003513f" (& "&") (identifier "DAT_0003513f")) () ")")) ([ "[") (identifier "param_3") (] "]"))) (; ";")) (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") () ")")))) (; ";")) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" (identifier "sVar3") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);" (assignment_expression "__s_00 = (char *)xmalloc(sVar2 + 3 + sVar3)" (identifier "__s_00") (= "=") (cast_expression "(char *)xmalloc(sVar2 + 3 + sVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar2 + 3 + sVar3)" (identifier "xmalloc") (argument_list "(sVar2 + 3 + sVar3)" (( "(") (binary_expression "sVar2 + 3 + sVar3" (binary_expression "sVar2 + 3" (identifier "sVar2") (+ "+") (number_literal "3")) (+ "+") (identifier "sVar3")) () ")"))))) (; ";")) (expression_statement "sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);" (call_expression "sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s)" (identifier "sprintf") (argument_list "(__s_00,"%s:%c%s",param_2,(int)cVar1,__s)" (( "(") (identifier "__s_00") (, ",") (string_literal ""%s:%c%s"" (" """) (string_content "%s:%c%s") (" """)) (, ",") (identifier "param_2") (, ",") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) (, ",") (identifier "__s") () ")"))) (; ";")) (expression_statement "free(__s);" (call_expression "free(__s)" (identifier "free") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (expression_statement "iVar4 = FUN_00029160(param_4,param_5,__s_00);" (assignment_expression "iVar4 = FUN_00029160(param_4,param_5,__s_00)" (identifier "iVar4") (= "=") (call_expression "FUN_00029160(param_4,param_5,__s_00)" (identifier "FUN_00029160") (argument_list "(param_4,param_5,__s_00)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "__s_00") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      free(__s_00);\n      iVar4 = 1;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      free(__s_00);\n      iVar4 = 1;\n    }" ({ "{") (expression_statement "free(__s_00);" (call_expression "free(__s_00)" (identifier "free") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")"))) (; ";")) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* 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,type_2 var_2,type_3 val)

{
  char cVar1;
  int type;
  char *__s;
  size_t var_7;
  size_t var_8;
  char *__s_00;
  type_1 var_12;
  int stab_type;
  
  __s = var_1((type_4 *)((int)p + 0x38));
  if (var_2 - var_3 < 4) {
    type = *(int *)(var_4 + (var_2 - var_3) * 4);
    cVar1 = CSWTCH_30[var_2 + 0x1f];
    var_7 = var_5(name);
    var_8 = var_5(__s);
    __s_00 = (char *)var_6(var_7 + 3 + var_8);
    var_9(__s_00,"%s:%c%s",name,(int)cVar1,__s);
    var_10(__s);
    var_12 = var_11((type_4 *)p,type,0,val,__s_00);
    if (var_12 != 0) {
      var_10(__s_00);
      var_12 = 1;
    }
    return var_12;
  }
                    /* WARNING: Subroutine does not return */
  var_13();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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)) (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) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))) (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) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (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) (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))))))

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

int MASKED(undefined4 param_1,char *param_2,int param_3,undefined4 param_4,undefined4 param_5)

{
  char cVar1;
  char *__s;
  size_t sVar2;
  size_t sVar3;
  char *__s_00;
  int iVar4;
  
  __s = (char *)FUN_00029a00(param_4,param_5);
  if (param_3 - 1U < 4) {
    cVar1 = (&DAT_0003513f)[param_3];
    sVar2 = strlen(param_2);
    sVar3 = strlen(__s);
    __s_00 = (char *)xmalloc(sVar2 + 3 + sVar3);
    sprintf(__s_00,"%s:%c%s",param_2,(int)cVar1,__s);
    free(__s);
    iVar4 = FUN_00029160(param_4,param_5,__s_00);
    if (iVar4 != 0) {
      free(__s_00);
      iVar4 = 1;
    }
    return iVar4;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}

