
void strbuf_catfv(strbuf *buf,char *fmt,va_list ap)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  
  pcVar1 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);
  buf->s = pcVar1;
  iVar3 = buf->len;
  iVar2 = (*(code *)PTR_strlen_00122558)(pcVar1 + iVar3);
  buf->len = iVar3 + iVar2;
  return;
}



void strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  int iVar2;
  
  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);
  *param_1 = iVar1;
  iVar2 = param_1[1];
  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);
  param_1[1] = iVar2 + iVar1;
  return;
}


lui gp,0xf
addiu gp,gp,-0x2c74
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s1,0x28(sp)
sw s0,0x24(sp)
sw gp,0x18(sp)
or s0,a0,zero
sw a2,0x10(sp)
or a3,a1,zero
addiu a2,a0,0x8
lw a1,0x4(a0)
lw a0,0x0(a0)
lw t9,-0x7ce0(gp)
addiu t9,t9,-0x4450
bal 0x0003bbb0
_nop
lw gp,0x18(sp)
sw v0,0x0(s0)
lw s1,0x4(s0)
addu a0,v0,s1
lw t9,-0x6d58(gp)
jalr t9
_nop
lw gp,0x18(sp)
addu v0,s1,v0
sw v0,0x4(s0)
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}\n\n" (function_definition "void strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}" primitive_type (function_declarator "strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);" (assignment_expression "iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3)" identifier = (call_expression "FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3)" identifier (argument_list "(*param_1,param_1[1],param_1 + 2,param_2,param_3)" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (binary_expression "param_1 + 2" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2)" identifier = (call_expression "(*(code *)PTR_strlen_00122558)(iVar1 + iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" ( (pointer_expression "*(code *)PTR_strlen_00122558" * (cast_expression "(code *)PTR_strlen_00122558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + iVar2)" ( (binary_expression "iVar1 + iVar2" identifier + identifier) )))) ;) (expression_statement "param_1[1] = iVar2 + iVar1;" (assignment_expression "param_1[1] = iVar2 + iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar2 + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void strbuf_catfv(strbuf *buf,char *fmt,va_list ap)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);\n  buf->s = pcVar1;\n  iVar3 = buf->len;\n  iVar2 = (*(code *)PTR_strlen_00122558)(pcVar1 + iVar3);\n  buf->len = iVar3 + iVar2;\n  return;\n}\n\n" (function_definition "void strbuf_catfv(strbuf *buf,char *fmt,va_list ap)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);\n  buf->s = pcVar1;\n  iVar3 = buf->len;\n  iVar2 = (*(code *)PTR_strlen_00122558)(pcVar1 + iVar3);\n  buf->len = iVar3 + iVar2;\n  return;\n}" primitive_type (function_declarator "strbuf_catfv(strbuf *buf,char *fmt,va_list ap)" identifier (parameter_list "(strbuf *buf,char *fmt,va_list ap)" ( (parameter_declaration "strbuf *buf" type_identifier (pointer_declarator "*buf" * identifier)) , (parameter_declaration "char *fmt" primitive_type (pointer_declarator "*fmt" * identifier)) , (parameter_declaration "va_list ap" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);\n  buf->s = pcVar1;\n  iVar3 = buf->len;\n  iVar2 = (*(code *)PTR_strlen_00122558)(pcVar1 + iVar3);\n  buf->len = iVar3 + iVar2;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "pcVar1 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);" (assignment_expression "pcVar1 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap)" identifier = (call_expression "dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap)" identifier (argument_list "(buf->s,buf->len,&buf->size,fmt,ap)" ( (field_expression "buf->s" identifier -> field_identifier) , (field_expression "buf->len" identifier -> field_identifier) , (pointer_expression "&buf->size" & (field_expression "buf->size" identifier -> field_identifier)) , identifier , identifier )))) ;) (expression_statement "buf->s = pcVar1;" (assignment_expression "buf->s = pcVar1" (field_expression "buf->s" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar3 = buf->len;" (assignment_expression "iVar3 = buf->len" identifier = (field_expression "buf->len" identifier -> field_identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_00122558)(pcVar1 + iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00122558)(pcVar1 + iVar3)" identifier = (call_expression "(*(code *)PTR_strlen_00122558)(pcVar1 + iVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" ( (pointer_expression "*(code *)PTR_strlen_00122558" * (cast_expression "(code *)PTR_strlen_00122558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1 + iVar3)" ( (binary_expression "pcVar1 + iVar3" identifier + identifier) )))) ;) (expression_statement "buf->len = iVar3 + iVar2;" (assignment_expression "buf->len = iVar3 + iVar2" (field_expression "buf->len" identifier -> field_identifier) = (binary_expression "iVar3 + iVar2" identifier + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}\n\n" (function_definition "void strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}" primitive_type (function_declarator "strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);" (assignment_expression "iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3)" identifier = (call_expression "FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3)" identifier (argument_list "(*param_1,param_1[1],param_1 + 2,param_2,param_3)" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (binary_expression "param_1 + 2" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2)" identifier = (call_expression "(*(code *)PTR_strlen_00122558)(iVar1 + iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" ( (pointer_expression "*(code *)PTR_strlen_00122558" * (cast_expression "(code *)PTR_strlen_00122558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + iVar2)" ( (binary_expression "iVar1 + iVar2" identifier + identifier) )))) ;) (expression_statement "param_1[1] = iVar2 + iVar1;" (assignment_expression "param_1[1] = iVar2 + iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar2 + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (return_statement return ;) })))
(function_definition "void strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}" (primitive_type "void") (function_declarator "strbuf_catfv(int *param_1,undefined4 param_2,undefined4 param_3)" (identifier "strbuf_catfv") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);\n  *param_1 = iVar1;\n  iVar2 = param_1[1];\n  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);\n  param_1[1] = iVar2 + iVar1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);" (assignment_expression "iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3)" (identifier "iVar1") (= "=") (call_expression "FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3)" (identifier "FUN_0003bbb0") (argument_list "(*param_1,param_1[1],param_1 + 2,param_2,param_3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_00122558)(iVar1 + iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" (( "(") (pointer_expression "*(code *)PTR_strlen_00122558" (* "*") (cast_expression "(code *)PTR_strlen_00122558" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00122558"))) () ")")) (argument_list "(iVar1 + iVar2)" (( "(") (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2")) () ")")))) (; ";")) (expression_statement "param_1[1] = iVar2 + iVar1;" (assignment_expression "param_1[1] = iVar2 + iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar2 + iVar1" (identifier "iVar2") (+ "+") (identifier "iVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement))))

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

{
  int iVar1;
  int iVar2;
  
  iVar1 = FUN_0003bbb0(*param_1,param_1[1],param_1 + 2,param_2,param_3);
  *param_1 = iVar1;
  iVar2 = param_1[1];
  iVar1 = (*(code *)PTR_strlen_00122558)(iVar1 + iVar2);
  param_1[1] = iVar2 + iVar1;
  return;
}

