
void strbuf_catf(strbuf *buf,char *fmt,...)

{
  int iVar1;
  undefined4 in_a2;
  undefined4 in_a3;
  undefined *puVar2;
  undefined4 local_res8;
  undefined4 local_resc;
  va_list ap;
  
  puVar2 = PTR___stack_chk_guard_000b8ce8;
  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;
  local_res8 = in_a2;
  local_resc = in_a3;
  strbuf_catfv(buf,fmt,&local_res8);
  if (iVar1 == *(int *)puVar2) {
    return;
  }
  puVar2 = PTR___stack_chk_fail_000b8cbc;
  (*(code *)PTR___stack_chk_fail_000b8cbc)();
  if (buf != (strbuf *)0x0) {
    (**(code **)(puVar2 + 0x96908))();
    return;
  }
  return;
}



void strbuf_catf(int param_1)

{
  int iVar1;
  undefined *puVar2;
  
  puVar2 = PTR___stack_chk_guard_000b8ce8;
  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;
  strbuf_catfv();
  if (iVar1 == *(int *)puVar2) {
    return;
  }
  puVar2 = PTR___stack_chk_fail_000b8cbc;
  (*(code *)PTR___stack_chk_fail_000b8cbc)();
  if (param_1 != 0) {
    (**(code **)(puVar2 + 0x96908))();
    return;
  }
  return;
}


