
_Bool fnmatch_pattern_has_wildcards(char *str,int options)

{
  byte bVar1;
  undefined1 uVar2;
  
  bVar1 = *str;
  while( true ) {
    if (bVar1 < 0x7e) break;
    bVar1 = str[1];
    str = str + 1;
  }
                    /* WARNING: Could not emulate address calculation at 0x00016744 */
                    /* WARNING: Treating indirect jump as call */
  uVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2);
  return (_Bool)uVar2;
}



void fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)

{
  byte bVar1;
  
  bVar1 = *param_1;
  while( true ) {
    if (bVar1 < 0x7e) break;
    bVar1 = param_1[1];
    param_1 = param_1 + 1;
  }
                    /* WARNING: Could not emulate address calculation at 0x00016744 */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);
  return;
}


lui gp,0x4
addiu gp,gp,0x49dc
addu gp,gp,t9
lw a2,-0x7fc8(gp)
lui v1,0x800
lb v0,0x0(a0)
li t2,0x28
andi t1,a1,0x20
addiu a2,a2,0x190
and t0,a1,v1
andi a1,a1,0x2
andi v0,v0,0xff
sltiu v1,v0,0x7e
beq v1,zero,0x00016768
_addiu a3,a0,0x1
sll v0,v0,0x2
addu v0,a2,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
jr ra
_li v0,0x1
bne t0,zero,0x000167c4
_nop
lb v0,0x1(a0)
b 0x00016730
_or a0,a3,zero
bne t0,zero,0x00016768
_nop
bne a1,zero,0x00016794
_nop
lb v0,0x1(a0)
beq v0,zero,0x00016794
_nop
addiu a3,a0,0x2
lb v0,0x0(a3)
b 0x00016730
_or a0,a3,zero
beq t1,zero,0x00016768
_nop
lb v0,0x1(a0)
beq v0,t2,0x00016758
_or a0,a3,zero
b 0x00016734
_andi v0,v0,0xff
jr ra
_or v0,zero,zero
jr ra
_li v0,0x1
(translation_unit "void fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)\n\n{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    /* WARNING: Could not emulate address calculation at 0x00016744 */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}\n\n" (function_definition "void fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)\n\n{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    /* WARNING: Could not emulate address calculation at 0x00016744 */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}" primitive_type (function_declarator "fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)" identifier (parameter_list "(byte *param_1,uint param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    /* WARNING: Could not emulate address calculation at 0x00016744 */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }" { (if_statement "if (bVar1 < 0x7e) break;" if (parenthesized_expression "(bVar1 < 0x7e)" ( (binary_expression "bVar1 < 0x7e" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2)" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" ( (binary_expression "&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" * (cast_expression "(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" ( (binary_expression "PTR_UINT_00053118 + (uint)bVar1 * 4 + 400" (binary_expression "PTR_UINT_00053118 + (uint)bVar1 * 4" identifier + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "(param_1,param_2 & 2)" ( identifier , (binary_expression "param_2 & 2" identifier & number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "_Bool fnmatch_pattern_has_wildcards(char *str,int options)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  \n  bVar1 = *str;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = str[1];\n    str = str + 1;\n  }\n                    /* WARNING: Could not emulate address calculation at 0x00016744 */\n                    /* WARNING: Treating indirect jump as call */\n  uVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2);\n  return (_Bool)uVar2;\n}\n\n" (function_definition "_Bool fnmatch_pattern_has_wildcards(char *str,int options)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  \n  bVar1 = *str;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = str[1];\n    str = str + 1;\n  }\n                    /* WARNING: Could not emulate address calculation at 0x00016744 */\n                    /* WARNING: Treating indirect jump as call */\n  uVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2);\n  return (_Bool)uVar2;\n}" type_identifier (function_declarator "fnmatch_pattern_has_wildcards(char *str,int options)" identifier (parameter_list "(char *str,int options)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "int options" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined1 uVar2;\n  \n  bVar1 = *str;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = str[1];\n    str = str + 1;\n  }\n                    /* WARNING: Could not emulate address calculation at 0x00016744 */\n                    /* WARNING: Treating indirect jump as call */\n  uVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2);\n  return (_Bool)uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (expression_statement "bVar1 = *str;" (assignment_expression "bVar1 = *str" identifier = (pointer_expression "*str" * identifier)) ;) (while_statement "while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = str[1];\n    str = str + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (bVar1 < 0x7e) break;\n    bVar1 = str[1];\n    str = str + 1;\n  }" { (if_statement "if (bVar1 < 0x7e) break;" if (parenthesized_expression "(bVar1 < 0x7e)" ( (binary_expression "bVar1 < 0x7e" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = str[1];" (assignment_expression "bVar1 = str[1]" identifier = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "str = str + 1;" (assignment_expression "str = str + 1" identifier = (binary_expression "str + 1" identifier + number_literal)) ;) })) comment comment (expression_statement "uVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2);" (assignment_expression "uVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2)" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))(str,options & 2)" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)" * (cast_expression "(int *)(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00053118 + (uint)bVar1 * 4 + 400)" ( (binary_expression "PTR_DAT_00053118 + (uint)bVar1 * 4 + 400" (binary_expression "PTR_DAT_00053118 + (uint)bVar1 * 4" identifier + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "(str,options & 2)" ( identifier , (binary_expression "options & 2" identifier & number_literal) )))) ;) (return_statement "return (_Bool)uVar2;" return (cast_expression "(_Bool)uVar2" ( (type_descriptor "_Bool" type_identifier) ) identifier) ;) })))
(translation_unit "void fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)\n\n{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    \n                    \n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}\n\n" (function_definition "void fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)\n\n{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    \n                    \n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}" primitive_type (function_declarator "fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)" identifier (parameter_list "(byte *param_1,uint param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    \n                    \n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }" { (if_statement "if (bVar1 < 0x7e) break;" if (parenthesized_expression "(bVar1 < 0x7e)" ( (binary_expression "bVar1 < 0x7e" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2)" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" ( (binary_expression "&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" * (cast_expression "(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" ( (binary_expression "PTR_UINT_00053118 + (uint)bVar1 * 4 + 400" (binary_expression "PTR_UINT_00053118 + (uint)bVar1 * 4" identifier + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "(param_1,param_2 & 2)" ( identifier , (binary_expression "param_2 & 2" identifier & number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))))) )))) )) (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) ;) (return_statement return ;) })))
(function_definition "void fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)\n\n{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    \n                    \n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}" (primitive_type "void") (function_declarator "fnmatch_pattern_has_wildcards(byte *param_1,uint param_2)" (identifier "fnmatch_pattern_has_wildcards") (parameter_list "(byte *param_1,uint param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *param_1;\n  while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }\n                    \n                    \n  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (while_statement "while( true ) {\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (bVar1 < 0x7e) break;\n    bVar1 = param_1[1];\n    param_1 = param_1 + 1;\n  }" ({ "{") (if_statement "if (bVar1 < 0x7e) break;" (if "if") (parenthesized_expression "(bVar1 < 0x7e)" (( "(") (binary_expression "bVar1 < 0x7e" (identifier "bVar1") (< "<") (number_literal "0x7e")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" (identifier "bVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2)" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" (* "*") (cast_expression "(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)" (( "(") (binary_expression "PTR_UINT_00053118 + (uint)bVar1 * 4 + 400" (binary_expression "PTR_UINT_00053118 + (uint)bVar1 * 4" (identifier "PTR_UINT_00053118") (+ "+") (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "4"))) (+ "+") (number_literal "400")) () ")"))))) () ")")))) () ")")) (argument_list "(param_1,param_2 & 2)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 & 2" (identifier "param_2") (& "&") (number_literal "2")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 function_1(char *var_2,int var_4)

{
  type_2 var_1;
  type_3 uVar2;
  
  var_1 = *var_2;
  while( true ) {
    if (var_1 < 0x7e) break;
    var_1 = var_2[1];
    var_2 = var_2 + 1;
  }
                    /* WARNING: Could not emulate address calculation at 0x00016744 */
                    /* WARNING: Treating indirect jump as call */
  uVar2 = (*(type_4 *)(&_gp + *(int *)(var_3 + (type_5)var_1 * 4 + 400)))(var_2,var_4 & 2);
  return (type_1)uVar2;
}


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

void MASKED(byte *param_1,uint param_2)

{
  byte bVar1;
  
  bVar1 = *param_1;
  while( true ) {
    if (bVar1 < 0x7e) break;
    bVar1 = param_1[1];
    param_1 = param_1 + 1;
  }
                    /* WARNING: Could not emulate address calculation at 0x00016744 */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)(&_gp_1 + *(int *)(PTR_UINT_00053118 + (uint)bVar1 * 4 + 400)))(param_1,param_2 & 2);
  return;
}

