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

bfd_boolean stab_offset_type(void *p)

{
  stab_write_handle *info;
  int iVar1;
  char *__s;
  char *__s_00;
  size_t sVar2;
  size_t sVar3;
  char *__s_01;
  bfd_boolean bVar4;
  uint definition;
  
  info = (stab_write_handle *)((int)p + 0x38);
  iVar1 = *(int *)(*(int *)((int)p + 0x38) + 0x10);
  __s = stab_pop_type(info);
  definition = 1;
  if (iVar1 == 0) {
    definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);
  }
  __s_00 = stab_pop_type(info);
  sVar2 = strlen(__s);
  sVar3 = strlen(__s_00);
  __s_01 = (char *)xmalloc(sVar2 + 3 + sVar3);
  sprintf(__s_01,"@%s,%s",__s_00,__s);
  free(__s_00);
  free(__s);
  bVar4 = stab_push_string(info,__s_01,0,definition,0);
  if (bVar4 != 0) {
    free(__s_01);
    bVar4 = 1;
  }
  return bVar4;
}



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

int FUN_0002b0d0(int param_1)

{
  char *__s;
  char *__s_00;
  size_t sVar1;
  size_t sVar2;
  char *__s_01;
  int iVar3;
  bool bVar4;
  
  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);
  __s = (char *)FUN_00029a00();
  bVar4 = true;
  if (iVar3 == 0) {
    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;
  }
  __s_00 = (char *)FUN_00029a00();
  sVar1 = strlen(__s);
  sVar2 = strlen(__s_00);
  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);
  sprintf(__s_01,"@%s,%s",__s_00,__s);
  free(__s_00);
  free(__s);
  iVar3 = FUN_0002a7b0(bVar4,0);
  if (iVar3 != 0) {
    free(__s_01);
    iVar3 = 1;
  }
  return iVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x14f27
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EBP + 0x38]
LEA ESI,[EBP + 0x38]
MOV ECX,dword ptr [EAX + 0x10]
MOV EAX,ESI
MOV dword ptr [ESP + 0x8],ECX
CALL 0x00029a00
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,0x1
MOV EDI,EAX
TEST ECX,ECX
JNZ 0x0002b116
MOV EAX,dword ptr [EBP + 0x38]
XOR EDX,EDX
MOV ECX,dword ptr [EAX + 0x10]
TEST ECX,ECX
SETNZ DL
MOV EAX,ESI
MOV dword ptr [ESP + 0xc],EDX
CALL 0x00029a00
SUB ESP,0xc
PUSH EDI
MOV EBP,EAX
CALL 0x000134e0
MOV dword ptr [ESP],EBP
MOV dword ptr [ESP + 0x18],EAX
CALL 0x000134e0
MOV ECX,dword ptr [ESP + 0x18]
LEA EAX,[ECX + EAX*0x1 + 0x3]
MOV dword ptr [ESP],EAX
CALL 0x000132e0
PUSH EDI
MOV EDX,EAX
LEA EAX,[EBX + 0xffff4f0f]
PUSH EBP
PUSH EAX
MOV dword ptr [ESP + 0x24],EDX
PUSH EDX
CALL 0x000137a0
ADD ESP,0x14
PUSH EBP
CALL 0x00013948
MOV dword ptr [ESP],EDI
CALL 0x00013948
POP EAX
POP EDX
PUSH 0x0
MOV EDX,dword ptr [ESP + 0x18]
XOR ECX,ECX
MOV EAX,ESI
PUSH EDX
MOV EDI,dword ptr [ESP + 0x18]
MOV EDX,EDI
CALL 0x0002a7b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002b19e
SUB ESP,0xc
PUSH EDI
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_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\n}\n\n" comment (function_definition "int FUN_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\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 "bool bVar4;" primitive_type identifier ;) (expression_statement "iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x38) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0x10" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "__s = (char *)FUN_00029a00();" (assignment_expression "__s = (char *)FUN_00029a00()" identifier = (cast_expression "(char *)FUN_00029a00()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00()" identifier (argument_list "()" ( ))))) ;) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) (if_statement "if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }" { (expression_statement "bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;" (assignment_expression "bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0" identifier = (binary_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x38) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0x10" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) != number_literal)) ;) })) (expression_statement "__s_00 = (char *)FUN_00029a00();" (assignment_expression "__s_00 = (char *)FUN_00029a00()" identifier = (cast_expression "(char *)FUN_00029a00()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (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 "__s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);" (assignment_expression "__s_01 = (char *)xmalloc(sVar1 + 3 + sVar2)" identifier = (cast_expression "(char *)xmalloc(sVar1 + 3 + sVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar1 + 3 + sVar2)" identifier (argument_list "(sVar1 + 3 + sVar2)" ( (binary_expression "sVar1 + 3 + sVar2" (binary_expression "sVar1 + 3" 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(bVar4,0);" (assignment_expression "iVar3 = FUN_0002a7b0(bVar4,0)" identifier = (call_expression "FUN_0002a7b0(bVar4,0)" identifier (argument_list "(bVar4,0)" ( identifier , number_literal )))) ;) (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 ;) })))
(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_offset_type(void *p)\n\n{\n  stab_write_handle *info;\n  int iVar1;\n  char *__s;\n  char *__s_00;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_01;\n  bfd_boolean bVar4;\n  uint definition;\n  \n  info = (stab_write_handle *)((int)p + 0x38);\n  iVar1 = *(int *)(*(int *)((int)p + 0x38) + 0x10);\n  __s = stab_pop_type(info);\n  definition = 1;\n  if (iVar1 == 0) {\n    definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);\n  }\n  __s_00 = stab_pop_type(info);\n  sVar2 = strlen(__s);\n  sVar3 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar2 + 3 + sVar3);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  bVar4 = stab_push_string(info,__s_01,0,definition,0);\n  if (bVar4 != 0) {\n    free(__s_01);\n    bVar4 = 1;\n  }\n  return bVar4;\n}\n\n" comment comment (function_definition "bfd_boolean stab_offset_type(void *p)\n\n{\n  stab_write_handle *info;\n  int iVar1;\n  char *__s;\n  char *__s_00;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_01;\n  bfd_boolean bVar4;\n  uint definition;\n  \n  info = (stab_write_handle *)((int)p + 0x38);\n  iVar1 = *(int *)(*(int *)((int)p + 0x38) + 0x10);\n  __s = stab_pop_type(info);\n  definition = 1;\n  if (iVar1 == 0) {\n    definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);\n  }\n  __s_00 = stab_pop_type(info);\n  sVar2 = strlen(__s);\n  sVar3 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar2 + 3 + sVar3);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  bVar4 = stab_push_string(info,__s_01,0,definition,0);\n  if (bVar4 != 0) {\n    free(__s_01);\n    bVar4 = 1;\n  }\n  return bVar4;\n}" type_identifier (function_declarator "stab_offset_type(void *p)" identifier (parameter_list "(void *p)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  stab_write_handle *info;\n  int iVar1;\n  char *__s;\n  char *__s_00;\n  size_t sVar2;\n  size_t sVar3;\n  char *__s_01;\n  bfd_boolean bVar4;\n  uint definition;\n  \n  info = (stab_write_handle *)((int)p + 0x38);\n  iVar1 = *(int *)(*(int *)((int)p + 0x38) + 0x10);\n  __s = stab_pop_type(info);\n  definition = 1;\n  if (iVar1 == 0) {\n    definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);\n  }\n  __s_00 = stab_pop_type(info);\n  sVar2 = strlen(__s);\n  sVar3 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar2 + 3 + sVar3);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  bVar4 = stab_push_string(info,__s_01,0,definition,0);\n  if (bVar4 != 0) {\n    free(__s_01);\n    bVar4 = 1;\n  }\n  return bVar4;\n}" { (declaration "stab_write_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * 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 ;) (declaration "uint definition;" type_identifier identifier ;) (expression_statement "info = (stab_write_handle *)((int)p + 0x38);" (assignment_expression "info = (stab_write_handle *)((int)p + 0x38)" identifier = (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 "iVar1 = *(int *)(*(int *)((int)p + 0x38) + 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)((int)p + 0x38) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)((int)p + 0x38) + 0x10)" * (cast_expression "(int *)(*(int *)((int)p + 0x38) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)p + 0x38) + 0x10)" ( (binary_expression "*(int *)((int)p + 0x38) + 0x10" (pointer_expression "*(int *)((int)p + 0x38)" * (cast_expression "(int *)((int)p + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x38)" ( (binary_expression "(int)p + 0x38" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) ))))) ;) (expression_statement "__s = stab_pop_type(info);" (assignment_expression "__s = stab_pop_type(info)" identifier = (call_expression "stab_pop_type(info)" identifier (argument_list "(info)" ( identifier )))) ;) (expression_statement "definition = 1;" (assignment_expression "definition = 1" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n    definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);\n  }" { (expression_statement "definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);" (assignment_expression "definition = (uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0)" identifier = (call_expression "(uint)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0)" ( (binary_expression "*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0" (pointer_expression "*(int *)(*(int *)((int)p + 0x38) + 0x10)" * (cast_expression "(int *)(*(int *)((int)p + 0x38) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)p + 0x38) + 0x10)" ( (binary_expression "*(int *)((int)p + 0x38) + 0x10" (pointer_expression "*(int *)((int)p + 0x38)" * (cast_expression "(int *)((int)p + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x38)" ( (binary_expression "(int)p + 0x38" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) != number_literal) )))) ;) })) (expression_statement "__s_00 = stab_pop_type(info);" (assignment_expression "__s_00 = stab_pop_type(info)" identifier = (call_expression "stab_pop_type(info)" identifier (argument_list "(info)" ( identifier )))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(__s_00);" (assignment_expression "sVar3 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar2 + 3 + sVar3);" (assignment_expression "__s_01 = (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_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(info,__s_01,0,definition,0);" (assignment_expression "bVar4 = stab_push_string(info,__s_01,0,definition,0)" identifier = (call_expression "stab_push_string(info,__s_01,0,definition,0)" identifier (argument_list "(info,__s_01,0,definition,0)" ( identifier , identifier , number_literal , identifier , number_literal )))) ;) (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 ;) })))
(translation_unit "int FUN_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\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 "bool bVar4;" primitive_type identifier ;) (expression_statement "iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x38) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0x10" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "__s = (char *)FUN_00029a00();" (assignment_expression "__s = (char *)FUN_00029a00()" identifier = (cast_expression "(char *)FUN_00029a00()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00()" identifier (argument_list "()" ( ))))) ;) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) (if_statement "if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }" { (expression_statement "bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;" (assignment_expression "bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0" identifier = (binary_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x38) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0x10" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) != number_literal)) ;) })) (expression_statement "__s_00 = (char *)FUN_00029a00();" (assignment_expression "__s_00 = (char *)FUN_00029a00()" identifier = (cast_expression "(char *)FUN_00029a00()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029a00()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (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 "__s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);" (assignment_expression "__s_01 = (char *)xmalloc(sVar1 + 3 + sVar2)" identifier = (cast_expression "(char *)xmalloc(sVar1 + 3 + sVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar1 + 3 + sVar2)" identifier (argument_list "(sVar1 + 3 + sVar2)" ( (binary_expression "sVar1 + 3 + sVar2" (binary_expression "sVar1 + 3" 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(bVar4,0);" (assignment_expression "iVar3 = FUN_0002a7b0(bVar4,0)" identifier = (call_expression "FUN_0002a7b0(bVar4,0)" identifier (argument_list "(bVar4,0)" ( identifier , number_literal )))) ;) (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 ;) })))
(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 ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (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 , LIT )))) ;) (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 ;) })))
(function_definition "int FUN_0002b0d0(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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_0002b0d0(int param_1)" (identifier "FUN_0002b0d0") (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  bool bVar4;\n  \n  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);\n  __s = (char *)FUN_00029a00();\n  bVar4 = true;\n  if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }\n  __s_00 = (char *)FUN_00029a00();\n  sVar1 = strlen(__s);\n  sVar2 = strlen(__s_00);\n  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);\n  sprintf(__s_01,"@%s,%s",__s_00,__s);\n  free(__s_00);\n  free(__s);\n  iVar3 = FUN_0002a7b0(bVar4,0);\n  if (iVar3 != 0) {\n    free(__s_01);\n    iVar3 = 1;\n  }\n  return iVar3;\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 "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (expression_statement "iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x38) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + 0x10" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "__s = (char *)FUN_00029a00();" (assignment_expression "__s = (char *)FUN_00029a00()" (identifier "__s") (= "=") (cast_expression "(char *)FUN_00029a00()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00029a00()" (identifier "FUN_00029a00") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" (identifier "bVar4") (= "=") (true "true")) (; ";")) (if_statement "if (iVar3 == 0) {\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;\n  }" ({ "{") (expression_statement "bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;" (assignment_expression "bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0" (identifier "bVar4") (= "=") (binary_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x38) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x38) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + 0x10" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (expression_statement "__s_00 = (char *)FUN_00029a00();" (assignment_expression "__s_00 = (char *)FUN_00029a00()" (identifier "__s_00") (= "=") (cast_expression "(char *)FUN_00029a00()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00029a00()" (identifier "FUN_00029a00") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" (identifier "sVar1") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "sVar2 = strlen(__s_00);" (assignment_expression "sVar2 = strlen(__s_00)" (identifier "sVar2") (= "=") (call_expression "strlen(__s_00)" (identifier "strlen") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")")))) (; ";")) (expression_statement "__s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);" (assignment_expression "__s_01 = (char *)xmalloc(sVar1 + 3 + sVar2)" (identifier "__s_01") (= "=") (cast_expression "(char *)xmalloc(sVar1 + 3 + sVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar1 + 3 + sVar2)" (identifier "xmalloc") (argument_list "(sVar1 + 3 + sVar2)" (( "(") (binary_expression "sVar1 + 3 + sVar2" (binary_expression "sVar1 + 3" (identifier "sVar1") (+ "+") (number_literal "3")) (+ "+") (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(bVar4,0);" (assignment_expression "iVar3 = FUN_0002a7b0(bVar4,0)" (identifier "iVar3") (= "=") (call_expression "FUN_0002a7b0(bVar4,0)" (identifier "FUN_0002a7b0") (argument_list "(bVar4,0)" (( "(") (identifier "bVar4") (, ",") (number_literal "0") () ")")))) (; ";")) (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") (; ";")) (} "}")))

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

type_1 function_1(void *p)

{
  type_2 *info;
  int var_2;
  char *__s;
  char *__s_00;
  size_t var_5;
  size_t var_6;
  char *__s_01;
  type_1 var_10;
  type_3 definition;
  
  info = (type_2 *)((int)p + 0x38);
  var_2 = *(int *)(*(int *)((int)p + 0x38) + 0x10);
  __s = var_1(info);
  definition = 1;
  if (var_2 == 0) {
    definition = (type_3)(*(int *)(*(int *)((int)p + 0x38) + 0x10) != 0);
  }
  __s_00 = var_1(info);
  var_5 = var_3(__s);
  var_6 = var_3(__s_00);
  __s_01 = (char *)var_4(var_5 + 3 + var_6);
  var_7(__s_01,"@%s,%s",__s_00,__s);
  var_8(__s_00);
  var_8(__s);
  var_10 = var_9(info,__s_01,0,definition,0);
  if (var_10 != 0) {
    var_8(__s_01);
    var_10 = 1;
  }
  return var_10;
}


(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: (primitive_type) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (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))))) (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) (number_literal))))) (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)))))

/* 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;
  bool bVar4;
  
  iVar3 = *(int *)(*(int *)(param_1 + 0x38) + 0x10);
  __s = (char *)FUN_00029a00();
  bVar4 = true;
  if (iVar3 == 0) {
    bVar4 = *(int *)(*(int *)(param_1 + 0x38) + 0x10) != 0;
  }
  __s_00 = (char *)FUN_00029a00();
  sVar1 = strlen(__s);
  sVar2 = strlen(__s_00);
  __s_01 = (char *)xmalloc(sVar1 + 3 + sVar2);
  sprintf(__s_01,"@%s,%s",__s_00,__s);
  free(__s_00);
  free(__s);
  iVar3 = FUN_0002a7b0(bVar4,0);
  if (iVar3 != 0) {
    free(__s_01);
    iVar3 = 1;
  }
  return iVar3;
}

