
char * humidity_str(uint8_t h,_Bool reporting,char *b,int blen)

{
  char cVar1;
  undefined2 uVar2;
  undefined4 uVar3;
  undefined3 in_register_00000010;
  uint uVar4;
  undefined4 uVar5;
  undefined3 in_register_00000014;
  
  uVar4 = CONCAT31(in_register_00000010,h);
  if (uVar4 == 0xff) {
    if (CONCAT31(in_register_00000014,reporting) != 0) {
      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);
      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);
      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);
      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);
      *(undefined4 *)(b + 4) = uVar5;
      *(undefined2 *)(b + 0xc) = uVar2;
      *(undefined4 *)(b + 8) = uVar3;
      return b;
    }
    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);
    cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];
    *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);
    *(undefined4 *)(b + 4) = uVar3;
    b[8] = cVar1;
    return b;
  }
  if (100 < uVar4) {
    (*(code *)PTR___snprintf_chk_00044cc0)();
    return b;
  }
  (*(code *)PTR___snprintf_chk_00044cc0)
            (b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4);
  return b;
}



undefined4 * FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)

{
  undefined1 uVar1;
  undefined2 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (param_1 == 0xff) {
    if (param_2 != 0) {
      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);
      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);
      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);
      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);
      param_3[1] = uVar4;
      *(undefined2 *)(param_3 + 3) = uVar2;
      param_3[2] = uVar3;
      return param_3;
    }
    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);
    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];
    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);
    param_3[1] = uVar3;
    *(undefined1 *)(param_3 + 2) = uVar1;
    return param_3;
  }
  if (100 < param_1) {
    (*(code *)PTR___snprintf_chk_00044cc0)();
    return param_3;
  }
  (*(code *)PTR___snprintf_chk_00044cc0)
            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,
             param_1);
  return param_3;
}


