
bfd_boolean tg_variable(void *p,char *name,debug_var_kind kind,bfd_vma val)

{
  char *__ptr;
  char *__haystack;
  char *pcVar1;
  pr_handle *info;
  
  __ptr = pop_type((pr_handle *)((long)p + 0x10));
  if (__ptr == (char *)0x0) {
    return 0;
  }
  if (*(code **)((long)p + 0x38) != (code *)0x0) {
    __haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);
    if (__haystack != (char *)0x0) {
      pcVar1 = strstr(__haystack,"::");
      if (pcVar1 == (char *)0x0) {
                    /* WARNING: Load size is inaccurate */
        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)
        ;
        if (DEBUG_GLOBAL < kind) {
          if (kind < DEBUG_LOCAL) {
                    /* WARNING: Load size is inaccurate */
            fwrite("\tfile:",1,6,*p);
          }
          else if (kind == DEBUG_REGISTER) {
                    /* WARNING: Load size is inaccurate */
            fwrite("\tregister:",1,10,*p);
          }
        }
      }
      else {
        *pcVar1 = '\0';
                    /* WARNING: Load size is inaccurate */
        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)
        ;
        if (DEBUG_GLOBAL < kind) {
          if (kind < DEBUG_LOCAL) {
                    /* WARNING: Load size is inaccurate */
            fwrite("\tfile:",1,6,*p);
          }
          else if (kind == DEBUG_REGISTER) {
                    /* WARNING: Load size is inaccurate */
            fwrite("\tregister:",1,10,*p);
          }
        }
                    /* WARNING: Load size is inaccurate */
        fprintf(*p,"\tclass:%s",__haystack);
      }
      free(__haystack);
      goto LAB_00126b82;
    }
  }
                    /* WARNING: Load size is inaccurate */
  fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr);
  if (DEBUG_GLOBAL < kind) {
    if (kind < DEBUG_LOCAL) {
                    /* WARNING: Load size is inaccurate */
      fwrite("\tfile:",1,6,*p);
    }
    else if (kind == DEBUG_REGISTER) {
                    /* WARNING: Load size is inaccurate */
      fwrite("\tregister:",1,10,*p);
    }
  }
LAB_00126b82:
                    /* WARNING: Load size is inaccurate */
  fputc(10,*p);
  free(__ptr);
  return 1;
}



undefined8 FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)

{
  void *__ptr;
  char *__haystack;
  char *pcVar1;
  
  __ptr = (void *)FUN_00126930(param_1 + 2);
  if (__ptr == (void *)0x0) {
    return 0;
  }
  if ((code *)param_1[7] != (code *)0x0) {
    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);
    if (__haystack != (char *)0x0) {
      pcVar1 = strstr(__haystack,"::");
      if (pcVar1 == (char *)0x0) {
        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);
        if (1 < param_3) {
          if (param_3 < 4) {
            fwrite("\tfile:",1,6,(FILE *)*param_1);
          }
          else if (param_3 == 5) {
            fwrite("\tregister:",1,10,(FILE *)*param_1);
          }
        }
      }
      else {
        *pcVar1 = '\0';
        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);
        if (1 < param_3) {
          if (param_3 < 4) {
            fwrite("\tfile:",1,6,(FILE *)*param_1);
          }
          else if (param_3 == 5) {
            fwrite("\tregister:",1,10,(FILE *)*param_1);
          }
        }
        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);
      }
      free(__haystack);
      goto LAB_00126b82;
    }
  }
  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);
  if (1 < param_3) {
    if (param_3 < 4) {
      fwrite("\tfile:",1,6,(FILE *)*param_1);
    }
    else if (param_3 == 5) {
      fwrite("\tregister:",1,10,(FILE *)*param_1);
    }
  }
LAB_00126b82:
  fputc(10,(FILE *)*param_1);
  free(__ptr);
  return 1;
}


