
_Bool set_extend_size(uintmax_t tabval)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 in_a0;
  undefined4 in_a1;
  
  puVar1 = PTR_DAT_0002a108;
  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {
    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;
    *(undefined4 *)(puVar1 + -0x5c98) = in_a0;
    return true;
  }
  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);
  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);
  *(undefined4 *)(puVar1 + -0x5c94) = in_a1;
  *(undefined4 *)(puVar1 + -0x5c98) = in_a0;
  return false;
}



undefined4 FUN_000124b0(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_DAT_0002a108;
  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {
    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;
    *(undefined4 *)(puVar1 + -0x5c98) = param_1;
    return 1;
  }
  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);
  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);
  *(undefined4 *)(puVar1 + -0x5c94) = param_2;
  *(undefined4 *)(puVar1 + -0x5c98) = param_1;
  return 0;
}


lui gp,0x2
addiu gp,gp,-0x3d0
addu gp,gp,t9
addiu sp,sp,-0x28
sw s0,0x18(sp)
lw s0,-0x7fd8(gp)
sw gp,0x10(sp)
sw s3,0x20(sp)
or s3,a1,zero
sw s2,0x1c(sp)
sw ra,0x24(sp)
lw v0,-0x5c98(s0)
lw v1,-0x5c94(s0)
or v0,v0,v1
bne v0,zero,0x00012514
_or s2,a0,zero
lw ra,0x24(sp)
li v0,0x1
sw s3,-0x5c94(s0)
sw s2,-0x5c98(s0)
lw s3,0x20(sp)
lw s2,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7df4(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x7490
or a1,zero,zero
lw gp,0x10(sp)
or a0,zero,zero
lw t9,-0x7e18(gp)
jalr t9
_or a2,v0,zero
or v0,zero,zero
lw ra,0x24(sp)
sw s3,-0x5c94(s0)
sw s2,-0x5c98(s0)
lw s3,0x20(sp)
lw s2,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_000124b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000124b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}" type_identifier (function_declarator "FUN_000124b0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002a108;" (assignment_expression "puVar1 = PTR_DAT_0002a108" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98)" * (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c98)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c98" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94)" * (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c94" identifier + number_literal) )))) == number_literal)) )) (compound_statement "{\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }" { (expression_statement "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c94" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = param_1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = param_1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c98)" ( (binary_expression "puVar1 + -0x5c98" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002a2ec)" ( (pointer_expression "*(code *)PTR_dcgettext_0002a2ec" * (cast_expression "(code *)PTR_dcgettext_0002a2ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002a118 + -0x7490,5)" ( number_literal , (binary_expression "PTR_DAT_0002a118 + -0x7490" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0002a2c8)(0,0,uVar2);" (call_expression "(*(code *)PTR_error_0002a2c8)(0,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0002a2c8)" ( (pointer_expression "*(code *)PTR_error_0002a2c8" * (cast_expression "(code *)PTR_error_0002a2c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0,uVar2)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c94) = param_2;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c94) = param_2" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c94)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c94)" ( (binary_expression "puVar1 + -0x5c94" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = param_1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = param_1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c98)" ( (binary_expression "puVar1 + -0x5c98" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "_Bool set_extend_size(uintmax_t tabval)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 in_a0;\n  undefined4 in_a1;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;\n    *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n    return true;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = in_a1;\n  *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n  return false;\n}\n\n" (function_definition "_Bool set_extend_size(uintmax_t tabval)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 in_a0;\n  undefined4 in_a1;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;\n    *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n    return true;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = in_a1;\n  *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n  return false;\n}" type_identifier (function_declarator "set_extend_size(uintmax_t tabval)" identifier (parameter_list "(uintmax_t tabval)" ( (parameter_declaration "uintmax_t tabval" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 in_a0;\n  undefined4 in_a1;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;\n    *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n    return true;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = in_a1;\n  *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n  return false;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 in_a0;" type_identifier identifier ;) (declaration "undefined4 in_a1;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002a108;" (assignment_expression "puVar1 = PTR_DAT_0002a108" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;\n    *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n    return true;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98)" * (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c98)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c98" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94)" * (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c94" identifier + number_literal) )))) == number_literal)) )) (compound_statement "{\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;\n    *(undefined4 *)(puVar1 + -0x5c98) = in_a0;\n    return true;\n  }" { (expression_statement "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = in_a1" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c94" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = in_a0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = in_a0" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c98)" ( (binary_expression "puVar1 + -0x5c98" identifier + number_literal) )))) = identifier) ;) (return_statement "return true;" return true ;) })) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002a2ec)" ( (pointer_expression "*(code *)PTR_dcgettext_0002a2ec" * (cast_expression "(code *)PTR_dcgettext_0002a2ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002a118 + -0x7490,5)" ( number_literal , (binary_expression "PTR_DAT_0002a118 + -0x7490" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0002a2c8)(0,0,uVar2);" (call_expression "(*(code *)PTR_error_0002a2c8)(0,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0002a2c8)" ( (pointer_expression "*(code *)PTR_error_0002a2c8" * (cast_expression "(code *)PTR_error_0002a2c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0,uVar2)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c94) = in_a1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c94) = in_a1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c94)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c94)" ( (binary_expression "puVar1 + -0x5c94" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = in_a0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = in_a0" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c98)" ( (binary_expression "puVar1 + -0x5c98" identifier + number_literal) )))) = identifier) ;) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_000124b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000124b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}" type_identifier (function_declarator "FUN_000124b0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002a108;" (assignment_expression "puVar1 = PTR_DAT_0002a108" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98)" * (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c98)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c98" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94)" * (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c94" identifier + number_literal) )))) == number_literal)) )) (compound_statement "{\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }" { (expression_statement "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" ( (binary_expression "PTR_DAT_0002a108 + -0x5c94" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = param_1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = param_1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c98)" ( (binary_expression "puVar1 + -0x5c98" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002a2ec)" ( (pointer_expression "*(code *)PTR_dcgettext_0002a2ec" * (cast_expression "(code *)PTR_dcgettext_0002a2ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002a118 + -0x7490,5)" ( number_literal , (binary_expression "PTR_DAT_0002a118 + -0x7490" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0002a2c8)(0,0,uVar2);" (call_expression "(*(code *)PTR_error_0002a2c8)(0,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0002a2c8)" ( (pointer_expression "*(code *)PTR_error_0002a2c8" * (cast_expression "(code *)PTR_error_0002a2c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0,uVar2)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c94) = param_2;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c94) = param_2" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c94)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c94)" ( (binary_expression "puVar1 + -0x5c94" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = param_1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = param_1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" * (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5c98)" ( (binary_expression "puVar1 + -0x5c98" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000124b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000124b0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_000124b0") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_DAT_0002a108;\n  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }\n  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);\n  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);\n  *(undefined4 *)(puVar1 + -0x5c94) = param_2;\n  *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = PTR_DAT_0002a108;" (assignment_expression "puVar1 = PTR_DAT_0002a108" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0002a108")) (; ";")) (if_statement "if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c98)" (* "*") (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c98)" (( "(") (binary_expression "PTR_DAT_0002a108 + -0x5c98" (identifier "PTR_DAT_0002a108") (+ "+") (number_literal "-0x5c98")) () ")")))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94) == 0" (pointer_expression "*(int *)(PTR_DAT_0002a108 + -0x5c94)" (* "*") (cast_expression "(int *)(PTR_DAT_0002a108 + -0x5c94)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" (( "(") (binary_expression "PTR_DAT_0002a108 + -0x5c94" (identifier "PTR_DAT_0002a108") (+ "+") (number_literal "-0x5c94")) () ")")))) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;\n    *(undefined4 *)(puVar1 + -0x5c98) = param_1;\n    return 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0002a108 + -0x5c94)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a108 + -0x5c94)" (( "(") (binary_expression "PTR_DAT_0002a108 + -0x5c94" (identifier "PTR_DAT_0002a108") (+ "+") (number_literal "-0x5c94")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = param_1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = param_1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5c98)" (( "(") (binary_expression "puVar1 + -0x5c98" (identifier "puVar1") (+ "+") (number_literal "-0x5c98")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002a2ec)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002a2ec" (* "*") (cast_expression "(code *)PTR_dcgettext_0002a2ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002a2ec"))) () ")")) (argument_list "(0,PTR_DAT_0002a118 + -0x7490,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002a118 + -0x7490" (identifier "PTR_DAT_0002a118") (+ "+") (number_literal "-0x7490")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_0002a2c8)(0,0,uVar2);" (call_expression "(*(code *)PTR_error_0002a2c8)(0,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0002a2c8)" (( "(") (pointer_expression "*(code *)PTR_error_0002a2c8" (* "*") (cast_expression "(code *)PTR_error_0002a2c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_0002a2c8"))) () ")")) (argument_list "(0,0,uVar2)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x5c94) = param_2;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c94) = param_2" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c94)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5c94)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5c94)" (( "(") (binary_expression "puVar1 + -0x5c94" (identifier "puVar1") (+ "+") (number_literal "-0x5c94")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x5c98) = param_1;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5c98) = param_1" (pointer_expression "*(undefined4 *)(puVar1 + -0x5c98)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5c98)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5c98)" (( "(") (binary_expression "puVar1 + -0x5c98" (identifier "puVar1") (+ "+") (number_literal "-0x5c98")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (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 (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (number_literal) (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: (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 (number_literal)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_DAT_0002a108;
  if (*(int *)(PTR_DAT_0002a108 + -0x5c98) == 0 && *(int *)(PTR_DAT_0002a108 + -0x5c94) == 0) {
    *(undefined4 *)(PTR_DAT_0002a108 + -0x5c94) = param_2;
    *(undefined4 *)(puVar1 + -0x5c98) = param_1;
    return 1;
  }
  uVar2 = (*(code *)PTR_dcgettext_0002a2ec)(0,PTR_DAT_0002a118 + -0x7490,5);
  (*(code *)PTR_error_0002a2c8)(0,0,uVar2);
  *(undefined4 *)(puVar1 + -0x5c94) = param_2;
  *(undefined4 *)(puVar1 + -0x5c98) = param_1;
  return 0;
}