lui gp,0xa
addiu gp,gp,-0x20e8
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s0,0x20(sp)
sw gp,0x10(sp)
sw a2,0x30(sp)
sw a3,0x34(sp)
lw s0,-0x75a8(gp)
lw v0,0x0(s0)
sw v0,0x1c(sp)
addiu a2,sp,0x30
sw a2,0x18(sp)
lw t9,-0x7e60(gp)
bal 0x000222f4
_nop
lw gp,0x10(sp)
lw v1,0x1c(sp)
lw v0,0x0(s0)
bne v1,v0,0x000223dc
_lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x75d4(gp)
jalr t9
_nop
(translation_unit "void strbuf_catf(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void strbuf_catf(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "strbuf_catf(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000b8ce8;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000b8ce8" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "strbuf_catfv();" (call_expression "strbuf_catfv()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar2)" ( (binary_expression "iVar1 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar2 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000b8cbc" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" * (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" { (expression_statement "(**(code **)(puVar2 + 0x96908))();" (call_expression "(**(code **)(puVar2 + 0x96908))()" (parenthesized_expression "(**(code **)(puVar2 + 0x96908))" ( (pointer_expression "**(code **)(puVar2 + 0x96908)" * (pointer_expression "*(code **)(puVar2 + 0x96908)" * (cast_expression "(code **)(puVar2 + 0x96908)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x96908)" ( (binary_expression "puVar2 + 0x96908" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void strbuf_catf(strbuf *buf,char *fmt,...)\n\n{\n  int iVar1;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  va_list ap;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  strbuf_catfv(buf,fmt,&local_res8);\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (buf != (strbuf *)0x0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void strbuf_catf(strbuf *buf,char *fmt,...)\n\n{\n  int iVar1;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  va_list ap;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  strbuf_catfv(buf,fmt,&local_res8);\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (buf != (strbuf *)0x0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "strbuf_catf(strbuf *buf,char *fmt,...)" identifier (parameter_list "(strbuf *buf,char *fmt,...)" ( (parameter_declaration "strbuf *buf" type_identifier (pointer_declarator "*buf" * identifier)) , (parameter_declaration "char *fmt" primitive_type (pointer_declarator "*fmt" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  int iVar1;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  va_list ap;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  strbuf_catfv(buf,fmt,&local_res8);\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (buf != (strbuf *)0x0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "va_list ap;" type_identifier identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000b8ce8;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000b8ce8" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res8 = in_a2;" (assignment_expression "local_res8 = in_a2" identifier = identifier) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (expression_statement "strbuf_catfv(buf,fmt,&local_res8);" (call_expression "strbuf_catfv(buf,fmt,&local_res8)" identifier (argument_list "(buf,fmt,&local_res8)" ( identifier , identifier , (pointer_expression "&local_res8" & identifier) ))) ;) (if_statement "if (iVar1 == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar2)" ( (binary_expression "iVar1 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar2 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000b8cbc" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" * (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (buf != (strbuf *)0x0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" if (parenthesized_expression "(buf != (strbuf *)0x0)" ( (binary_expression "buf != (strbuf *)0x0" identifier != (cast_expression "(strbuf *)0x0" ( (type_descriptor "strbuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" { (expression_statement "(**(code **)(puVar2 + 0x96908))();" (call_expression "(**(code **)(puVar2 + 0x96908))()" (parenthesized_expression "(**(code **)(puVar2 + 0x96908))" ( (pointer_expression "**(code **)(puVar2 + 0x96908)" * (pointer_expression "*(code **)(puVar2 + 0x96908)" * (cast_expression "(code **)(puVar2 + 0x96908)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x96908)" ( (binary_expression "puVar2 + 0x96908" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void strbuf_catf(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void strbuf_catf(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "strbuf_catf(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000b8ce8;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000b8ce8" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "strbuf_catfv();" (call_expression "strbuf_catfv()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar2)" ( (binary_expression "iVar1 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar2 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000b8cbc" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" * (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" { (expression_statement "(**(code **)(puVar2 + 0x96908))();" (call_expression "(**(code **)(puVar2 + 0x96908))()" (parenthesized_expression "(**(code **)(puVar2 + 0x96908))" ( (pointer_expression "**(code **)(puVar2 + 0x96908)" * (pointer_expression "*(code **)(puVar2 + 0x96908)" * (cast_expression "(code **)(puVar2 + 0x96908)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x96908)" ( (binary_expression "puVar2 + 0x96908" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void strbuf_catf(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "strbuf_catf(int param_1)" (identifier "strbuf_catf") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR___stack_chk_guard_000b8ce8;\n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  strbuf_catfv();\n  if (iVar1 == *(int *)puVar2) {\n    return;\n  }\n  puVar2 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_000b8ce8;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000b8ce8" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_000b8ce8")) (; ";")) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8" (identifier "iVar1") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b8ce8")))) (; ";")) (expression_statement "strbuf_catfv();" (call_expression "strbuf_catfv()" (identifier "strbuf_catfv") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar1 == *(int *)puVar2) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == *(int *)puVar2)" (( "(") (binary_expression "iVar1 == *(int *)puVar2" (identifier "iVar1") (== "==") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar2 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000b8cbc" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_fail_000b8cbc")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b8cbc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_1 != 0) {\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar2 + 0x96908))();\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(puVar2 + 0x96908))();" (call_expression "(**(code **)(puVar2 + 0x96908))()" (parenthesized_expression "(**(code **)(puVar2 + 0x96908))" (( "(") (pointer_expression "**(code **)(puVar2 + 0x96908)" (* "*") (pointer_expression "*(code **)(puVar2 + 0x96908)" (* "*") (cast_expression "(code **)(puVar2 + 0x96908)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x96908)" (( "(") (binary_expression "puVar2 + 0x96908" (identifier "puVar2") (+ "+") (number_literal "0x96908")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_3,char *fmt,...)

{
  int var_2;
  type_2 in_a2;
  type_2 in_a3;
  type_3 *var_4;
  type_2 local_res8;
  type_2 local_resc;
  type_4 ap;
  
  var_4 = PTR___stack_chk_guard_000b8ce8;
  var_2 = *(int *)PTR___stack_chk_guard_000b8ce8;
  local_res8 = in_a2;
  local_resc = in_a3;
  var_1(var_3,fmt,&local_res8);
  if (var_2 == *(int *)var_4) {
    return;
  }
  var_4 = PTR___stack_chk_fail_000b8cbc;
  (*(type_5 *)PTR___stack_chk_fail_000b8cbc)();
  if (var_3 != (type_1 *)0x0) {
    (**(type_5 **)(var_4 + 0x96908))();
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (return_statement))) (return_statement))))

void MASKED(int param_1)

{
  int iVar1;
  undefined *puVar2;
  
  puVar2 = PTR___stack_chk_guard_000b8ce8;
  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;
  MASKEDv();
  if (iVar1 == *(int *)puVar2) {
    return;
  }
  puVar2 = PTR___stack_chk_fail_000b8cbc;
  (*(code *)PTR___stack_chk_fail_000b8cbc)();
  if (param_1 != 0) {
    (**(code **)(puVar2 + 0x96908))();
    return;
  }
  return;
}