PUSH R14
MOV R14,RSI
PUSH R13
PUSH R12
MOV R12D,EDX
PUSH RBP
PUSH RBX
MOV RBX,RDI
ADD RDI,0x10
CALL 0x00126930
TEST RAX,RAX
JZ 0x00126bd0
MOV RBP,RAX
MOV RAX,qword ptr [RBX + 0x38]
TEST RAX,RAX
JZ 0x00126b38
MOV RDI,qword ptr [RBX + 0x28]
MOV EDX,0x3
MOV RSI,R14
CALL RAX
MOV R13,RAX
TEST RAX,RAX
JZ 0x00126b38
LEA RSI,[0x1457b2]
MOV RDI,RAX
CALL 0x00107840
TEST RAX,RAX
JZ 0x00126c00
MOV byte ptr [RAX],0x0
MOV RCX,qword ptr [RBX + 0x20]
LEA RDX,[RAX + 0x2]
MOV R8,RBP
MOV RDI,qword ptr [RBX]
XOR EAX,EAX
LEA RSI,[0x1457b5]
CALL 0x00107850
CMP R12D,0x2
JC 0x00126b13
CMP R12D,0x3
JBE 0x00126ba8
CMP R12D,0x5
JNZ 0x00126b13
MOV RCX,qword ptr [RBX]
MOV EDX,0xa
MOV ESI,0x1
LEA RDI,[0x1457d5]
CALL 0x00107780
MOV RDI,qword ptr [RBX]
MOV RDX,R13
LEA RSI,[0x1457e0]
XOR EAX,EAX
CALL 0x00107850
MOV RDI,R13
CALL 0x00107070
JMP 0x00126b82
MOV RCX,qword ptr [RBX + 0x20]
MOV RDI,qword ptr [RBX]
XOR EAX,EAX
MOV R8,RBP
MOV RDX,R14
LEA RSI,[0x1457b5]
CALL 0x00107850
CMP R12D,0x2
JC 0x00126b82
CMP R12D,0x3
JBE 0x00126be0
CMP R12D,0x5
JNZ 0x00126b82
MOV RCX,qword ptr [RBX]
MOV EDX,0xa
MOV ESI,0x1
LEA RDI,[0x1457d5]
CALL 0x00107780
MOV RSI,qword ptr [RBX]
MOV EDI,0xa
CALL 0x001073b0
MOV RDI,RBP
CALL 0x00107070
POP RBX
MOV EAX,0x1
POP RBP
POP R12
POP R13
POP R14
RET
MOV RCX,qword ptr [RBX]
MOV EDX,0x6
MOV ESI,0x1
LEA RDI,[0x1457ce]
CALL 0x00107780
JMP 0x00126b13
POP RBX
XOR EAX,EAX
POP RBP
POP R12
POP R13
POP R14
RET
MOV RCX,qword ptr [RBX]
MOV EDX,0x6
MOV ESI,0x1
LEA RDI,[0x1457ce]
CALL 0x00107780
JMP 0x00126b82
MOV RCX,qword ptr [RBX + 0x20]
MOV RDI,qword ptr [RBX]
XOR EAX,EAX
MOV R8,RBP
MOV RDX,R13
LEA RSI,[0x1457b5]
CALL 0x00107850
CMP R12D,0x2
JC 0x00126b27
CMP R12D,0x3
JBE 0x00126c58
CMP R12D,0x5
JNZ 0x00126b27
MOV RCX,qword ptr [RBX]
MOV EDX,0xa
MOV ESI,0x1
LEA RDI,[0x1457d5]
CALL 0x00107780
JMP 0x00126b27
MOV RCX,qword ptr [RBX]
MOV EDX,0x6
MOV ESI,0x1
LEA RDI,[0x1457ce]
CALL 0x00107780
JMP 0x00126b27
(translation_unit "undefined8 FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)\n\n{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)\n\n{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}" type_identifier (function_declarator "FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,uint param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *__haystack;" primitive_type (pointer_declarator "*__haystack" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "__ptr = (void *)FUN_00126930(param_1 + 2);" (assignment_expression "__ptr = (void *)FUN_00126930(param_1 + 2)" identifier = (cast_expression "(void *)FUN_00126930(param_1 + 2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00126930(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if (__ptr == (void *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" if (parenthesized_expression "((code *)param_1[7] != (code *)0x0)" ( (binary_expression "(code *)param_1[7] != (code *)0x0" (cast_expression "(code *)param_1[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" { (expression_statement "__haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);" (assignment_expression "__haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3)" identifier = (cast_expression "(char *)(*(code *)param_1[7])(param_1[5],param_2,3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)param_1[7])(param_1[5],param_2,3)" (parenthesized_expression "(*(code *)param_1[7])" ( (pointer_expression "*(code *)param_1[7]" * (cast_expression "(code *)param_1[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) )) (argument_list "(param_1[5],param_2,3)" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) , identifier , number_literal ))))) ;) (if_statement "if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" if (parenthesized_expression "(__haystack != (char *)0x0)" ( (binary_expression "__haystack != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" { (expression_statement "pcVar1 = strstr(__haystack,"::");" (assignment_expression "pcVar1 = strstr(__haystack,"::")" identifier = (call_expression "strstr(__haystack,"::")" identifier (argument_list "(__haystack,"::")" ( identifier , (string_literal ""::"" " string_content ") )))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }" { (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" if (parenthesized_expression "(1 < param_3)" ( (binary_expression "1 < param_3" number_literal < identifier) )) (compound_statement "{\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" { (if_statement "if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" identifier (argument_list "("\tfile:",1,6,(FILE *)*param_1)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) (else_clause "else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" else (if_statement "if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 == 5)" ( (binary_expression "param_3 == 5" identifier == number_literal) )) (compound_statement "{\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" identifier (argument_list "("\tregister:",1,10,(FILE *)*param_1)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })))) })) }) (else_clause "else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" else (compound_statement "{\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" { (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , (binary_expression "pcVar1 + 2" identifier + number_literal) , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" if (parenthesized_expression "(1 < param_3)" ( (binary_expression "1 < param_3" number_literal < identifier) )) (compound_statement "{\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" { (if_statement "if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" identifier (argument_list "("\tfile:",1,6,(FILE *)*param_1)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) (else_clause "else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" else (if_statement "if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 == 5)" ( (binary_expression "param_3 == 5" identifier == number_literal) )) (compound_statement "{\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" identifier (argument_list "("\tregister:",1,10,(FILE *)*param_1)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })))) })) (expression_statement "fprintf((FILE *)*param_1,"\tclass:%s",__haystack);" (call_expression "fprintf((FILE *)*param_1,"\tclass:%s",__haystack)" identifier (argument_list "((FILE *)*param_1,"\tclass:%s",__haystack)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""\tclass:%s"" " escape_sequence string_content ") , identifier ))) ;) }))) (expression_statement "free(__haystack);" (call_expression "free(__haystack)" identifier (argument_list "(__haystack)" ( identifier ))) ;) (goto_statement "goto LAB_00126b82;" goto statement_identifier ;) })) })) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }" if (parenthesized_expression "(1 < param_3)" ( (binary_expression "1 < param_3" number_literal < identifier) )) (compound_statement "{\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }" { (if_statement "if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }" { (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" identifier (argument_list "("\tfile:",1,6,(FILE *)*param_1)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) (else_clause "else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" else (if_statement "if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" if (parenthesized_expression "(param_3 == 5)" ( (binary_expression "param_3 == 5" identifier == number_literal) )) (compound_statement "{\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" { (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" identifier (argument_list "("\tregister:",1,10,(FILE *)*param_1)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })))) })) (labeled_statement "LAB_00126b82:\n  fputc(10,(FILE *)*param_1);" statement_identifier : (expression_statement "fputc(10,(FILE *)*param_1);" (call_expression "fputc(10,(FILE *)*param_1)" identifier (argument_list "(10,(FILE *)*param_1)" ( number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "bfd_boolean tg_variable(void *p,char *name,debug_var_kind kind,bfd_vma val)\n\n{\n  char *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  pr_handle *info;\n  \n  __ptr = pop_type((pr_handle *)((long)p + 0x10));\n  if (__ptr == (char *)0x0) {\n    return 0;\n  }\n  if (*(code **)((long)p + 0x38) != (code *)0x0) {\n    __haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n                    /* WARNING: Load size is inaccurate */\n  fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr);\n  if (DEBUG_GLOBAL < kind) {\n    if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }\n    else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }\n  }\nLAB_00126b82:\n                    /* WARNING: Load size is inaccurate */\n  fputc(10,*p);\n  free(__ptr);\n  return 1;\n}\n\n" (function_definition "bfd_boolean tg_variable(void *p,char *name,debug_var_kind kind,bfd_vma val)\n\n{\n  char *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  pr_handle *info;\n  \n  __ptr = pop_type((pr_handle *)((long)p + 0x10));\n  if (__ptr == (char *)0x0) {\n    return 0;\n  }\n  if (*(code **)((long)p + 0x38) != (code *)0x0) {\n    __haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n                    /* WARNING: Load size is inaccurate */\n  fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr);\n  if (DEBUG_GLOBAL < kind) {\n    if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }\n    else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }\n  }\nLAB_00126b82:\n                    /* WARNING: Load size is inaccurate */\n  fputc(10,*p);\n  free(__ptr);\n  return 1;\n}" type_identifier (function_declarator "tg_variable(void *p,char *name,debug_var_kind kind,bfd_vma val)" identifier (parameter_list "(void *p,char *name,debug_var_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_var_kind kind" type_identifier identifier) , (parameter_declaration "bfd_vma val" type_identifier identifier) ))) (compound_statement "{\n  char *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  pr_handle *info;\n  \n  __ptr = pop_type((pr_handle *)((long)p + 0x10));\n  if (__ptr == (char *)0x0) {\n    return 0;\n  }\n  if (*(code **)((long)p + 0x38) != (code *)0x0) {\n    __haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n                    /* WARNING: Load size is inaccurate */\n  fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr);\n  if (DEBUG_GLOBAL < kind) {\n    if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }\n    else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }\n  }\nLAB_00126b82:\n                    /* WARNING: Load size is inaccurate */\n  fputc(10,*p);\n  free(__ptr);\n  return 1;\n}" { (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *__haystack;" primitive_type (pointer_declarator "*__haystack" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (expression_statement "__ptr = pop_type((pr_handle *)((long)p + 0x10));" (assignment_expression "__ptr = pop_type((pr_handle *)((long)p + 0x10))" identifier = (call_expression "pop_type((pr_handle *)((long)p + 0x10))" identifier (argument_list "((pr_handle *)((long)p + 0x10))" ( (cast_expression "(pr_handle *)((long)p + 0x10)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))) )))) ;) (if_statement "if (__ptr == (char *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(__ptr == (char *)0x0)" ( (binary_expression "__ptr == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(code **)((long)p + 0x38) != (code *)0x0) {\n    __haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" if (parenthesized_expression "(*(code **)((long)p + 0x38) != (code *)0x0)" ( (binary_expression "*(code **)((long)p + 0x38) != (code *)0x0" (pointer_expression "*(code **)((long)p + 0x38)" * (cast_expression "(code **)((long)p + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)p + 0x38)" ( (binary_expression "(long)p + 0x38" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" { (expression_statement "__haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3);" (assignment_expression "__haystack = (char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3)" identifier = (cast_expression "(char *)(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)((long)p + 0x38))(*(undefined8 *)((long)p + 0x28),name,3)" (parenthesized_expression "(**(code **)((long)p + 0x38))" ( (pointer_expression "**(code **)((long)p + 0x38)" * (pointer_expression "*(code **)((long)p + 0x38)" * (cast_expression "(code **)((long)p + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)p + 0x38)" ( (binary_expression "(long)p + 0x38" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) )) (argument_list "(*(undefined8 *)((long)p + 0x28),name,3)" ( (pointer_expression "*(undefined8 *)((long)p + 0x28)" * (cast_expression "(undefined8 *)((long)p + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x28)" ( (binary_expression "(long)p + 0x28" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier , number_literal ))))) ;) (if_statement "if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" if (parenthesized_expression "(__haystack != (char *)0x0)" ( (binary_expression "__haystack != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" { (expression_statement "pcVar1 = strstr(__haystack,"::");" (assignment_expression "pcVar1 = strstr(__haystack,"::")" identifier = (call_expression "strstr(__haystack,"::")" identifier (argument_list "(__haystack,"::")" ( identifier , (string_literal ""::"" " string_content ") )))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n      }" { comment (expression_statement "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;" (call_expression "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)" identifier (argument_list "(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,*(undefined8 *)((long)p + 0x20),__ptr)" ( (pointer_expression "*p" * identifier) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , identifier , (pointer_expression "*(undefined8 *)((long)p + 0x20)" * (cast_expression "(undefined8 *)((long)p + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x20)" ( (binary_expression "(long)p + 0x20" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier ))) ;) (if_statement "if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }" if (parenthesized_expression "(DEBUG_GLOBAL < kind)" ( (binary_expression "DEBUG_GLOBAL < kind" identifier < identifier) )) (compound_statement "{\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }" { (if_statement "if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" if (parenthesized_expression "(kind < DEBUG_LOCAL)" ( (binary_expression "kind < DEBUG_LOCAL" identifier < identifier) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }" { comment (expression_statement "fwrite("\tfile:",1,6,*p);" (call_expression "fwrite("\tfile:",1,6,*p)" identifier (argument_list "("\tfile:",1,6,*p)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*p" * identifier) ))) ;) }) (else_clause "else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" else (if_statement "if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" if (parenthesized_expression "(kind == DEBUG_REGISTER)" ( (binary_expression "kind == DEBUG_REGISTER" identifier == identifier) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" { comment (expression_statement "fwrite("\tregister:",1,10,*p);" (call_expression "fwrite("\tregister:",1,10,*p)" identifier (argument_list "("\tregister:",1,10,*p)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*p" * identifier) ))) ;) })))) })) }) (else_clause "else {\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }" else (compound_statement "{\n        *pcVar1 = '\0';\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;\n        if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }\n                    /* WARNING: Load size is inaccurate */\n        fprintf(*p,"\tclass:%s",__haystack);\n      }" { (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) comment (expression_statement "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)\n        ;" (call_expression "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)" identifier (argument_list "(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,*(undefined8 *)((long)p + 0x20),__ptr)" ( (pointer_expression "*p" * identifier) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , (binary_expression "pcVar1 + 2" identifier + number_literal) , (pointer_expression "*(undefined8 *)((long)p + 0x20)" * (cast_expression "(undefined8 *)((long)p + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x20)" ( (binary_expression "(long)p + 0x20" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier ))) ;) (if_statement "if (DEBUG_GLOBAL < kind) {\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }" if (parenthesized_expression "(DEBUG_GLOBAL < kind)" ( (binary_expression "DEBUG_GLOBAL < kind" identifier < identifier) )) (compound_statement "{\n          if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }\n        }" { (if_statement "if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }\n          else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" if (parenthesized_expression "(kind < DEBUG_LOCAL)" ( (binary_expression "kind < DEBUG_LOCAL" identifier < identifier) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tfile:",1,6,*p);\n          }" { comment (expression_statement "fwrite("\tfile:",1,6,*p);" (call_expression "fwrite("\tfile:",1,6,*p)" identifier (argument_list "("\tfile:",1,6,*p)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*p" * identifier) ))) ;) }) (else_clause "else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" else (if_statement "if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" if (parenthesized_expression "(kind == DEBUG_REGISTER)" ( (binary_expression "kind == DEBUG_REGISTER" identifier == identifier) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n            fwrite("\tregister:",1,10,*p);\n          }" { comment (expression_statement "fwrite("\tregister:",1,10,*p);" (call_expression "fwrite("\tregister:",1,10,*p)" identifier (argument_list "("\tregister:",1,10,*p)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*p" * identifier) ))) ;) })))) })) comment (expression_statement "fprintf(*p,"\tclass:%s",__haystack);" (call_expression "fprintf(*p,"\tclass:%s",__haystack)" identifier (argument_list "(*p,"\tclass:%s",__haystack)" ( (pointer_expression "*p" * identifier) , (string_literal ""\tclass:%s"" " escape_sequence string_content ") , identifier ))) ;) }))) (expression_statement "free(__haystack);" (call_expression "free(__haystack)" identifier (argument_list "(__haystack)" ( identifier ))) ;) (goto_statement "goto LAB_00126b82;" goto statement_identifier ;) })) })) comment (expression_statement "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr);" (call_expression "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr)" identifier (argument_list "(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(undefined8 *)((long)p + 0x20),__ptr)" ( (pointer_expression "*p" * identifier) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , identifier , (pointer_expression "*(undefined8 *)((long)p + 0x20)" * (cast_expression "(undefined8 *)((long)p + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x20)" ( (binary_expression "(long)p + 0x20" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier ))) ;) (if_statement "if (DEBUG_GLOBAL < kind) {\n    if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }\n    else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }\n  }" if (parenthesized_expression "(DEBUG_GLOBAL < kind)" ( (binary_expression "DEBUG_GLOBAL < kind" identifier < identifier) )) (compound_statement "{\n    if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }\n    else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }\n  }" { (if_statement "if (kind < DEBUG_LOCAL) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }\n    else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }" if (parenthesized_expression "(kind < DEBUG_LOCAL)" ( (binary_expression "kind < DEBUG_LOCAL" identifier < identifier) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tfile:",1,6,*p);\n    }" { comment (expression_statement "fwrite("\tfile:",1,6,*p);" (call_expression "fwrite("\tfile:",1,6,*p)" identifier (argument_list "("\tfile:",1,6,*p)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*p" * identifier) ))) ;) }) (else_clause "else if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }" else (if_statement "if (kind == DEBUG_REGISTER) {\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }" if (parenthesized_expression "(kind == DEBUG_REGISTER)" ( (binary_expression "kind == DEBUG_REGISTER" identifier == identifier) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n      fwrite("\tregister:",1,10,*p);\n    }" { comment (expression_statement "fwrite("\tregister:",1,10,*p);" (call_expression "fwrite("\tregister:",1,10,*p)" identifier (argument_list "("\tregister:",1,10,*p)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*p" * identifier) ))) ;) })))) })) (labeled_statement "LAB_00126b82:\n                    /* WARNING: Load size is inaccurate */\n  fputc(10,*p);" statement_identifier : comment (expression_statement "fputc(10,*p);" (call_expression "fputc(10,*p)" identifier (argument_list "(10,*p)" ( number_literal , (pointer_expression "*p" * identifier) ))) ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)\n\n{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)\n\n{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}" type_identifier (function_declarator "FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,uint param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *__haystack;" primitive_type (pointer_declarator "*__haystack" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "__ptr = (void *)FUN_00126930(param_1 + 2);" (assignment_expression "__ptr = (void *)FUN_00126930(param_1 + 2)" identifier = (cast_expression "(void *)FUN_00126930(param_1 + 2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00126930(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if (__ptr == (void *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" if (parenthesized_expression "((code *)param_1[7] != (code *)0x0)" ( (binary_expression "(code *)param_1[7] != (code *)0x0" (cast_expression "(code *)param_1[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" { (expression_statement "__haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);" (assignment_expression "__haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3)" identifier = (cast_expression "(char *)(*(code *)param_1[7])(param_1[5],param_2,3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)param_1[7])(param_1[5],param_2,3)" (parenthesized_expression "(*(code *)param_1[7])" ( (pointer_expression "*(code *)param_1[7]" * (cast_expression "(code *)param_1[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) )) (argument_list "(param_1[5],param_2,3)" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) , identifier , number_literal ))))) ;) (if_statement "if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" if (parenthesized_expression "(__haystack != (char *)0x0)" ( (binary_expression "__haystack != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" { (expression_statement "pcVar1 = strstr(__haystack,"::");" (assignment_expression "pcVar1 = strstr(__haystack,"::")" identifier = (call_expression "strstr(__haystack,"::")" identifier (argument_list "(__haystack,"::")" ( identifier , (string_literal ""::"" " string_content ") )))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }" { (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" if (parenthesized_expression "(1 < param_3)" ( (binary_expression "1 < param_3" number_literal < identifier) )) (compound_statement "{\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" { (if_statement "if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" identifier (argument_list "("\tfile:",1,6,(FILE *)*param_1)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) (else_clause "else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" else (if_statement "if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 == 5)" ( (binary_expression "param_3 == 5" identifier == number_literal) )) (compound_statement "{\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" identifier (argument_list "("\tregister:",1,10,(FILE *)*param_1)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })))) })) }) (else_clause "else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" else (compound_statement "{\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" { (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , (binary_expression "pcVar1 + 2" identifier + number_literal) , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" if (parenthesized_expression "(1 < param_3)" ( (binary_expression "1 < param_3" number_literal < identifier) )) (compound_statement "{\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" { (if_statement "if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" identifier (argument_list "("\tfile:",1,6,(FILE *)*param_1)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) (else_clause "else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" else (if_statement "if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" if (parenthesized_expression "(param_3 == 5)" ( (binary_expression "param_3 == 5" identifier == number_literal) )) (compound_statement "{\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" { (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" identifier (argument_list "("\tregister:",1,10,(FILE *)*param_1)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })))) })) (expression_statement "fprintf((FILE *)*param_1,"\tclass:%s",__haystack);" (call_expression "fprintf((FILE *)*param_1,"\tclass:%s",__haystack)" identifier (argument_list "((FILE *)*param_1,"\tclass:%s",__haystack)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""\tclass:%s"" " escape_sequence string_content ") , identifier ))) ;) }))) (expression_statement "free(__haystack);" (call_expression "free(__haystack)" identifier (argument_list "(__haystack)" ( identifier ))) ;) (goto_statement "goto LAB_00126b82;" goto statement_identifier ;) })) })) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }" if (parenthesized_expression "(1 < param_3)" ( (binary_expression "1 < param_3" number_literal < identifier) )) (compound_statement "{\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }" { (if_statement "if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" if (parenthesized_expression "(param_3 < 4)" ( (binary_expression "param_3 < 4" identifier < number_literal) )) (compound_statement "{\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }" { (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" identifier (argument_list "("\tfile:",1,6,(FILE *)*param_1)" ( (string_literal ""\tfile:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) (else_clause "else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" else (if_statement "if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" if (parenthesized_expression "(param_3 == 5)" ( (binary_expression "param_3 == 5" identifier == number_literal) )) (compound_statement "{\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" { (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" identifier (argument_list "("\tregister:",1,10,(FILE *)*param_1)" ( (string_literal ""\tregister:"" " escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })))) })) (labeled_statement "LAB_00126b82:\n  fputc(10,(FILE *)*param_1);" statement_identifier : (expression_statement "fputc(10,(FILE *)*param_1);" (call_expression "fputc(10,(FILE *)*param_1)" identifier (argument_list "(10,(FILE *)*param_1)" ( number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , IDENT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })))) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })))) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (string_literal " escape_sequence string_content ") , IDENT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content ") , IDENT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })))) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)\n\n{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_00126a60(undefined8 *param_1,undefined8 param_2,uint param_3)" (identifier "FUN_00126a60") (parameter_list "(undefined8 *param_1,undefined8 param_2,uint param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  void *__ptr;\n  char *__haystack;\n  char *pcVar1;\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr == (void *)0x0) {\n    return 0;\n  }\n  if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }\n  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);\n  if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }\nLAB_00126b82:\n  fputc(10,(FILE *)*param_1);\n  free(__ptr);\n  return 1;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "char *__haystack;" (primitive_type "char") (pointer_declarator "*__haystack" (* "*") (identifier "__haystack")) (; ";")) (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "__ptr = (void *)FUN_00126930(param_1 + 2);" (assignment_expression "__ptr = (void *)FUN_00126930(param_1 + 2)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00126930(param_1 + 2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00126930(param_1 + 2)" (identifier "FUN_00126930") (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (__ptr == (void *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(__ptr == (void *)0x0)" (( "(") (binary_expression "__ptr == (void *)0x0" (identifier "__ptr") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((code *)param_1[7] != (code *)0x0) {\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" (if "if") (parenthesized_expression "((code *)param_1[7] != (code *)0x0)" (( "(") (binary_expression "(code *)param_1[7] != (code *)0x0" (cast_expression "(code *)param_1[7]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);\n    if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }\n  }" ({ "{") (expression_statement "__haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);" (assignment_expression "__haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3)" (identifier "__haystack") (= "=") (cast_expression "(char *)(*(code *)param_1[7])(param_1[5],param_2,3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)param_1[7])(param_1[5],param_2,3)" (parenthesized_expression "(*(code *)param_1[7])" (( "(") (pointer_expression "*(code *)param_1[7]" (* "*") (cast_expression "(code *)param_1[7]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) () ")")) (argument_list "(param_1[5],param_2,3)" (( "(") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (, ",") (identifier "param_2") (, ",") (number_literal "3") () ")"))))) (; ";")) (if_statement "if (__haystack != (char *)0x0) {\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" (if "if") (parenthesized_expression "(__haystack != (char *)0x0)" (( "(") (binary_expression "__haystack != (char *)0x0" (identifier "__haystack") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      pcVar1 = strstr(__haystack,"::");\n      if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }\n      free(__haystack);\n      goto LAB_00126b82;\n    }" ({ "{") (expression_statement "pcVar1 = strstr(__haystack,"::");" (assignment_expression "pcVar1 = strstr(__haystack,"::")" (identifier "pcVar1") (= "=") (call_expression "strstr(__haystack,"::")" (identifier "strstr") (argument_list "(__haystack,"::")" (( "(") (identifier "__haystack") (, ",") (string_literal ""::"" (" """) (string_content "::") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar1 == (char *)0x0) {\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }\n      else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" (if "if") (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n      }" ({ "{") (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr)" (identifier "fprintf") (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr)" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" (" """) (string_content "%s") (escape_sequence "\t") (string_content "%s") (escape_sequence "\t") (string_content "0;") (escape_sequence "\"") (escape_sequence "\t") (string_content "kind:v") (escape_sequence "\t") (string_content "type:%s") (" """)) (, ",") (identifier "__haystack") (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" (if "if") (parenthesized_expression "(1 < param_3)" (( "(") (binary_expression "1 < param_3" (number_literal "1") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" ({ "{") (if_statement "if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" (if "if") (parenthesized_expression "(param_3 < 4)" (( "(") (binary_expression "param_3 < 4" (identifier "param_3") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }" ({ "{") (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" (identifier "fwrite") (argument_list "("\tfile:",1,6,(FILE *)*param_1)" (( "(") (string_literal ""\tfile:"" (" """) (escape_sequence "\t") (string_content "file:") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}")) (else_clause "else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" (else "else") (if_statement "if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" (if "if") (parenthesized_expression "(param_3 == 5)" (( "(") (binary_expression "param_3 == 5" (identifier "param_3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" ({ "{") (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" (identifier "fwrite") (argument_list "("\tregister:",1,10,(FILE *)*param_1)" (( "(") (string_literal ""\tregister:"" (" """) (escape_sequence "\t") (string_content "register:") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "10") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))))) (} "}"))) (} "}")) (else_clause "else {\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" (else "else") (compound_statement "{\n        *pcVar1 = '\0';\n        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);\n        if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }\n        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);\n      }" ({ "{") (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr)" (identifier "fprintf") (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr)" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" (" """) (string_content "%s") (escape_sequence "\t") (string_content "%s") (escape_sequence "\t") (string_content "0;") (escape_sequence "\"") (escape_sequence "\t") (string_content "kind:v") (escape_sequence "\t") (string_content "type:%s") (" """)) (, ",") (binary_expression "pcVar1 + 2" (identifier "pcVar1") (+ "+") (number_literal "2")) (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if (1 < param_3) {\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" (if "if") (parenthesized_expression "(1 < param_3)" (( "(") (binary_expression "1 < param_3" (number_literal "1") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n          if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }\n        }" ({ "{") (if_statement "if (param_3 < 4) {\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }\n          else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" (if "if") (parenthesized_expression "(param_3 < 4)" (( "(") (binary_expression "param_3 < 4" (identifier "param_3") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n            fwrite("\tfile:",1,6,(FILE *)*param_1);\n          }" ({ "{") (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" (identifier "fwrite") (argument_list "("\tfile:",1,6,(FILE *)*param_1)" (( "(") (string_literal ""\tfile:"" (" """) (escape_sequence "\t") (string_content "file:") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}")) (else_clause "else if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" (else "else") (if_statement "if (param_3 == 5) {\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" (if "if") (parenthesized_expression "(param_3 == 5)" (( "(") (binary_expression "param_3 == 5" (identifier "param_3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n            fwrite("\tregister:",1,10,(FILE *)*param_1);\n          }" ({ "{") (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" (identifier "fwrite") (argument_list "("\tregister:",1,10,(FILE *)*param_1)" (( "(") (string_literal ""\tregister:"" (" """) (escape_sequence "\t") (string_content "register:") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "10") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))))) (} "}"))) (expression_statement "fprintf((FILE *)*param_1,"\tclass:%s",__haystack);" (call_expression "fprintf((FILE *)*param_1,"\tclass:%s",__haystack)" (identifier "fprintf") (argument_list "((FILE *)*param_1,"\tclass:%s",__haystack)" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (string_literal ""\tclass:%s"" (" """) (escape_sequence "\t") (string_content "class:%s") (" """)) (, ",") (identifier "__haystack") () ")"))) (; ";")) (} "}")))) (expression_statement "free(__haystack);" (call_expression "free(__haystack)" (identifier "free") (argument_list "(__haystack)" (( "(") (identifier "__haystack") () ")"))) (; ";")) (goto_statement "goto LAB_00126b82;" (goto "goto") (statement_identifier "LAB_00126b82") (; ";")) (} "}"))) (} "}"))) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr)" (identifier "fprintf") (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr)" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:%s"" (" """) (string_content "%s") (escape_sequence "\t") (string_content "%s") (escape_sequence "\t") (string_content "0;") (escape_sequence "\"") (escape_sequence "\t") (string_content "kind:v") (escape_sequence "\t") (string_content "type:%s") (" """)) (, ",") (identifier "param_2") (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if (1 < param_3) {\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }" (if "if") (parenthesized_expression "(1 < param_3)" (( "(") (binary_expression "1 < param_3" (number_literal "1") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }\n  }" ({ "{") (if_statement "if (param_3 < 4) {\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }\n    else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" (if "if") (parenthesized_expression "(param_3 < 4)" (( "(") (binary_expression "param_3 < 4" (identifier "param_3") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n      fwrite("\tfile:",1,6,(FILE *)*param_1);\n    }" ({ "{") (expression_statement "fwrite("\tfile:",1,6,(FILE *)*param_1);" (call_expression "fwrite("\tfile:",1,6,(FILE *)*param_1)" (identifier "fwrite") (argument_list "("\tfile:",1,6,(FILE *)*param_1)" (( "(") (string_literal ""\tfile:"" (" """) (escape_sequence "\t") (string_content "file:") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}")) (else_clause "else if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" (else "else") (if_statement "if (param_3 == 5) {\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" (if "if") (parenthesized_expression "(param_3 == 5)" (( "(") (binary_expression "param_3 == 5" (identifier "param_3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n      fwrite("\tregister:",1,10,(FILE *)*param_1);\n    }" ({ "{") (expression_statement "fwrite("\tregister:",1,10,(FILE *)*param_1);" (call_expression "fwrite("\tregister:",1,10,(FILE *)*param_1)" (identifier "fwrite") (argument_list "("\tregister:",1,10,(FILE *)*param_1)" (( "(") (string_literal ""\tregister:"" (" """) (escape_sequence "\t") (string_content "register:") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "10") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))))) (} "}"))) (labeled_statement "LAB_00126b82:\n  fputc(10,(FILE *)*param_1);" (statement_identifier "LAB_00126b82") (: ":") (expression_statement "fputc(10,(FILE *)*param_1);" (call_expression "fputc(10,(FILE *)*param_1)" (identifier "fputc") (argument_list "(10,(FILE *)*param_1)" (( "(") (number_literal "10") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

type_1 function_1(void *p,char *name,type_2 var_8,type_3 val)

{
  char *var_2;
  char *var_3;
  char *var_5;
  type_4 *info;
  
  var_2 = var_1((type_4 *)((long)p + 0x10));
  if (var_2 == (char *)0x0) {
    return 0;
  }
  if (*(type_5 **)((long)p + 0x38) != (type_5 *)0x0) {
    var_3 = (char *)(**(type_5 **)((long)p + 0x38))(*(type_6 *)((long)p + 0x28),name,3);
    if (var_3 != (char *)0x0) {
      var_5 = var_4(var_3,"::");
      if (var_5 == (char *)0x0) {
                    /* WARNING: Load size is inaccurate */
        var_6(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",var_3,*(type_6 *)((long)p + 0x20),var_2)
        ;
        if (var_7 < var_8) {
          if (var_8 < var_9) {
                    /* WARNING: Load size is inaccurate */
            var_10("\tfile:",1,6,*p);
          }
          else if (var_8 == var_11) {
                    /* WARNING: Load size is inaccurate */
            var_10("\tregister:",1,10,*p);
          }
        }
      }
      else {
        *var_5 = '\0';
                    /* WARNING: Load size is inaccurate */
        var_6(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",var_5 + 2,*(type_6 *)((long)p + 0x20),var_2)
        ;
        if (var_7 < var_8) {
          if (var_8 < var_9) {
                    /* WARNING: Load size is inaccurate */
            var_10("\tfile:",1,6,*p);
          }
          else if (var_8 == var_11) {
                    /* WARNING: Load size is inaccurate */
            var_10("\tregister:",1,10,*p);
          }
        }
                    /* WARNING: Load size is inaccurate */
        var_6(*p,"\tclass:%s",var_3);
      }
      var_12(var_3);
      goto LAB_00126b82;
    }
  }
                    /* WARNING: Load size is inaccurate */
  var_6(*p,"%s\t%s\t0;\"\tkind:v\ttype:%s",name,*(type_6 *)((long)p + 0x20),var_2);
  if (var_7 < var_8) {
    if (var_8 < var_9) {
                    /* WARNING: Load size is inaccurate */
      var_10("\tfile:",1,6,*p);
    }
    else if (var_8 == var_11) {
                    /* WARNING: Load size is inaccurate */
      var_10("\tregister:",1,10,*p);
    }
  }
LAB_00126b82:
                    /* WARNING: Load size is inaccurate */
  var_13(10,*p);
  var_12(var_2);
  return 1;
}


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

undefined8 MASKED(undefined8 *param_1,undefined8 param_2,uint param_3)

{
  void *__ptr;
  char *__haystack;
  char *pcVar1;
  
  __ptr = (void *)FUN_00126930(param_1 + 2);
  if (__ptr == (void *)0x0) {
    return 0;
  }
  if ((code *)param_1[7] != (code *)0x0) {
    __haystack = (char *)(*(code *)param_1[7])(param_1[5],param_2,3);
    if (__haystack != (char *)0x0) {
      pcVar1 = strstr(__haystack,"::");
      if (pcVar1 == (char *)0x0) {
        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",__haystack,param_1[4],__ptr);
        if (1 < param_3) {
          if (param_3 < 4) {
            fwrite("\tfile:",1,6,(FILE *)*param_1);
          }
          else if (param_3 == 5) {
            fwrite("\tregister:",1,10,(FILE *)*param_1);
          }
        }
      }
      else {
        *pcVar1 = '\0';
        fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",pcVar1 + 2,param_1[4],__ptr);
        if (1 < param_3) {
          if (param_3 < 4) {
            fwrite("\tfile:",1,6,(FILE *)*param_1);
          }
          else if (param_3 == 5) {
            fwrite("\tregister:",1,10,(FILE *)*param_1);
          }
        }
        fprintf((FILE *)*param_1,"\tclass:%s",__haystack);
      }
      free(__haystack);
      goto LAB_00126b82;
    }
  }
  fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:%s",param_2,param_1[4],__ptr);
  if (1 < param_3) {
    if (param_3 < 4) {
      fwrite("\tfile:",1,6,(FILE *)*param_1);
    }
    else if (param_3 == 5) {
      fwrite("\tregister:",1,10,(FILE *)*param_1);
    }
  }
LAB_00126b82:
  fputc(10,(FILE *)*param_1);
  free(__ptr);
  return 1;
}

