
char * rpl_re_compile_pattern(char *pattern,size_t length,re_pattern_buffer *bufp)

{
  reg_errcode_t rVar1;
  char *pcVar2;
  reg_syntax_t syntax;
  
  syntax = *(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8;
  bufp->field_0x1c = bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1;
  rVar1 = re_compile_internal(bufp,pattern,length,syntax);
  if (rVar1 != _REG_NOERROR) {
                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)
                               (0,PTR_DAT_0004b1a0 +
                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);
    return pcVar2;
  }
  return (char *)0x0;
}



void rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  *(byte *)(param_3 + 0x1c) =
       *(byte *)(param_3 + 0x1c) & 0xf6 |
       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;
  iVar1 = FUN_00032134(param_3,param_1,param_2);
  if (iVar1 != 0) {
                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_dcgettext_0004b43c)
              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);
    return;
  }
  return;
}


lui gp,0x2
addiu gp,gp,0x1c
addu gp,gp,t9
or v1,a2,zero
lbu v0,0x1c(a2)
or a2,a1,zero
lw t9,-0x7fc8(gp)
or a1,a0,zero
lw a0,-0x7ea8(gp)
addiu sp,sp,-0x20
addiu t9,t9,0x2134
lw a3,0x0(a0)
or a0,v1,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
ext t0,a3,0x19,0x1
ins v0,t0,0x3,0x1
li t0,0x1
ins v0,t0,0x0,0x1
bal 0x00032134
_sb v0,0x1c(v1)
beq v0,zero,0x000331c8
_lw gp,0x10(sp)
sll v1,v0,0x2
lw v0,-0x7fb0(gp)
lw ra,0x1c(sp)
li a2,0x5
lw t9,-0x7d14(gp)
or a0,zero,zero
addiu v0,v0,-0x60bc
addiu sp,sp,0x20
addu v1,v1,v0
lw v0,-0x7fb0(gp)
lw a1,0x0(v1)
addiu v0,v0,-0x6078
jr t9
_addu a1,v0,a1
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;" (assignment_expression "*(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1" (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" ( (binary_expression "((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3" (parenthesized_expression "((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f)" ( (binary_expression "(uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f" (call_expression "(uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6)" ( (binary_expression "*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6" (pointer_expression "*(int *)PTR_rpl_re_syntax_options_0004b2a8" * (cast_expression "(int *)PTR_rpl_re_syntax_options_0004b2a8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) << number_literal) ))) >> number_literal) )) << number_literal) )))) | number_literal)) ;) (expression_statement "iVar1 = FUN_00032134(param_3,param_1,param_2);" (assignment_expression "iVar1 = FUN_00032134(param_3,param_1,param_2)" identifier = (call_expression "FUN_00032134(param_3,param_1,param_2)" identifier (argument_list "(param_3,param_1,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }" { comment comment (expression_statement "(*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);" (call_expression "(*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0004b43c)" ( (pointer_expression "*(code *)PTR_dcgettext_0004b43c" * (cast_expression "(code *)PTR_dcgettext_0004b43c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5)" ( number_literal , (binary_expression "PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078" (binary_expression "PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" identifier + (pointer_expression "*(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" * (cast_expression "(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" ( (binary_expression "PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc" (binary_expression "PTR_DAT_0004b1a0 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) + number_literal) ))))) + number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "char * rpl_re_compile_pattern(char *pattern,size_t length,re_pattern_buffer *bufp)\n\n{\n  reg_errcode_t rVar1;\n  char *pcVar2;\n  reg_syntax_t syntax;\n  \n  syntax = *(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8;\n  bufp->field_0x1c = bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1;\n  rVar1 = re_compile_internal(bufp,pattern,length,syntax);\n  if (rVar1 != _REG_NOERROR) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);\n    return pcVar2;\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * rpl_re_compile_pattern(char *pattern,size_t length,re_pattern_buffer *bufp)\n\n{\n  reg_errcode_t rVar1;\n  char *pcVar2;\n  reg_syntax_t syntax;\n  \n  syntax = *(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8;\n  bufp->field_0x1c = bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1;\n  rVar1 = re_compile_internal(bufp,pattern,length,syntax);\n  if (rVar1 != _REG_NOERROR) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);\n    return pcVar2;\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* rpl_re_compile_pattern(char *pattern,size_t length,re_pattern_buffer *bufp)" * (function_declarator "rpl_re_compile_pattern(char *pattern,size_t length,re_pattern_buffer *bufp)" identifier (parameter_list "(char *pattern,size_t length,re_pattern_buffer *bufp)" ( (parameter_declaration "char *pattern" primitive_type (pointer_declarator "*pattern" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) , (parameter_declaration "re_pattern_buffer *bufp" type_identifier (pointer_declarator "*bufp" * identifier)) )))) (compound_statement "{\n  reg_errcode_t rVar1;\n  char *pcVar2;\n  reg_syntax_t syntax;\n  \n  syntax = *(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8;\n  bufp->field_0x1c = bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1;\n  rVar1 = re_compile_internal(bufp,pattern,length,syntax);\n  if (rVar1 != _REG_NOERROR) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);\n    return pcVar2;\n  }\n  return (char *)0x0;\n}" { (declaration "reg_errcode_t rVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "reg_syntax_t syntax;" type_identifier identifier ;) (expression_statement "syntax = *(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8;" (assignment_expression "syntax = *(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8" identifier = (pointer_expression "*(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8" * (cast_expression "(reg_syntax_t *)PTR_rpl_re_syntax_options_0004b2a8" ( (type_descriptor "reg_syntax_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bufp->field_0x1c = bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1;" (assignment_expression "bufp->field_0x1c = bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1" (field_expression "bufp->field_0x1c" identifier -> field_identifier) = (binary_expression "bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3) | 1" (binary_expression "bufp->field_0x1c & 0xf6 | (byte)(((syntax << 6) >> 0x1f) << 3)" (binary_expression "bufp->field_0x1c & 0xf6" (field_expression "bufp->field_0x1c" identifier -> field_identifier) & number_literal) | (call_expression "(byte)(((syntax << 6) >> 0x1f) << 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((syntax << 6) >> 0x1f) << 3)" ( (binary_expression "((syntax << 6) >> 0x1f) << 3" (parenthesized_expression "((syntax << 6) >> 0x1f)" ( (binary_expression "(syntax << 6) >> 0x1f" (parenthesized_expression "(syntax << 6)" ( (binary_expression "syntax << 6" identifier << number_literal) )) >> number_literal) )) << number_literal) )))) | number_literal)) ;) (expression_statement "rVar1 = re_compile_internal(bufp,pattern,length,syntax);" (assignment_expression "rVar1 = re_compile_internal(bufp,pattern,length,syntax)" identifier = (call_expression "re_compile_internal(bufp,pattern,length,syntax)" identifier (argument_list "(bufp,pattern,length,syntax)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (rVar1 != _REG_NOERROR) {\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);\n    return pcVar2;\n  }" if (parenthesized_expression "(rVar1 != _REG_NOERROR)" ( (binary_expression "rVar1 != _REG_NOERROR" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);\n    return pcVar2;\n  }" { comment comment (expression_statement "pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0004b43c)\n                               (0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0004b43c)" ( (pointer_expression "*(code *)PTR_dcgettext_0004b43c" * (cast_expression "(code *)PTR_dcgettext_0004b43c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078,5)" ( number_literal , (binary_expression "PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc) + -0x6078" (binary_expression "PTR_DAT_0004b1a0 +\n                                  *(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc)" identifier + (pointer_expression "*(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc)" * (cast_expression "(int *)(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc)" ( (binary_expression "PTR_DAT_0004b1a0 + rVar1 * 4 + -0x60bc" (binary_expression "PTR_DAT_0004b1a0 + rVar1 * 4" identifier + (binary_expression "rVar1 * 4" identifier * number_literal)) + number_literal) ))))) + number_literal) , number_literal ))))) ;) (return_statement "return pcVar2;" return identifier ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "void rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;" (assignment_expression "*(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1" (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" ( (binary_expression "((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3" (parenthesized_expression "((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f)" ( (binary_expression "(uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f" (call_expression "(uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6)" ( (binary_expression "*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6" (pointer_expression "*(int *)PTR_rpl_re_syntax_options_0004b2a8" * (cast_expression "(int *)PTR_rpl_re_syntax_options_0004b2a8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) << number_literal) ))) >> number_literal) )) << number_literal) )))) | number_literal)) ;) (expression_statement "iVar1 = FUN_00032134(param_3,param_1,param_2);" (assignment_expression "iVar1 = FUN_00032134(param_3,param_1,param_2)" identifier = (call_expression "FUN_00032134(param_3,param_1,param_2)" identifier (argument_list "(param_3,param_1,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }" { (expression_statement "(*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);" (call_expression "(*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0004b43c)" ( (pointer_expression "*(code *)PTR_dcgettext_0004b43c" * (cast_expression "(code *)PTR_dcgettext_0004b43c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5)" ( number_literal , (binary_expression "PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078" (binary_expression "PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" identifier + (pointer_expression "*(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" * (cast_expression "(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" ( (binary_expression "PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc" (binary_expression "PTR_DAT_0004b1a0 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) + number_literal) ))))) + number_literal) , number_literal ))) ;) (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) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) << LIT) ))) >> LIT) )) << LIT) )))) | LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) + LIT) , LIT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "rpl_re_compile_pattern(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "rpl_re_compile_pattern") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  *(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;\n  iVar1 = FUN_00032134(param_3,param_1,param_2);\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "*(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;" (assignment_expression "*(byte *)(param_3 + 0x1c) =\n       *(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1" (pointer_expression "*(byte *)(param_3 + 0x1c)" (* "*") (cast_expression "(byte *)(param_3 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1" (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6 |\n       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (binary_expression "*(byte *)(param_3 + 0x1c) & 0xf6" (pointer_expression "*(byte *)(param_3 + 0x1c)" (* "*") (cast_expression "(byte *)(param_3 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "0xf6")) (| "|") (call_expression "(byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3)" (( "(") (binary_expression "((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3" (parenthesized_expression "((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f)" (( "(") (binary_expression "(uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f" (call_expression "(uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6)" (( "(") (binary_expression "*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6" (pointer_expression "*(int *)PTR_rpl_re_syntax_options_0004b2a8" (* "*") (cast_expression "(int *)PTR_rpl_re_syntax_options_0004b2a8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_re_syntax_options_0004b2a8"))) (<< "<<") (number_literal "6")) () ")"))) (>> ">>") (number_literal "0x1f")) () ")")) (<< "<<") (number_literal "3")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = FUN_00032134(param_3,param_1,param_2);" (assignment_expression "iVar1 = FUN_00032134(param_3,param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_00032134(param_3,param_1,param_2)" (identifier "FUN_00032134") (argument_list "(param_3,param_1,param_2)" (( "(") (identifier "param_3") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);" (call_expression "(*(code *)PTR_dcgettext_0004b43c)\n              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0004b43c)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0004b43c" (* "*") (cast_expression "(code *)PTR_dcgettext_0004b43c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0004b43c"))) () ")")) (argument_list "(0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078" (binary_expression "PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" (identifier "PTR_DAT_0004b1a0") (+ "+") (pointer_expression "*(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" (* "*") (cast_expression "(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc)" (( "(") (binary_expression "PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc" (binary_expression "PTR_DAT_0004b1a0 + iVar1 * 4" (identifier "PTR_DAT_0004b1a0") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x60bc")) () ")"))))) (+ "+") (number_literal "-0x6078")) (, ",") (number_literal "5") () ")"))) (; ";")) (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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (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: (binary_expression left: (binary_expression left: (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: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))) right: (number_literal))) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (binary_expression left: (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: (identifier) right: (number_literal))) right: (number_literal)))))) right: (number_literal)) (number_literal)))) (return_statement))) (return_statement))))

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

{
  int iVar1;
  
  *(byte *)(param_3 + 0x1c) =
       *(byte *)(param_3 + 0x1c) & 0xf6 |
       (byte)(((uint)(*(int *)PTR_rpl_re_syntax_options_0004b2a8 << 6) >> 0x1f) << 3) | 1;
  iVar1 = FUN_00032134(param_3,param_1,param_2);
  if (iVar1 != 0) {
                    /* WARNING: Could not recover jumptable at 0x000331c0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_dcgettext_0004b43c)
              (0,PTR_DAT_0004b1a0 + *(int *)(PTR_DAT_0004b1a0 + iVar1 * 4 + -0x60bc) + -0x6078,5);
    return;
  }
  return;
}

