
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */

uint get_regex_type_context(uint ix)

{
  uint uVar1;
  
  uVar1 = 0;
  if (ix < 0xd) {
    uVar1 = regex_map[ix].context;
  }
  return uVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 FUN_000245a0(uint param_1)

{
  undefined4 uVar1;
  
  uVar1 = 0;
  if (param_1 < 0xd) {
    uVar1 = (&DAT_0006b464)[param_1 * 3];
  }
  return uVar1;
}


CALL 0x0001ba32
ADD ECX,0x46743
MOV EDX,dword ptr [ESP + 0x4]
XOR EAX,EAX
CMP EDX,0xc
JA 0x000245c0
LEA EAX,[EDX + EDX*0x2]
MOV EAX,dword ptr [ECX + EAX*0x4 + 0x77c]
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined4 FUN_000245a0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_000245a0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000245a0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }" if (parenthesized_expression "(param_1 < 0xd)" ( (binary_expression "param_1 < 0xd" identifier < number_literal) )) (compound_statement "{\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }" { (expression_statement "uVar1 = (&DAT_0006b464)[param_1 * 3];" (assignment_expression "uVar1 = (&DAT_0006b464)[param_1 * 3]" identifier = (subscript_expression "(&DAT_0006b464)[param_1 * 3]" (parenthesized_expression "(&DAT_0006b464)" ( (pointer_expression "&DAT_0006b464" & identifier) )) [ (binary_expression "param_1 * 3" identifier * number_literal) ])) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Unknown calling convention */\n\nuint get_regex_type_context(uint ix)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (ix < 0xd) {\n    uVar1 = regex_map[ix].context;\n  }\n  return uVar1;\n}\n\n" comment comment (function_definition "uint get_regex_type_context(uint ix)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (ix < 0xd) {\n    uVar1 = regex_map[ix].context;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "get_regex_type_context(uint ix)" identifier (parameter_list "(uint ix)" ( (parameter_declaration "uint ix" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (ix < 0xd) {\n    uVar1 = regex_map[ix].context;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (ix < 0xd) {\n    uVar1 = regex_map[ix].context;\n  }" if (parenthesized_expression "(ix < 0xd)" ( (binary_expression "ix < 0xd" identifier < number_literal) )) (compound_statement "{\n    uVar1 = regex_map[ix].context;\n  }" { (expression_statement "uVar1 = regex_map[ix].context;" (assignment_expression "uVar1 = regex_map[ix].context" identifier = (field_expression "regex_map[ix].context" (subscript_expression "regex_map[ix]" identifier [ identifier ]) . field_identifier)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_000245a0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000245a0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000245a0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }" if (parenthesized_expression "(param_1 < 0xd)" ( (binary_expression "param_1 < 0xd" identifier < number_literal) )) (compound_statement "{\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }" { (expression_statement "uVar1 = (&DAT_0006b464)[param_1 * 3];" (assignment_expression "uVar1 = (&DAT_0006b464)[param_1 * 3]" identifier = (subscript_expression "(&DAT_0006b464)[param_1 * 3]" (parenthesized_expression "(&DAT_0006b464)" ( (pointer_expression "&DAT_0006b464" & identifier) )) [ (binary_expression "param_1 * 3" identifier * number_literal) ])) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000245a0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_000245a0(uint param_1)" (identifier "FUN_000245a0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 < 0xd) {\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }" (if "if") (parenthesized_expression "(param_1 < 0xd)" (( "(") (binary_expression "param_1 < 0xd" (identifier "param_1") (< "<") (number_literal "0xd")) () ")")) (compound_statement "{\n    uVar1 = (&DAT_0006b464)[param_1 * 3];\n  }" ({ "{") (expression_statement "uVar1 = (&DAT_0006b464)[param_1 * 3];" (assignment_expression "uVar1 = (&DAT_0006b464)[param_1 * 3]" (identifier "uVar1") (= "=") (subscript_expression "(&DAT_0006b464)[param_1 * 3]" (parenthesized_expression "(&DAT_0006b464)" (( "(") (pointer_expression "&DAT_0006b464" (& "&") (identifier "DAT_0006b464")) () ")")) ([ "[") (binary_expression "param_1 * 3" (identifier "param_1") (* "*") (number_literal "3")) (] "]"))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */

type_1 function_1(type_1 var_1)

{
  type_1 uVar1;
  
  uVar1 = 0;
  if (var_1 < 0xd) {
    uVar1 = regex_map[var_1].context;
  }
  return uVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 MASKED(uint param_1)

{
  undefined4 uVar1;
  
  uVar1 = 0;
  if (param_1 < 0xd) {
    uVar1 = (&DAT_0006b464)[param_1 * 3];
  }
  return uVar1;
}

