
int bignum_byte(Bignum_conflict bn,int i)

{
  if ((-1 < i) && (i < (int)(*bn * 4))) {
    return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;
  }
  return 0;
}



uint FUN_00053ee0(int *param_1,uint param_2)

{
  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {
    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;
  }
  return 0;
}


PUSH EBX
MOV ECX,dword ptr [ESP + 0xc]
XOR EAX,EAX
MOV EBX,dword ptr [ESP + 0x8]
TEST ECX,ECX
JS 0x00053ef8
MOV EDX,dword ptr [EBX]
SHL EDX,0x2
CMP EDX,ECX
JG 0x00053f00
POP EBX
RET
MOV EAX,ECX
AND ECX,0x3
SAR EAX,0x2
SHL ECX,0x3
MOV EAX,dword ptr [EBX + EAX*0x4 + 0x4]
POP EBX
SHR EAX,CL
MOVZX EAX,AL
RET
(translation_unit "uint FUN_00053ee0(int *param_1,uint param_2)\n\n{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00053ee0(int *param_1,uint param_2)\n\n{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00053ee0(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}" { (if_statement "if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }" if (parenthesized_expression "((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4))" ( (binary_expression "(-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)" (parenthesized_expression "(-1 < (int)param_2)" ( (binary_expression "-1 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((int)param_2 < *param_1 * 4)" ( (binary_expression "(int)param_2 < *param_1 * 4" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) ))) )) (compound_statement "{\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }" { (return_statement "return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;" return (binary_expression "(uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff" (binary_expression "(uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3)" (cast_expression "(uint)param_1[((int)param_2 >> 2) + 1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[((int)param_2 >> 2) + 1]" identifier [ (binary_expression "((int)param_2 >> 2) + 1" (parenthesized_expression "((int)param_2 >> 2)" ( (binary_expression "(int)param_2 >> 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + number_literal) ])) >> (call_expression "(sbyte)((param_2 & 3) << 3)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "((param_2 & 3) << 3)" ( (binary_expression "(param_2 & 3) << 3" (parenthesized_expression "(param_2 & 3)" ( (binary_expression "param_2 & 3" identifier & number_literal) )) << number_literal) )))) & number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int bignum_byte(Bignum_conflict bn,int i)\n\n{\n  if ((-1 < i) && (i < (int)(*bn * 4))) {\n    return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;\n  }\n  return 0;\n}\n\n" (function_definition "int bignum_byte(Bignum_conflict bn,int i)\n\n{\n  if ((-1 < i) && (i < (int)(*bn * 4))) {\n    return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;\n  }\n  return 0;\n}" primitive_type (function_declarator "bignum_byte(Bignum_conflict bn,int i)" identifier (parameter_list "(Bignum_conflict bn,int i)" ( (parameter_declaration "Bignum_conflict bn" type_identifier identifier) , (parameter_declaration "int i" primitive_type identifier) ))) (compound_statement "{\n  if ((-1 < i) && (i < (int)(*bn * 4))) {\n    return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;\n  }\n  return 0;\n}" { (if_statement "if ((-1 < i) && (i < (int)(*bn * 4))) {\n    return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;\n  }" if (parenthesized_expression "((-1 < i) && (i < (int)(*bn * 4)))" ( (binary_expression "(-1 < i) && (i < (int)(*bn * 4))" (parenthesized_expression "(-1 < i)" ( (binary_expression "-1 < i" number_literal < identifier) )) && (parenthesized_expression "(i < (int)(*bn * 4))" ( (binary_expression "i < (int)(*bn * 4)" identifier < (cast_expression "(int)(*bn * 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*bn * 4)" ( (binary_expression "*bn * 4" (pointer_expression "*bn" * identifier) * number_literal) )))) ))) )) (compound_statement "{\n    return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;\n  }" { (return_statement "return bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff;" return (binary_expression "bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3) & 0xff" (binary_expression "bn[(i >> 2) + 1] >> (sbyte)((i & 3U) << 3)" (subscript_expression "bn[(i >> 2) + 1]" identifier [ (binary_expression "(i >> 2) + 1" (parenthesized_expression "(i >> 2)" ( (binary_expression "i >> 2" identifier >> number_literal) )) + number_literal) ]) >> (call_expression "(sbyte)((i & 3U) << 3)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "((i & 3U) << 3)" ( (binary_expression "(i & 3U) << 3" (parenthesized_expression "(i & 3U)" ( (binary_expression "i & 3U" identifier & number_literal) )) << number_literal) )))) & number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "uint FUN_00053ee0(int *param_1,uint param_2)\n\n{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00053ee0(int *param_1,uint param_2)\n\n{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00053ee0(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}" { (if_statement "if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }" if (parenthesized_expression "((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4))" ( (binary_expression "(-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)" (parenthesized_expression "(-1 < (int)param_2)" ( (binary_expression "-1 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((int)param_2 < *param_1 * 4)" ( (binary_expression "(int)param_2 < *param_1 * 4" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) ))) )) (compound_statement "{\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }" { (return_statement "return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;" return (binary_expression "(uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff" (binary_expression "(uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3)" (cast_expression "(uint)param_1[((int)param_2 >> 2) + 1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[((int)param_2 >> 2) + 1]" identifier [ (binary_expression "((int)param_2 >> 2) + 1" (parenthesized_expression "((int)param_2 >> 2)" ( (binary_expression "(int)param_2 >> 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + number_literal) ])) >> (call_expression "(sbyte)((param_2 & 3) << 3)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "((param_2 & 3) << 3)" ( (binary_expression "(param_2 & 3) << 3" (parenthesized_expression "(param_2 & 3)" ( (binary_expression "param_2 & 3" identifier & number_literal) )) << number_literal) )))) & number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (binary_expression (pointer_expression * IDENT) * LIT)) ))) )) (compound_statement { (return_statement return (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + LIT) ])) >> (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) )))) & LIT) ;) })) (return_statement return LIT ;) })))
(function_definition "uint FUN_00053ee0(int *param_1,uint param_2)\n\n{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}" (type_identifier "uint") (function_declarator "FUN_00053ee0(int *param_1,uint param_2)" (identifier "FUN_00053ee0") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }\n  return 0;\n}" ({ "{") (if_statement "if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }" (if "if") (parenthesized_expression "((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4))" (( "(") (binary_expression "(-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)" (parenthesized_expression "(-1 < (int)param_2)" (( "(") (binary_expression "-1 < (int)param_2" (number_literal "-1") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (&& "&&") (parenthesized_expression "((int)param_2 < *param_1 * 4)" (( "(") (binary_expression "(int)param_2 < *param_1 * 4" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (< "<") (binary_expression "*param_1 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "4"))) () ")"))) () ")")) (compound_statement "{\n    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;\n  }" ({ "{") (return_statement "return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;" (return "return") (binary_expression "(uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff" (binary_expression "(uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3)" (cast_expression "(uint)param_1[((int)param_2 >> 2) + 1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[((int)param_2 >> 2) + 1]" (identifier "param_1") ([ "[") (binary_expression "((int)param_2 >> 2) + 1" (parenthesized_expression "((int)param_2 >> 2)" (( "(") (binary_expression "(int)param_2 >> 2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (>> ">>") (number_literal "2")) () ")")) (+ "+") (number_literal "1")) (] "]"))) (>> ">>") (call_expression "(sbyte)((param_2 & 3) << 3)" (parenthesized_expression "(sbyte)" (( "(") (identifier "sbyte") () ")")) (argument_list "((param_2 & 3) << 3)" (( "(") (binary_expression "(param_2 & 3) << 3" (parenthesized_expression "(param_2 & 3)" (( "(") (binary_expression "param_2 & 3" (identifier "param_2") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")")))) (& "&") (number_literal "0xff")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 bn,int var_1)

{
  if ((-1 < var_1) && (var_1 < (int)(*bn * 4))) {
    return bn[(var_1 >> 2) + 1] >> (sbyte)((var_1 & 3U) << 3) & 0xff;
  }
  return 0;
}


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

uint MASKED(int *param_1,uint param_2)

{
  if ((-1 < (int)param_2) && ((int)param_2 < *param_1 * 4)) {
    return (uint)param_1[((int)param_2 >> 2) + 1] >> (sbyte)((param_2 & 3) << 3) & 0xff;
  }
  return 0;
}