lui gp,0x3
addiu gp,gp,-0x408c
addu gp,gp,t9
addiu sp,sp,-0x28
li v0,0xff
sw gp,0x18(sp)
sw s0,0x20(sp)
or s0,a2,zero
beq a0,v0,0x00020c8c
_sw ra,0x24(sp)
sltiu v0,a0,0x65
lw t9,-0x7eb0(gp)
sw a0,0x14(sp)
li a3,-0x1
li a2,0x1
li a1,0x20
bne v0,zero,0x00020c68
_or a0,s0,zero
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x2930
jalr t9
_sw v0,0x10(sp)
or v0,s0,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x2938
jalr t9
_sw v0,0x10(sp)
or v0,s0,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
beq a1,zero,0x00020cd0
_lw v1,-0x7fc4(gp)
lw v1,-0x7fc4(gp)
addiu v0,v1,-0x2954
lw a1,-0x2954(v1)
lw a0,0x4(v0)
lw v1,0x8(v0)
lhu v0,0xc(v0)
sw a1,0x0(a2)
sw a0,0x4(a2)
sh v0,0xc(a2)
or v0,s0,zero
sw v1,0x8(a2)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
addiu v0,v1,-0x2944
lw a0,-0x2944(v1)
lw v1,0x4(v0)
lbu v0,0x8(v0)
sw a0,0x0(a2)
sw v1,0x4(a2)
sb v0,0x8(a2)
or v0,s0,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 * FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}\n\n" (function_definition "undefined4 * FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}" type_identifier (pointer_declarator "* FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)" * (function_declarator "FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(uint param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }" { (if_statement "if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }" { (expression_statement "uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);" (assignment_expression "uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);" (assignment_expression "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" * (cast_expression "(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);" (assignment_expression "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954" identifier + number_literal) ))))) ;) (expression_statement "param_3[1] = uVar4;" (assignment_expression "param_3[1] = uVar4" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined2 *)(param_3 + 3) = uVar2;" (assignment_expression "*(undefined2 *)(param_3 + 3) = uVar2" (pointer_expression "*(undefined2 *)(param_3 + 3)" * (cast_expression "(undefined2 *)(param_3 + 3)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 3)" ( (binary_expression "param_3 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_3[2] = uVar3;" (assignment_expression "param_3[2] = uVar3" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_3;" return identifier ;) })) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];" (assignment_expression "uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" identifier = (subscript_expression "PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);" (assignment_expression "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944" identifier + number_literal) ))))) ;) (expression_statement "param_3[1] = uVar3;" (assignment_expression "param_3[1] = uVar3" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_3 + 2) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 2) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 2)" * (cast_expression "(undefined1 *)(param_3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 2)" ( (binary_expression "param_3 + 2" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_3;" return identifier ;) })) (if_statement "if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }" if (parenthesized_expression "(100 < param_1)" ( (binary_expression "100 < param_1" number_literal < identifier) )) (compound_statement "{\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }" { (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)();" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" * (cast_expression "(code *)PTR___snprintf_chk_00044cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return param_3;" return identifier ;) })) (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" * (cast_expression "(code *)PTR___snprintf_chk_00044cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1)" ( identifier , number_literal , number_literal , number_literal , (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938" identifier + number_literal) , identifier ))) ;) (return_statement "return param_3;" return identifier ;) })))
(translation_unit "char * humidity_str(uint8_t h,_Bool reporting,char *b,int blen)\n\n{\n  char cVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined3 in_register_00000010;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined3 in_register_00000014;\n  \n  uVar4 = CONCAT31(in_register_00000010,h);\n  if (uVar4 == 0xff) {\n    if (CONCAT31(in_register_00000014,reporting) != 0) {\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    *(undefined4 *)(b + 4) = uVar3;\n    b[8] = cVar1;\n    return b;\n  }\n  if (100 < uVar4) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return b;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4);\n  return b;\n}\n\n" (function_definition "char * humidity_str(uint8_t h,_Bool reporting,char *b,int blen)\n\n{\n  char cVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined3 in_register_00000010;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined3 in_register_00000014;\n  \n  uVar4 = CONCAT31(in_register_00000010,h);\n  if (uVar4 == 0xff) {\n    if (CONCAT31(in_register_00000014,reporting) != 0) {\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    *(undefined4 *)(b + 4) = uVar3;\n    b[8] = cVar1;\n    return b;\n  }\n  if (100 < uVar4) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return b;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4);\n  return b;\n}" primitive_type (pointer_declarator "* humidity_str(uint8_t h,_Bool reporting,char *b,int blen)" * (function_declarator "humidity_str(uint8_t h,_Bool reporting,char *b,int blen)" identifier (parameter_list "(uint8_t h,_Bool reporting,char *b,int blen)" ( (parameter_declaration "uint8_t h" primitive_type identifier) , (parameter_declaration "_Bool reporting" type_identifier identifier) , (parameter_declaration "char *b" primitive_type (pointer_declarator "*b" * identifier)) , (parameter_declaration "int blen" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined3 in_register_00000010;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined3 in_register_00000014;\n  \n  uVar4 = CONCAT31(in_register_00000010,h);\n  if (uVar4 == 0xff) {\n    if (CONCAT31(in_register_00000014,reporting) != 0) {\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    *(undefined4 *)(b + 4) = uVar3;\n    b[8] = cVar1;\n    return b;\n  }\n  if (100 < uVar4) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return b;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4);\n  return b;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined3 in_register_00000010;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (expression_statement "uVar4 = CONCAT31(in_register_00000010,h);" (assignment_expression "uVar4 = CONCAT31(in_register_00000010,h)" identifier = (call_expression "CONCAT31(in_register_00000010,h)" identifier (argument_list "(in_register_00000010,h)" ( identifier , identifier )))) ;) (if_statement "if (uVar4 == 0xff) {\n    if (CONCAT31(in_register_00000014,reporting) != 0) {\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    *(undefined4 *)(b + 4) = uVar3;\n    b[8] = cVar1;\n    return b;\n  }" if (parenthesized_expression "(uVar4 == 0xff)" ( (binary_expression "uVar4 == 0xff" identifier == number_literal) )) (compound_statement "{\n    if (CONCAT31(in_register_00000014,reporting) != 0) {\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    *(undefined4 *)(b + 4) = uVar3;\n    b[8] = cVar1;\n    return b;\n  }" { (if_statement "if (CONCAT31(in_register_00000014,reporting) != 0) {\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }" if (parenthesized_expression "(CONCAT31(in_register_00000014,reporting) != 0)" ( (binary_expression "CONCAT31(in_register_00000014,reporting) != 0" (call_expression "CONCAT31(in_register_00000014,reporting)" identifier (argument_list "(in_register_00000014,reporting)" ( identifier , identifier ))) != number_literal) )) (compound_statement "{\n      uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      *(undefined4 *)(b + 4) = uVar5;\n      *(undefined2 *)(b + 0xc) = uVar2;\n      *(undefined4 *)(b + 8) = uVar3;\n      return b;\n    }" { (expression_statement "uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);" (assignment_expression "uVar5 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);" (assignment_expression "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" * (cast_expression "(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);" (assignment_expression "*(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (pointer_expression "*(undefined4 *)b" * (cast_expression "(undefined4 *)b" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(b + 4) = uVar5;" (assignment_expression "*(undefined4 *)(b + 4) = uVar5" (pointer_expression "*(undefined4 *)(b + 4)" * (cast_expression "(undefined4 *)(b + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(b + 4)" ( (binary_expression "b + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined2 *)(b + 0xc) = uVar2;" (assignment_expression "*(undefined2 *)(b + 0xc) = uVar2" (pointer_expression "*(undefined2 *)(b + 0xc)" * (cast_expression "(undefined2 *)(b + 0xc)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(b + 0xc)" ( (binary_expression "b + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(b + 8) = uVar3;" (assignment_expression "*(undefined4 *)(b + 8) = uVar3" (pointer_expression "*(undefined4 *)(b + 8)" * (cast_expression "(undefined4 *)(b + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(b + 8)" ( (binary_expression "b + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return b;" return identifier ;) })) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940" identifier + number_literal) ))))) ;) (expression_statement "cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];" (assignment_expression "cVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" identifier = (subscript_expression "PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);" (assignment_expression "*(undefined4 *)b = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (pointer_expression "*(undefined4 *)b" * (cast_expression "(undefined4 *)b" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(b + 4) = uVar3;" (assignment_expression "*(undefined4 *)(b + 4) = uVar3" (pointer_expression "*(undefined4 *)(b + 4)" * (cast_expression "(undefined4 *)(b + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(b + 4)" ( (binary_expression "b + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "b[8] = cVar1;" (assignment_expression "b[8] = cVar1" (subscript_expression "b[8]" identifier [ number_literal ]) = identifier) ;) (return_statement "return b;" return identifier ;) })) (if_statement "if (100 < uVar4) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return b;\n  }" if (parenthesized_expression "(100 < uVar4)" ( (binary_expression "100 < uVar4" number_literal < identifier) )) (compound_statement "{\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return b;\n  }" { (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)();" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" * (cast_expression "(code *)PTR___snprintf_chk_00044cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return b;" return identifier ;) })) (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)\n            (b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4);" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)\n            (b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" * (cast_expression "(code *)PTR___snprintf_chk_00044cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(b,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,uVar4)" ( identifier , number_literal , number_literal , number_literal , (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938" identifier + number_literal) , identifier ))) ;) (return_statement "return b;" return identifier ;) })))
(translation_unit "undefined4 * FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}\n\n" (function_definition "undefined4 * FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}" type_identifier (pointer_declarator "* FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)" * (function_declarator "FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(uint param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }" { (if_statement "if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }" { (expression_statement "uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);" (assignment_expression "uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);" (assignment_expression "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" * (cast_expression "(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);" (assignment_expression "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954" identifier + number_literal) ))))) ;) (expression_statement "param_3[1] = uVar4;" (assignment_expression "param_3[1] = uVar4" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined2 *)(param_3 + 3) = uVar2;" (assignment_expression "*(undefined2 *)(param_3 + 3) = uVar2" (pointer_expression "*(undefined2 *)(param_3 + 3)" * (cast_expression "(undefined2 *)(param_3 + 3)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 3)" ( (binary_expression "param_3 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_3[2] = uVar3;" (assignment_expression "param_3[2] = uVar3" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_3;" return identifier ;) })) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];" (assignment_expression "uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" identifier = (subscript_expression "PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);" (assignment_expression "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" * (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" ( (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944" identifier + number_literal) ))))) ;) (expression_statement "param_3[1] = uVar3;" (assignment_expression "param_3[1] = uVar3" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_3 + 2) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 2) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 2)" * (cast_expression "(undefined1 *)(param_3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 2)" ( (binary_expression "param_3 + 2" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_3;" return identifier ;) })) (if_statement "if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }" if (parenthesized_expression "(100 < param_1)" ( (binary_expression "100 < param_1" number_literal < identifier) )) (compound_statement "{\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }" { (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)();" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" * (cast_expression "(code *)PTR___snprintf_chk_00044cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return param_3;" return identifier ;) })) (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" * (cast_expression "(code *)PTR___snprintf_chk_00044cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1)" ( identifier , number_literal , number_literal , number_literal , (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938" identifier + number_literal) , identifier ))) ;) (return_statement "return param_3;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_00020bfc(uint param_1,int param_2,undefined4 *param_3)" (identifier "FUN_00020bfc") (parameter_list "(uint param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }\n  if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }\n  (*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);\n  return param_3;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined2 uVar2;" (type_identifier "undefined2") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (if_statement "if (param_1 == 0xff) {\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }" (if "if") (parenthesized_expression "(param_1 == 0xff)" (( "(") (binary_expression "param_1 == 0xff" (identifier "param_1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n    if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }\n    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);\n    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];\n    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);\n    param_3[1] = uVar3;\n    *(undefined1 *)(param_3 + 2) = uVar1;\n    return param_3;\n  }" ({ "{") (if_statement "if (param_2 != 0) {\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);\n      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);\n      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);\n      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);\n      param_3[1] = uVar4;\n      *(undefined2 *)(param_3 + 3) = uVar2;\n      param_3[2] = uVar3;\n      return param_3;\n    }" ({ "{") (expression_statement "uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);" (assignment_expression "uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" (* "*") (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950)" (( "(") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x2950")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" (* "*") (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c)" (( "(") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x294c")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);" (assignment_expression "uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" (* "*") (cast_expression "(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948)" (( "(") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x2948")) () ")"))))) (; ";")) (expression_statement "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);" (assignment_expression "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (* "*") (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954)" (( "(") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x2954")) () ")"))))) (; ";")) (expression_statement "param_3[1] = uVar4;" (assignment_expression "param_3[1] = uVar4" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined2 *)(param_3 + 3) = uVar2;" (assignment_expression "*(undefined2 *)(param_3 + 3) = uVar2" (pointer_expression "*(undefined2 *)(param_3 + 3)" (* "*") (cast_expression "(undefined2 *)(param_3 + 3)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 3)" (( "(") (binary_expression "param_3 + 3" (identifier "param_3") (+ "+") (number_literal "3")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_3[2] = uVar3;" (assignment_expression "param_3[2] = uVar3" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (expression_statement "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);" (assignment_expression "uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" (* "*") (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940)" (( "(") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x2940")) () ")"))))) (; ";")) (expression_statement "uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];" (assignment_expression "uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" (identifier "uVar1") (= "=") (subscript_expression "PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c]" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") ([ "[") (number_literal "-0x293c") (] "]"))) (; ";")) (expression_statement "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);" (assignment_expression "*param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (* "*") (cast_expression "(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944)" (( "(") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x2944")) () ")"))))) (; ";")) (expression_statement "param_3[1] = uVar3;" (assignment_expression "param_3[1] = uVar3" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined1 *)(param_3 + 2) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 2) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 2)" (* "*") (cast_expression "(undefined1 *)(param_3 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 2)" (( "(") (binary_expression "param_3 + 2" (identifier "param_3") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (if_statement "if (100 < param_1) {\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }" (if "if") (parenthesized_expression "(100 < param_1)" (( "(") (binary_expression "100 < param_1" (number_literal "100") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    (*(code *)PTR___snprintf_chk_00044cc0)();\n    return param_3;\n  }" ({ "{") (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)();" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" (* "*") (cast_expression "(code *)PTR___snprintf_chk_00044cc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_00044cc0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1);" (call_expression "(*(code *)PTR___snprintf_chk_00044cc0)\n            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00044cc0)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_00044cc0" (* "*") (cast_expression "(code *)PTR___snprintf_chk_00044cc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_00044cc0"))) () ")")) (argument_list "(param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,\n             param_1)" (( "(") (identifier "param_3") (, ",") (number_literal "0x20") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (binary_expression "PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938" (identifier "PTR_s_e_capacity_partition_s___MB___00044bac") (+ "+") (number_literal "-0x2938")) (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}")))

char * function_1(uint8_t h,type_1 reporting,char *var_4,int blen)

{
  char cVar1;
  type_2 uVar2;
  type_3 uVar3;
  type_4 in_register_00000010;
  type_5 var_2;
  type_3 uVar5;
  type_4 in_register_00000014;
  
  var_2 = var_1(in_register_00000010,h);
  if (var_2 == 0xff) {
    if (var_1(in_register_00000014,reporting) != 0) {
      uVar5 = *(type_3 *)(var_3 + -0x2950);
      uVar3 = *(type_3 *)(var_3 + -0x294c);
      uVar2 = *(type_2 *)(var_3 + -0x2948);
      *(type_3 *)var_4 = *(type_3 *)(var_3 + -0x2954);
      *(type_3 *)(var_4 + 4) = uVar5;
      *(type_2 *)(var_4 + 0xc) = uVar2;
      *(type_3 *)(var_4 + 8) = uVar3;
      return var_4;
    }
    uVar3 = *(type_3 *)(var_3 + -0x2940);
    cVar1 = var_3[-0x293c];
    *(type_3 *)var_4 = *(type_3 *)(var_3 + -0x2944);
    *(type_3 *)(var_4 + 4) = uVar3;
    var_4[8] = cVar1;
    return var_4;
  }
  if (100 < var_2) {
    (*(type_6 *)PTR___snprintf_chk_00044cc0)();
    return var_4;
  }
  (*(type_6 *)PTR___snprintf_chk_00044cc0)
            (var_4,0x20,1,0xffffffff,var_3 + -0x2938,var_2);
  return var_4;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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 (assignment_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 (assignment_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 (assignment_expression left: (pointer_expression argument: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (expression_statement (assignment_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 (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) 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))) (return_statement (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 (identifier) (number_literal) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (return_statement (identifier)))))

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

{
  undefined1 uVar1;
  undefined2 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (param_1 == 0xff) {
    if (param_2 != 0) {
      uVar4 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2950);
      uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x294c);
      uVar2 = *(undefined2 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2948);
      *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2954);
      param_3[1] = uVar4;
      *(undefined2 *)(param_3 + 3) = uVar2;
      param_3[2] = uVar3;
      return param_3;
    }
    uVar3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2940);
    uVar1 = PTR_s_e_capacity_partition_s___MB___00044bac[-0x293c];
    *param_3 = *(undefined4 *)(PTR_s_e_capacity_partition_s___MB___00044bac + -0x2944);
    param_3[1] = uVar3;
    *(undefined1 *)(param_3 + 2) = uVar1;
    return param_3;
  }
  if (100 < param_1) {
    (*(code *)PTR___snprintf_chk_00044cc0)();
    return param_3;
  }
  (*(code *)PTR___snprintf_chk_00044cc0)
            (param_3,0x20,1,0xffffffff,PTR_s_e_capacity_partition_s___MB___00044bac + -0x2938,
             param_1);
  return param_3;
}

