
void skeleton_arg(char *arg,int prio,location loc)

{
  undefined *puVar1;
  char *message;
  
  puVar1 = PTR_skeleton_0008d8ec;
  if (prio < *(int *)PTR_skeleton_prio_0008d8e8) {
    *(int *)PTR_skeleton_prio_0008d8e8 = prio;
    *(char **)puVar1 = arg;
  }
  else if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {
    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);
    complain((location *)&stack0x00000008,complaint,message);
    return;
  }
  return;
}



void skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 local_res8;
  undefined4 local_resc;
  
  puVar1 = PTR_skeleton_0008d8ec;
  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {
    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;
    *(undefined4 *)puVar1 = param_1;
  }
  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {
    local_res8 = param_3;
    local_resc = param_4;
    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);
    complain(&local_res8,0x800,uVar2);
    return;
  }
  return;
}


lui gp,0x7
addiu gp,gp,0x3ca4
addu gp,gp,t9
lw v1,-0x7d08(gp)
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw a2,0x28(sp)
sw ra,0x1c(sp)
sw a3,0x2c(sp)
lw v0,0x0(v1)
slt a2,a1,v0
beq a2,zero,0x00021998
_nop
lw v0,-0x7d04(gp)
sw a1,0x0(v1)
sw a0,0x0(v0)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
bne v0,a1,0x00021990
_lw ra,0x1c(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7680(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x2e48
addiu a0,sp,0x28
lw gp,0x10(sp)
li a1,0x800
lw t9,-0x7ebc(gp)
bal 0x0001cda8
_or a2,v0,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_skeleton_0008d8ec;" (assignment_expression "puVar1 = PTR_skeleton_0008d8ec" identifier = identifier) ;) (if_statement "if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" if (parenthesized_expression "(param_2 < *(int *)PTR_skeleton_prio_0008d8e8)" ( (binary_expression "param_2 < *(int *)PTR_skeleton_prio_0008d8e8" identifier < (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }" { (expression_statement "*(int *)PTR_skeleton_prio_0008d8e8 = param_2;" (assignment_expression "*(int *)PTR_skeleton_prio_0008d8e8 = param_2" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)puVar1 = param_1;" (assignment_expression "*(undefined4 *)puVar1 = param_1" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) }) (else_clause "else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" else (if_statement "if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_skeleton_prio_0008d8e8 == param_2)" ( (binary_expression "*(int *)PTR_skeleton_prio_0008d8e8 == param_2" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == identifier) )) (compound_statement "{\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" { (expression_statement "local_res8 = param_3;" (assignment_expression "local_res8 = param_3" identifier = identifier) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x2e48,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x2e48" identifier + number_literal) , number_literal )))) ;) (expression_statement "complain(&local_res8,0x800,uVar2);" (call_expression "complain(&local_res8,0x800,uVar2)" identifier (argument_list "(&local_res8,0x800,uVar2)" ( (pointer_expression "&local_res8" & identifier) , number_literal , identifier ))) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void skeleton_arg(char *arg,int prio,location loc)\n\n{\n  undefined *puVar1;\n  char *message;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (prio < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = prio;\n    *(char **)puVar1 = arg;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void skeleton_arg(char *arg,int prio,location loc)\n\n{\n  undefined *puVar1;\n  char *message;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (prio < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = prio;\n    *(char **)puVar1 = arg;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "skeleton_arg(char *arg,int prio,location loc)" identifier (parameter_list "(char *arg,int prio,location loc)" ( (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "int prio" primitive_type identifier) , (parameter_declaration "location loc" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char *message;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (prio < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = prio;\n    *(char **)puVar1 = arg;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (expression_statement "puVar1 = PTR_skeleton_0008d8ec;" (assignment_expression "puVar1 = PTR_skeleton_0008d8ec" identifier = identifier) ;) (if_statement "if (prio < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = prio;\n    *(char **)puVar1 = arg;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }" if (parenthesized_expression "(prio < *(int *)PTR_skeleton_prio_0008d8e8)" ( (binary_expression "prio < *(int *)PTR_skeleton_prio_0008d8e8" identifier < (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    *(int *)PTR_skeleton_prio_0008d8e8 = prio;\n    *(char **)puVar1 = arg;\n  }" { (expression_statement "*(int *)PTR_skeleton_prio_0008d8e8 = prio;" (assignment_expression "*(int *)PTR_skeleton_prio_0008d8e8 = prio" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(char **)puVar1 = arg;" (assignment_expression "*(char **)puVar1 = arg" (pointer_expression "*(char **)puVar1" * (cast_expression "(char **)puVar1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) }) (else_clause "else if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }" else (if_statement "if (*(int *)PTR_skeleton_prio_0008d8e8 == prio) {\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_skeleton_prio_0008d8e8 == prio)" ( (binary_expression "*(int *)PTR_skeleton_prio_0008d8e8 == prio" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == identifier) )) (compound_statement "{\n    message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain((location *)&stack0x00000008,complaint,message);\n    return;\n  }" { (expression_statement "message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);" (assignment_expression "message = (char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x2e48,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x2e48" identifier + number_literal) , number_literal ))))) ;) (expression_statement "complain((location *)&stack0x00000008,complaint,message);" (call_expression "complain((location *)&stack0x00000008,complaint,message)" identifier (argument_list "((location *)&stack0x00000008,complaint,message)" ( (cast_expression "(location *)&stack0x00000008" ( (type_descriptor "location *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier)) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_skeleton_0008d8ec;" (assignment_expression "puVar1 = PTR_skeleton_0008d8ec" identifier = identifier) ;) (if_statement "if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" if (parenthesized_expression "(param_2 < *(int *)PTR_skeleton_prio_0008d8e8)" ( (binary_expression "param_2 < *(int *)PTR_skeleton_prio_0008d8e8" identifier < (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }" { (expression_statement "*(int *)PTR_skeleton_prio_0008d8e8 = param_2;" (assignment_expression "*(int *)PTR_skeleton_prio_0008d8e8 = param_2" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)puVar1 = param_1;" (assignment_expression "*(undefined4 *)puVar1 = param_1" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) }) (else_clause "else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" else (if_statement "if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_skeleton_prio_0008d8e8 == param_2)" ( (binary_expression "*(int *)PTR_skeleton_prio_0008d8e8 == param_2" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" * (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == identifier) )) (compound_statement "{\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" { (expression_statement "local_res8 = param_3;" (assignment_expression "local_res8 = param_3" identifier = identifier) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x2e48,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x2e48" identifier + number_literal) , number_literal )))) ;) (expression_statement "complain(&local_res8,0x800,uVar2);" (call_expression "complain(&local_res8,0x800,uVar2)" identifier (argument_list "(&local_res8,0x800,uVar2)" ( (pointer_expression "&local_res8" & identifier) , number_literal , identifier ))) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT ))) ;) (return_statement return ;) })))) (return_statement return ;) })))
(function_definition "void skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "skeleton_arg(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "skeleton_arg") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  \n  puVar1 = PTR_skeleton_0008d8ec;\n  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 local_res8;" (type_identifier "undefined4") (identifier "local_res8") (; ";")) (declaration "undefined4 local_resc;" (type_identifier "undefined4") (identifier "local_resc") (; ";")) (expression_statement "puVar1 = PTR_skeleton_0008d8ec;" (assignment_expression "puVar1 = PTR_skeleton_0008d8ec" (identifier "puVar1") (= "=") (identifier "PTR_skeleton_0008d8ec")) (; ";")) (if_statement "if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }\n  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 < *(int *)PTR_skeleton_prio_0008d8e8)" (( "(") (binary_expression "param_2 < *(int *)PTR_skeleton_prio_0008d8e8" (identifier "param_2") (< "<") (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" (* "*") (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_skeleton_prio_0008d8e8")))) () ")")) (compound_statement "{\n    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;\n    *(undefined4 *)puVar1 = param_1;\n  }" ({ "{") (expression_statement "*(int *)PTR_skeleton_prio_0008d8e8 = param_2;" (assignment_expression "*(int *)PTR_skeleton_prio_0008d8e8 = param_2" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" (* "*") (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_skeleton_prio_0008d8e8"))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)puVar1 = param_1;" (assignment_expression "*(undefined4 *)puVar1 = param_1" (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" (else "else") (if_statement "if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_skeleton_prio_0008d8e8 == param_2)" (( "(") (binary_expression "*(int *)PTR_skeleton_prio_0008d8e8 == param_2" (pointer_expression "*(int *)PTR_skeleton_prio_0008d8e8" (* "*") (cast_expression "(int *)PTR_skeleton_prio_0008d8e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_skeleton_prio_0008d8e8"))) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    local_res8 = param_3;\n    local_resc = param_4;\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);\n    complain(&local_res8,0x800,uVar2);\n    return;\n  }" ({ "{") (expression_statement "local_res8 = param_3;" (assignment_expression "local_res8 = param_3" (identifier "local_res8") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0008df70" (* "*") (cast_expression "(code *)PTR_dcgettext_0008df70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0008df70"))) () ")")) (argument_list "(0,PTR_LAB_0008d628 + 0x2e48,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_0008d628 + 0x2e48" (identifier "PTR_LAB_0008d628") (+ "+") (number_literal "0x2e48")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "complain(&local_res8,0x800,uVar2);" (call_expression "complain(&local_res8,0x800,uVar2)" (identifier "complain") (argument_list "(&local_res8,0x800,uVar2)" (( "(") (pointer_expression "&local_res8" (& "&") (identifier "local_res8")) (, ",") (number_literal "0x800") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (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)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier)))) (return_statement))))) (return_statement))))

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

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 local_res8;
  undefined4 local_resc;
  
  puVar1 = PTR_skeleton_0008d8ec;
  if (param_2 < *(int *)PTR_skeleton_prio_0008d8e8) {
    *(int *)PTR_skeleton_prio_0008d8e8 = param_2;
    *(undefined4 *)puVar1 = param_1;
  }
  else if (*(int *)PTR_skeleton_prio_0008d8e8 == param_2) {
    local_res8 = param_3;
    local_resc = param_4;
    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x2e48,5);
    complain(&local_res8,0x800,uVar2);
    return;
  }
  return;
}

