
void dump_audiostreaming_endpoint(libusb_device_handle *dev,uchar *buf,int protocol)

{
  uchar uVar1;
  
  uVar1 = buf[1];
  if (uVar1 != '%') {
    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);
    uVar1 = buf[1];
  }
  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2]);
  dump_audio_subtype(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),
                     (desc **)PTR_PTR_00049878,buf,protocol,5);
  return;
}



void FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)

{
  char cVar1;
  
  cVar1 = param_2[1];
  if (cVar1 != '%') {
    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);
    cVar1 = param_2[1];
  }
  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);
  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)
               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);
  return;
}


lui gp,0x4
addiu gp,gp,-0x5654
addu gp,gp,t9
addiu sp,sp,-0x30
li v0,0x25
sw s2,0x28(sp)
or s2,a0,zero
sw s1,0x24(sp)
or s1,a2,zero
sw s0,0x20(sp)
sw gp,0x18(sp)
sw ra,0x2c(sp)
lbu a3,0x1(a1)
beq a3,v0,0x00016ed8
_or s0,a1,zero
lw a0,-0x7fc4(gp)
lw t9,-0x7e48(gp)
jalr t9
_addiu a0,a0,0x47fc
lw gp,0x18(sp)
lbu a3,0x1(s0)
lw a1,-0x7fc4(gp)
li a0,0x1
lbu v0,0x2(s0)
lbu a2,0x0(s0)
lw t9,-0x7ea0(gp)
addiu a1,a1,0x4820
jalr t9
_sw v0,0x10(sp)
li v1,0x5
lw gp,0x18(sp)
or a3,s0,zero
lbu v0,0x2(s0)
or a0,s2,zero
sw v1,0x14(sp)
sw s1,0x10(sp)
lw v1,-0x7fcc(gp)
xori v0,v0,0x1
sltiu v0,v0,0x1
lw t9,-0x7fc8(gp)
sll v0,v0,0x2
lw a2,-0x7fb8(gp)
addiu v1,v1,0x2074
addiu t9,t9,0x6d58
addu v0,v0,v1
bal 0x00016d58
_lw a1,0x0(v0)
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}\n\n" (function_definition "void FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}" primitive_type (function_declarator "FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined1 *param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (expression_statement "cVar1 = param_2[1];" (assignment_expression "cVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }" if (parenthesized_expression "(cVar1 != '%')" ( (binary_expression "cVar1 != '%'" identifier != (char_literal "'%'" ' character ')) )) (compound_statement "{\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }" { (expression_statement "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);" (call_expression "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc)" (parenthesized_expression "(*(code *)PTR_puts_000499e8)" ( (pointer_expression "*(code *)PTR_puts_000499e8" * (cast_expression "(code *)PTR_puts_000499e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_0004986c + 0x47fc)" ( (binary_expression "PTR_LAB_0004986c + 0x47fc" identifier + number_literal) ))) ;) (expression_statement "cVar1 = param_2[1];" (assignment_expression "cVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) })) (expression_statement "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);" (call_expression "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2])" (parenthesized_expression "(*(code *)PTR___printf_chk_00049990)" ( (pointer_expression "*(code *)PTR___printf_chk_00049990" * (cast_expression "(code *)PTR___printf_chk_00049990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2])" ( number_literal , (binary_expression "PTR_LAB_0004986c + 0x4820" identifier + number_literal) , (pointer_expression "*param_2" * identifier) , identifier , (subscript_expression "param_2[2]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);" (call_expression "FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5)" identifier (argument_list "(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5)" ( identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" * (cast_expression "(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" ( (binary_expression "PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074" (binary_expression "PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4" identifier + (binary_expression "(uint)(param_2[2] == '\x01') * 4" (call_expression "(uint)(param_2[2] == '\x01')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2[2] == '\x01')" ( (binary_expression "param_2[2] == '\x01'" (subscript_expression "param_2[2]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) ))) * number_literal)) + number_literal) )))) , identifier , identifier , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void dump_audiostreaming_endpoint(libusb_device_handle *dev,uchar *buf,int protocol)\n\n{\n  uchar uVar1;\n  \n  uVar1 = buf[1];\n  if (uVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    uVar1 = buf[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2]);\n  dump_audio_subtype(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),\n                     (desc **)PTR_PTR_00049878,buf,protocol,5);\n  return;\n}\n\n" (function_definition "void dump_audiostreaming_endpoint(libusb_device_handle *dev,uchar *buf,int protocol)\n\n{\n  uchar uVar1;\n  \n  uVar1 = buf[1];\n  if (uVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    uVar1 = buf[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2]);\n  dump_audio_subtype(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),\n                     (desc **)PTR_PTR_00049878,buf,protocol,5);\n  return;\n}" primitive_type (function_declarator "dump_audiostreaming_endpoint(libusb_device_handle *dev,uchar *buf,int protocol)" identifier (parameter_list "(libusb_device_handle *dev,uchar *buf,int protocol)" ( (parameter_declaration "libusb_device_handle *dev" type_identifier (pointer_declarator "*dev" * identifier)) , (parameter_declaration "uchar *buf" type_identifier (pointer_declarator "*buf" * identifier)) , (parameter_declaration "int protocol" primitive_type identifier) ))) (compound_statement "{\n  uchar uVar1;\n  \n  uVar1 = buf[1];\n  if (uVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    uVar1 = buf[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2]);\n  dump_audio_subtype(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),\n                     (desc **)PTR_PTR_00049878,buf,protocol,5);\n  return;\n}" { (declaration "uchar uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = buf[1];" (assignment_expression "uVar1 = buf[1]" identifier = (subscript_expression "buf[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    uVar1 = buf[1];\n  }" if (parenthesized_expression "(uVar1 != '%')" ( (binary_expression "uVar1 != '%'" identifier != (char_literal "'%'" ' character ')) )) (compound_statement "{\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    uVar1 = buf[1];\n  }" { (expression_statement "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);" (call_expression "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc)" (parenthesized_expression "(*(code *)PTR_puts_000499e8)" ( (pointer_expression "*(code *)PTR_puts_000499e8" * (cast_expression "(code *)PTR_puts_000499e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_0004986c + 0x47fc)" ( (binary_expression "PTR_LAB_0004986c + 0x47fc" identifier + number_literal) ))) ;) (expression_statement "uVar1 = buf[1];" (assignment_expression "uVar1 = buf[1]" identifier = (subscript_expression "buf[1]" identifier [ number_literal ])) ;) })) (expression_statement "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2]);" (call_expression "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2])" (parenthesized_expression "(*(code *)PTR___printf_chk_00049990)" ( (pointer_expression "*(code *)PTR___printf_chk_00049990" * (cast_expression "(code *)PTR___printf_chk_00049990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_0004986c + 0x4820,*buf,uVar1,buf[2])" ( number_literal , (binary_expression "PTR_LAB_0004986c + 0x4820" identifier + number_literal) , (pointer_expression "*buf" * identifier) , identifier , (subscript_expression "buf[2]" identifier [ number_literal ]) ))) ;) (expression_statement "dump_audio_subtype(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),\n                     (desc **)PTR_PTR_00049878,buf,protocol,5);" (call_expression "dump_audio_subtype(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),\n                     (desc **)PTR_PTR_00049878,buf,protocol,5)" identifier (argument_list "(dev,*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074),\n                     (desc **)PTR_PTR_00049878,buf,protocol,5)" ( identifier , (pointer_expression "*(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074)" * (cast_expression "(char **)(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074)" ( (binary_expression "PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4 + 0x2074" (binary_expression "PTR_DAT_00049864 + (uint)(buf[2] == '\x01') * 4" identifier + (binary_expression "(uint)(buf[2] == '\x01') * 4" (call_expression "(uint)(buf[2] == '\x01')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(buf[2] == '\x01')" ( (binary_expression "buf[2] == '\x01'" (subscript_expression "buf[2]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) ))) * number_literal)) + number_literal) )))) , (cast_expression "(desc **)PTR_PTR_00049878" ( (type_descriptor "desc **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) , identifier , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}\n\n" (function_definition "void FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}" primitive_type (function_declarator "FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined1 *param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (expression_statement "cVar1 = param_2[1];" (assignment_expression "cVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }" if (parenthesized_expression "(cVar1 != '%')" ( (binary_expression "cVar1 != '%'" identifier != (char_literal "'%'" ' character ')) )) (compound_statement "{\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }" { (expression_statement "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);" (call_expression "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc)" (parenthesized_expression "(*(code *)PTR_puts_000499e8)" ( (pointer_expression "*(code *)PTR_puts_000499e8" * (cast_expression "(code *)PTR_puts_000499e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_0004986c + 0x47fc)" ( (binary_expression "PTR_LAB_0004986c + 0x47fc" identifier + number_literal) ))) ;) (expression_statement "cVar1 = param_2[1];" (assignment_expression "cVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) })) (expression_statement "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);" (call_expression "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2])" (parenthesized_expression "(*(code *)PTR___printf_chk_00049990)" ( (pointer_expression "*(code *)PTR___printf_chk_00049990" * (cast_expression "(code *)PTR___printf_chk_00049990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2])" ( number_literal , (binary_expression "PTR_LAB_0004986c + 0x4820" identifier + number_literal) , (pointer_expression "*param_2" * identifier) , identifier , (subscript_expression "param_2[2]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);" (call_expression "FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5)" identifier (argument_list "(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5)" ( identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" * (cast_expression "(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" ( (binary_expression "PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074" (binary_expression "PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4" identifier + (binary_expression "(uint)(param_2[2] == '\x01') * 4" (call_expression "(uint)(param_2[2] == '\x01')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2[2] == '\x01')" ( (binary_expression "param_2[2] == '\x01'" (subscript_expression "param_2[2]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) ))) * number_literal)) + number_literal) )))) , identifier , identifier , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) * LIT)) + LIT) )))) , IDENT , IDENT , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00016e84(undefined4 param_1,undefined1 *param_2,undefined4 param_3)" (identifier "FUN_00016e84") (parameter_list "(undefined4 param_1,undefined1 *param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  char cVar1;\n  \n  cVar1 = param_2[1];\n  if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }\n  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);\n  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (expression_statement "cVar1 = param_2[1];" (assignment_expression "cVar1 = param_2[1]" (identifier "cVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (cVar1 != '%') {\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }" (if "if") (parenthesized_expression "(cVar1 != '%')" (( "(") (binary_expression "cVar1 != '%'" (identifier "cVar1") (!= "!=") (char_literal "'%'" (' "'") (character "%") (' "'"))) () ")")) (compound_statement "{\n    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);\n    cVar1 = param_2[1];\n  }" ({ "{") (expression_statement "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);" (call_expression "(*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc)" (parenthesized_expression "(*(code *)PTR_puts_000499e8)" (( "(") (pointer_expression "*(code *)PTR_puts_000499e8" (* "*") (cast_expression "(code *)PTR_puts_000499e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000499e8"))) () ")")) (argument_list "(PTR_LAB_0004986c + 0x47fc)" (( "(") (binary_expression "PTR_LAB_0004986c + 0x47fc" (identifier "PTR_LAB_0004986c") (+ "+") (number_literal "0x47fc")) () ")"))) (; ";")) (expression_statement "cVar1 = param_2[1];" (assignment_expression "cVar1 = param_2[1]" (identifier "cVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);" (call_expression "(*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2])" (parenthesized_expression "(*(code *)PTR___printf_chk_00049990)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00049990" (* "*") (cast_expression "(code *)PTR___printf_chk_00049990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00049990"))) () ")")) (argument_list "(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2])" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_LAB_0004986c + 0x4820" (identifier "PTR_LAB_0004986c") (+ "+") (number_literal "0x4820")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "cVar1") (, ",") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);" (call_expression "FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5)" (identifier "FUN_00016d58") (argument_list "(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)\n               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)" (( "(") (binary_expression "PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074" (binary_expression "PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4" (identifier "PTR_DAT_00049864") (+ "+") (binary_expression "(uint)(param_2[2] == '\x01') * 4" (call_expression "(uint)(param_2[2] == '\x01')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2[2] == '\x01')" (( "(") (binary_expression "param_2[2] == '\x01'" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x2074")) () ")")))) (, ",") (identifier "PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))))) right: (number_literal))) right: (number_literal))))) (identifier) (identifier) (identifier) (number_literal)))) (return_statement))))

void MASKED(undefined4 param_1,undefined1 *param_2,undefined4 param_3)

{
  char cVar1;
  
  cVar1 = param_2[1];
  if (cVar1 != '%') {
    (*(code *)PTR_puts_000499e8)(PTR_LAB_0004986c + 0x47fc);
    cVar1 = param_2[1];
  }
  (*(code *)PTR___printf_chk_00049990)(1,PTR_LAB_0004986c + 0x4820,*param_2,cVar1,param_2[2]);
  FUN_00016d58(param_1,*(undefined4 *)(PTR_DAT_00049864 + (uint)(param_2[2] == '\x01') * 4 + 0x2074)
               ,PTR_desc_audio_as_isochronous_audio_data_endpoint_00049878,param_2,param_3,5);
  return;
}

