
bfd_boolean tg_typed_constant(void *p,char *name,bfd_vma val)

{
  char *__ptr;
  uint uVar1;
  pr_handle *info;
  char ab [22];
  
  __ptr = pop_type((pr_handle *)((long)p + 0x10));
  if (__ptr != (char *)0x0) {
    if (*(int *)((long)p + 8) != 0) {
      uVar1 = 0;
      do {
                    /* WARNING: Load size is inaccurate */
        uVar1 = uVar1 + 1;
        putc(0x20,*p);
      } while (uVar1 < *(uint *)((long)p + 8));
    }
    sprintf(ab,"%ld",val);
                    /* WARNING: Load size is inaccurate */
    fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,
            *(undefined8 *)((long)p + 0x20),__ptr,ab);
    free(__ptr);
    return 1;
  }
  return 0;
}



undefined8 FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)

{
  void *__ptr;
  uint uVar1;
  char acStack_48 [32];
  
  __ptr = (void *)FUN_00126930(param_1 + 2);
  if (__ptr != (void *)0x0) {
    if (*(int *)(param_1 + 1) != 0) {
      uVar1 = 0;
      do {
        uVar1 = uVar1 + 1;
        putc(0x20,(FILE *)*param_1);
      } while (uVar1 < *(uint *)(param_1 + 1));
    }
    sprintf(acStack_48,"%ld",param_3);
    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],
            __ptr,acStack_48);
    free(__ptr);
    return 1;
  }
  return 0;
}


