
size_t wsnode_len(wordsplit_node *p)

{
  size_t sVar1;
  
  if ((p->flags & 1U) != 0) {
    return 0;
  }
  sVar1 = (p->v).segm.beg;
  if ((p->flags & 2U) != 0) {
                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);
    return sVar1;
  }
  return (p->v).segm.end - sVar1;
}



int FUN_00020b5c(int param_1)

{
  int iVar1;
  
  if ((*(uint *)(param_1 + 8) & 1) != 0) {
    return 0;
  }
  if ((*(uint *)(param_1 + 8) & 2) != 0) {
                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));
    return iVar1;
  }
  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);
}


lui gp,0x3
addiu gp,gp,-0x332c
addu gp,gp,t9
lw v0,0x8(a0)
andi v1,v0,0x1
bne v1,zero,0x00020b9c
_nop
andi v0,v0,0x2
beq v0,zero,0x00020b90
_lw v1,0xc(a0)
lw t9,-0x7bd0(gp)
jr t9
_or a0,v1,zero
lw v0,0x10(a0)
jr ra
_subu v0,v0,v1
jr ra
_or v0,zero,zero
(translation_unit "int FUN_00020b5c(int param_1)\n\n{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}\n\n" (function_definition "int FUN_00020b5c(int param_1)\n\n{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}" primitive_type (function_declarator "FUN_00020b5c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 8) & 1) != 0)" ( (binary_expression "(*(uint *)(param_1 + 8) & 1) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 1)" ( (binary_expression "*(uint *)(param_1 + 8) & 1" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 8) & 2) != 0)" ( (binary_expression "(*(uint *)(param_1 + 8) & 2) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 2)" ( (binary_expression "*(uint *)(param_1 + 8) & 2" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc))" identifier = (call_expression "(*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc))" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" ( (pointer_expression "*(code *)PTR_strlen_00045c60" * (cast_expression "(code *)PTR_strlen_00045c60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 0xc))" ( (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);" return (binary_expression "*(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })))
(translation_unit "size_t wsnode_len(wordsplit_node *p)\n\n{\n  size_t sVar1;\n  \n  if ((p->flags & 1U) != 0) {\n    return 0;\n  }\n  sVar1 = (p->v).segm.beg;\n  if ((p->flags & 2U) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);\n    return sVar1;\n  }\n  return (p->v).segm.end - sVar1;\n}\n\n" (function_definition "size_t wsnode_len(wordsplit_node *p)\n\n{\n  size_t sVar1;\n  \n  if ((p->flags & 1U) != 0) {\n    return 0;\n  }\n  sVar1 = (p->v).segm.beg;\n  if ((p->flags & 2U) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);\n    return sVar1;\n  }\n  return (p->v).segm.end - sVar1;\n}" primitive_type (function_declarator "wsnode_len(wordsplit_node *p)" identifier (parameter_list "(wordsplit_node *p)" ( (parameter_declaration "wordsplit_node *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  \n  if ((p->flags & 1U) != 0) {\n    return 0;\n  }\n  sVar1 = (p->v).segm.beg;\n  if ((p->flags & 2U) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);\n    return sVar1;\n  }\n  return (p->v).segm.end - sVar1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (if_statement "if ((p->flags & 1U) != 0) {\n    return 0;\n  }" if (parenthesized_expression "((p->flags & 1U) != 0)" ( (binary_expression "(p->flags & 1U) != 0" (parenthesized_expression "(p->flags & 1U)" ( (binary_expression "p->flags & 1U" (field_expression "p->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "sVar1 = (p->v).segm.beg;" (assignment_expression "sVar1 = (p->v).segm.beg" identifier = (field_expression "(p->v).segm.beg" (field_expression "(p->v).segm" (parenthesized_expression "(p->v)" ( (field_expression "p->v" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if ((p->flags & 2U) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);\n    return sVar1;\n  }" if (parenthesized_expression "((p->flags & 2U) != 0)" ( (binary_expression "(p->flags & 2U) != 0" (parenthesized_expression "(p->flags & 2U)" ( (binary_expression "p->flags & 2U" (field_expression "p->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);\n    return sVar1;\n  }" { comment comment (expression_statement "sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1);" (assignment_expression "sVar1 = (*(code *)PTR_strlen_00045c60)(sVar1)" identifier = (call_expression "(*(code *)PTR_strlen_00045c60)(sVar1)" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" ( (pointer_expression "*(code *)PTR_strlen_00045c60" * (cast_expression "(code *)PTR_strlen_00045c60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(sVar1)" ( identifier )))) ;) (return_statement "return sVar1;" return identifier ;) })) (return_statement "return (p->v).segm.end - sVar1;" return (binary_expression "(p->v).segm.end - sVar1" (field_expression "(p->v).segm.end" (field_expression "(p->v).segm" (parenthesized_expression "(p->v)" ( (field_expression "p->v" identifier -> field_identifier) )) . field_identifier) . field_identifier) - identifier) ;) })))
(translation_unit "int FUN_00020b5c(int param_1)\n\n{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}\n\n" (function_definition "int FUN_00020b5c(int param_1)\n\n{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}" primitive_type (function_declarator "FUN_00020b5c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 8) & 1) != 0)" ( (binary_expression "(*(uint *)(param_1 + 8) & 1) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 1)" ( (binary_expression "*(uint *)(param_1 + 8) & 1" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 8) & 2) != 0)" ( (binary_expression "(*(uint *)(param_1 + 8) & 2) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 2)" ( (binary_expression "*(uint *)(param_1 + 8) & 2" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc))" identifier = (call_expression "(*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc))" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" ( (pointer_expression "*(code *)PTR_strlen_00045c60" * (cast_expression "(code *)PTR_strlen_00045c60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 0xc))" ( (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);" return (binary_expression "*(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))
(function_definition "int FUN_00020b5c(int param_1)\n\n{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}" (primitive_type "int") (function_declarator "FUN_00020b5c(int param_1)" (identifier "FUN_00020b5c") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }\n  if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }\n  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((*(uint *)(param_1 + 8) & 1) != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 8) & 1) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 8) & 1) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 1)" (( "(") (binary_expression "*(uint *)(param_1 + 8) & 1" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(uint *)(param_1 + 8) & 2) != 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 8) & 2) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 8) & 2) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 2)" (( "(") (binary_expression "*(uint *)(param_1 + 8) & 2" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc))" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" (( "(") (pointer_expression "*(code *)PTR_strlen_00045c60" (* "*") (cast_expression "(code *)PTR_strlen_00045c60" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00045c60"))) () ")")) (argument_list "(*(int *)(param_1 + 0xc))" (( "(") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (return_statement "return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);" (return "return") (binary_expression "*(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc)" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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: (number_literal))) right: (number_literal))) consequence: (compound_statement (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 (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))))))))) (return_statement (identifier)))) (return_statement (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: (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))))))))))

int MASKED(int param_1)

{
  int iVar1;
  
  if ((*(uint *)(param_1 + 8) & 1) != 0) {
    return 0;
  }
  if ((*(uint *)(param_1 + 8) & 2) != 0) {
                    /* WARNING: Could not recover jumptable at 0x00020b88. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_strlen_00045c60)(*(int *)(param_1 + 0xc));
    return iVar1;
  }
  return *(int *)(param_1 + 0x10) - *(int *)(param_1 + 0xc);
}

