
/* WARNING: Unknown calling convention */

unw_rec_list * output_lc_sprel(uint offset)

{
  unw_rec_list *puVar1;
  
  puVar1 = alloc_record(lc_sprel);
  (puVar1->r).record.r.mask.i = (uchar *)(offset >> 2);
  return puVar1;
}



void FUN_00041880(uint param_1)

{
  int iVar1;
  
  iVar1 = FUN_00041760();
  *(uint *)(iVar1 + 0x10) = param_1 >> 2;
  return;
}


SUB ESP,0xc
MOV EAX,0x23
CALL 0x00041760
MOV EDX,dword ptr [ESP + 0x10]
SHR EDX,0x2
MOV dword ptr [EAX + 0x10],EDX
ADD ESP,0xc
RET
(translation_unit "void FUN_00041880(uint param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}\n\n" (function_definition "void FUN_00041880(uint param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}" primitive_type (function_declarator "FUN_00041880(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00041760();" (assignment_expression "iVar1 = FUN_00041760()" identifier = (call_expression "FUN_00041760()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(iVar1 + 0x10) = param_1 >> 2;" (assignment_expression "*(uint *)(iVar1 + 0x10) = param_1 >> 2" (pointer_expression "*(uint *)(iVar1 + 0x10)" * (cast_expression "(uint *)(iVar1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = (binary_expression "param_1 >> 2" identifier >> number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nunw_rec_list * output_lc_sprel(uint offset)\n\n{\n  unw_rec_list *puVar1;\n  \n  puVar1 = alloc_record(lc_sprel);\n  (puVar1->r).record.r.mask.i = (uchar *)(offset >> 2);\n  return puVar1;\n}\n\n" comment (function_definition "unw_rec_list * output_lc_sprel(uint offset)\n\n{\n  unw_rec_list *puVar1;\n  \n  puVar1 = alloc_record(lc_sprel);\n  (puVar1->r).record.r.mask.i = (uchar *)(offset >> 2);\n  return puVar1;\n}" type_identifier (pointer_declarator "* output_lc_sprel(uint offset)" * (function_declarator "output_lc_sprel(uint offset)" identifier (parameter_list "(uint offset)" ( (parameter_declaration "uint offset" type_identifier identifier) )))) (compound_statement "{\n  unw_rec_list *puVar1;\n  \n  puVar1 = alloc_record(lc_sprel);\n  (puVar1->r).record.r.mask.i = (uchar *)(offset >> 2);\n  return puVar1;\n}" { (declaration "unw_rec_list *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = alloc_record(lc_sprel);" (assignment_expression "puVar1 = alloc_record(lc_sprel)" identifier = (call_expression "alloc_record(lc_sprel)" identifier (argument_list "(lc_sprel)" ( identifier )))) ;) (expression_statement "(puVar1->r).record.r.mask.i = (uchar *)(offset >> 2);" (assignment_expression "(puVar1->r).record.r.mask.i = (uchar *)(offset >> 2)" (field_expression "(puVar1->r).record.r.mask.i" (field_expression "(puVar1->r).record.r.mask" (field_expression "(puVar1->r).record.r" (field_expression "(puVar1->r).record" (parenthesized_expression "(puVar1->r)" ( (field_expression "puVar1->r" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(uchar *)(offset >> 2)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(offset >> 2)" ( (binary_expression "offset >> 2" identifier >> number_literal) )))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "void FUN_00041880(uint param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}\n\n" (function_definition "void FUN_00041880(uint param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}" primitive_type (function_declarator "FUN_00041880(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00041760();" (assignment_expression "iVar1 = FUN_00041760()" identifier = (call_expression "FUN_00041760()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(iVar1 + 0x10) = param_1 >> 2;" (assignment_expression "*(uint *)(iVar1 + 0x10) = param_1 >> 2" (pointer_expression "*(uint *)(iVar1 + 0x10)" * (cast_expression "(uint *)(iVar1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = (binary_expression "param_1 >> 2" identifier >> number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT >> LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00041880(uint param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00041880(uint param_1)" (identifier "FUN_00041880") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00041760();\n  *(uint *)(iVar1 + 0x10) = param_1 >> 2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00041760();" (assignment_expression "iVar1 = FUN_00041760()" (identifier "iVar1") (= "=") (call_expression "FUN_00041760()" (identifier "FUN_00041760") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(uint *)(iVar1 + 0x10) = param_1 >> 2;" (assignment_expression "*(uint *)(iVar1 + 0x10) = param_1 >> 2" (pointer_expression "*(uint *)(iVar1 + 0x10)" (* "*") (cast_expression "(uint *)(iVar1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "param_1 >> 2" (identifier "param_1") (>> ">>") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(type_2 var_2)

{
  type_1 *puVar1;
  
  puVar1 = var_1(lc_sprel);
  (puVar1->r).record.r.mask.i = (type_3 *)(var_2 >> 2);
  return puVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (identifier) right: (number_literal)))) (return_statement))))

void MASKED(uint param_1)

{
  int iVar1;
  
  iVar1 = FUN_00041760();
  *(uint *)(iVar1 + 0x10) = param_1 >> 2;
  return;
}