PUSH R14
MOV R14,RDX
PUSH R13
MOV R13,RSI
PUSH R12
PUSH RBP
MOV RBP,RDI
ADD RDI,0x10
PUSH RBX
SUB RSP,0x20
CALL 0x00126930
TEST RAX,RAX
JZ 0x0012a3f0
MOV R12,RAX
MOV EAX,dword ptr [RBP + 0x8]
TEST EAX,EAX
JZ 0x0012a396
XOR EBX,EBX
NOP
MOV RSI,qword ptr [RBP]
MOV EDI,0x20
ADD EBX,0x1
CALL 0x00107460
CMP EBX,dword ptr [RBP + 0x8]
JC 0x0012a380
MOV RBX,RSP
MOV RDX,R14
LEA RSI,[0x141f07]
XOR EAX,EAX
MOV RDI,RBX
CALL 0x00107760
MOV RCX,qword ptr [RBP + 0x20]
MOV RDI,qword ptr [RBP]
MOV R9,RBX
MOV R8,R12
MOV RDX,R13
LEA RSI,[0x145d08]
XOR EAX,EAX
CALL 0x00107850
MOV RDI,R12
CALL 0x00107070
ADD RSP,0x20
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
ADD RSP,0x20
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "undefined8 FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char acStack_48 [32];" primitive_type (array_declarator "acStack_48 [32]" identifier [ number_literal ]) ;) (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    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\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    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }" { (if_statement "if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 1) != 0)" ( (binary_expression "*(int *)(param_1 + 1) != 0" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));" do (compound_statement "{\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      }" { (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (expression_statement "putc(0x20,(FILE *)*param_1);" (call_expression "putc(0x20,(FILE *)*param_1)" identifier (argument_list "(0x20,(FILE *)*param_1)" ( number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) while (parenthesized_expression "(uVar1 < *(uint *)(param_1 + 1))" ( (binary_expression "uVar1 < *(uint *)(param_1 + 1)" identifier < (pointer_expression "*(uint *)(param_1 + 1)" * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) )) ;) })) (expression_statement "sprintf(acStack_48,"%ld",param_3);" (call_expression "sprintf(acStack_48,"%ld",param_3)" identifier (argument_list "(acStack_48,"%ld",param_3)" ( identifier , (string_literal ""%ld"" " string_content ") , identifier ))) ;) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48)" ( (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:const %s\tvalue:%s\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean tg_typed_constant(void *p,char *name,bfd_vma val)\n\n{\n  char *__ptr;\n  uint uVar1;\n  pr_handle *info;\n  char ab [22];\n  \n  __ptr = pop_type((pr_handle *)((long)p + 0x10));\n  if (__ptr != (char *)0x0) {\n    if (*(int *)((long)p + 8) != 0) {\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }\n    sprintf(ab,"%ld",val);\n                    /* WARNING: Load size is inaccurate */\n    fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "bfd_boolean tg_typed_constant(void *p,char *name,bfd_vma val)\n\n{\n  char *__ptr;\n  uint uVar1;\n  pr_handle *info;\n  char ab [22];\n  \n  __ptr = pop_type((pr_handle *)((long)p + 0x10));\n  if (__ptr != (char *)0x0) {\n    if (*(int *)((long)p + 8) != 0) {\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }\n    sprintf(ab,"%ld",val);\n                    /* WARNING: Load size is inaccurate */\n    fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "tg_typed_constant(void *p,char *name,bfd_vma val)" identifier (parameter_list "(void *p,char *name,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 "bfd_vma val" type_identifier identifier) ))) (compound_statement "{\n  char *__ptr;\n  uint uVar1;\n  pr_handle *info;\n  char ab [22];\n  \n  __ptr = pop_type((pr_handle *)((long)p + 0x10));\n  if (__ptr != (char *)0x0) {\n    if (*(int *)((long)p + 8) != 0) {\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }\n    sprintf(ab,"%ld",val);\n                    /* WARNING: Load size is inaccurate */\n    fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" { (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "char ab [22];" primitive_type (array_declarator "ab [22]" identifier [ number_literal ]) ;) (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    if (*(int *)((long)p + 8) != 0) {\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }\n    sprintf(ab,"%ld",val);\n                    /* WARNING: Load size is inaccurate */\n    fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab);\n    free(__ptr);\n    return 1;\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    if (*(int *)((long)p + 8) != 0) {\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }\n    sprintf(ab,"%ld",val);\n                    /* WARNING: Load size is inaccurate */\n    fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab);\n    free(__ptr);\n    return 1;\n  }" { (if_statement "if (*(int *)((long)p + 8) != 0) {\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }" if (parenthesized_expression "(*(int *)((long)p + 8) != 0)" ( (binary_expression "*(int *)((long)p + 8) != 0" (pointer_expression "*(int *)((long)p + 8)" * (cast_expression "(int *)((long)p + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 8)" ( (binary_expression "(long)p + 8" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n      do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      } while (uVar1 < *(uint *)((long)p + 8));" do (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n        uVar1 = uVar1 + 1;\n        putc(0x20,*p);\n      }" { comment (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (expression_statement "putc(0x20,*p);" (call_expression "putc(0x20,*p)" identifier (argument_list "(0x20,*p)" ( number_literal , (pointer_expression "*p" * identifier) ))) ;) }) while (parenthesized_expression "(uVar1 < *(uint *)((long)p + 8))" ( (binary_expression "uVar1 < *(uint *)((long)p + 8)" identifier < (pointer_expression "*(uint *)((long)p + 8)" * (cast_expression "(uint *)((long)p + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 8)" ( (binary_expression "(long)p + 8" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) )) ;) })) (expression_statement "sprintf(ab,"%ld",val);" (call_expression "sprintf(ab,"%ld",val)" identifier (argument_list "(ab,"%ld",val)" ( identifier , (string_literal ""%ld"" " string_content ") , identifier ))) ;) comment (expression_statement "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab);" (call_expression "fprintf(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab)" identifier (argument_list "(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,\n            *(undefined8 *)((long)p + 0x20),__ptr,ab)" ( (pointer_expression "*p" * identifier) , (string_literal ""%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , 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 , identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char acStack_48 [32];" primitive_type (array_declarator "acStack_48 [32]" identifier [ number_literal ]) ;) (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    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\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    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }" { (if_statement "if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 1) != 0)" ( (binary_expression "*(int *)(param_1 + 1) != 0" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));" do (compound_statement "{\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      }" { (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (expression_statement "putc(0x20,(FILE *)*param_1);" (call_expression "putc(0x20,(FILE *)*param_1)" identifier (argument_list "(0x20,(FILE *)*param_1)" ( number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) }) while (parenthesized_expression "(uVar1 < *(uint *)(param_1 + 1))" ( (binary_expression "uVar1 < *(uint *)(param_1 + 1)" identifier < (pointer_expression "*(uint *)(param_1 + 1)" * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) )) ;) })) (expression_statement "sprintf(acStack_48,"%ld",param_3);" (call_expression "sprintf(acStack_48,"%ld",param_3)" identifier (argument_list "(acStack_48,"%ld",param_3)" ( identifier , (string_literal ""%ld"" " string_content ") , identifier ))) ;) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48)" identifier (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48)" ( (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:const %s\tvalue:%s\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" 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 IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) (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 escape_sequence string_content escape_sequence ") , IDENT , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_0012a350(undefined8 *param_1,undefined8 param_2,undefined8 param_3)" (identifier "FUN_0012a350") (parameter_list "(undefined8 *param_1,undefined8 param_2,undefined8 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 "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  void *__ptr;\n  uint uVar1;\n  char acStack_48 [32];\n  \n  __ptr = (void *)FUN_00126930(param_1 + 2);\n  if (__ptr != (void *)0x0) {\n    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }\n  return 0;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char acStack_48 [32];" (primitive_type "char") (array_declarator "acStack_48 [32]" (identifier "acStack_48") ([ "[") (number_literal "32") (] "]")) (; ";")) (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    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\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    if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }\n    sprintf(acStack_48,"%ld",param_3);\n    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);\n    free(__ptr);\n    return 1;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 1) != 0) {\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 1) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 1) != 0" (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = 0;\n      do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));\n    }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      } while (uVar1 < *(uint *)(param_1 + 1));" (do "do") (compound_statement "{\n        uVar1 = uVar1 + 1;\n        putc(0x20,(FILE *)*param_1);\n      }" ({ "{") (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "putc(0x20,(FILE *)*param_1);" (call_expression "putc(0x20,(FILE *)*param_1)" (identifier "putc") (argument_list "(0x20,(FILE *)*param_1)" (( "(") (number_literal "0x20") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 < *(uint *)(param_1 + 1))" (( "(") (binary_expression "uVar1 < *(uint *)(param_1 + 1)" (identifier "uVar1") (< "<") (pointer_expression "*(uint *)(param_1 + 1)" (* "*") (cast_expression "(uint *)(param_1 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "sprintf(acStack_48,"%ld",param_3);" (call_expression "sprintf(acStack_48,"%ld",param_3)" (identifier "sprintf") (argument_list "(acStack_48,"%ld",param_3)" (( "(") (identifier "acStack_48") (, ",") (string_literal ""%ld"" (" """) (string_content "%ld") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48);" (call_expression "fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48)" (identifier "fprintf") (argument_list "((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],\n            __ptr,acStack_48)" (( "(") (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:const %s\tvalue:%s\n"" (" """) (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:const %s") (escape_sequence "\t") (string_content "value:%s") (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "__ptr") (, ",") (identifier "acStack_48") () ")"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

{
  char *var_2;
  type_3 var_3;
  type_4 *info;
  char ab [22];
  
  var_2 = var_1((type_4 *)((long)p + 0x10));
  if (var_2 != (char *)0x0) {
    if (*(int *)((long)p + 8) != 0) {
      var_3 = 0;
      do {
                    /* WARNING: Load size is inaccurate */
        var_3 = var_3 + 1;
        var_4(0x20,*p);
      } while (var_3 < *(type_3 *)((long)p + 8));
    }
    var_5(ab,"%ld",val);
                    /* WARNING: Load size is inaccurate */
    var_6(*p,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",name,
            *(type_5 *)((long)p + 0x20),var_2,ab);
    var_7(var_2);
    return 1;
  }
  return 0;
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (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 (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (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) (escape_sequence) (string_content) (escape_sequence)) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

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

{
  void *__ptr;
  uint uVar1;
  char acStack_48 [32];
  
  __ptr = (void *)FUN_00126930(param_1 + 2);
  if (__ptr != (void *)0x0) {
    if (*(int *)(param_1 + 1) != 0) {
      uVar1 = 0;
      do {
        uVar1 = uVar1 + 1;
        putc(0x20,(FILE *)*param_1);
      } while (uVar1 < *(uint *)(param_1 + 1));
    }
    sprintf(acStack_48,"%ld",param_3);
    fprintf((FILE *)*param_1,"%s\t%s\t0;\"\tkind:v\ttype:const %s\tvalue:%s\n",param_2,param_1[4],
            __ptr,acStack_48);
    free(__ptr);
    return 1;
  }
  return 0;
}

