
/* WARNING: Unknown calling convention */

size_t proctab_hasher(size_t tabsize)

{
  tempnode *node;
  
  return (uint)node->pid % tabsize;
}



uint FUN_00015a60(int param_1,uint param_2)

{
  return *(uint *)(param_1 + 4) % param_2;
}


MOV EAX,dword ptr [ESP + 0x4]
XOR EDX,EDX
MOV EAX,dword ptr [EAX + 0x4]
DIV dword ptr [ESP + 0x8]
MOV EAX,EDX
RET
(translation_unit "uint FUN_00015a60(int param_1,uint param_2)\n\n{\n  return *(uint *)(param_1 + 4) % param_2;\n}\n\n" (function_definition "uint FUN_00015a60(int param_1,uint param_2)\n\n{\n  return *(uint *)(param_1 + 4) % param_2;\n}" type_identifier (function_declarator "FUN_00015a60(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  return *(uint *)(param_1 + 4) % param_2;\n}" { (return_statement "return *(uint *)(param_1 + 4) % param_2;" return (binary_expression "*(uint *)(param_1 + 4) % param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) % identifier) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nsize_t proctab_hasher(size_t tabsize)\n\n{\n  tempnode *node;\n  \n  return (uint)node->pid % tabsize;\n}\n\n" comment (function_definition "size_t proctab_hasher(size_t tabsize)\n\n{\n  tempnode *node;\n  \n  return (uint)node->pid % tabsize;\n}" primitive_type (function_declarator "proctab_hasher(size_t tabsize)" identifier (parameter_list "(size_t tabsize)" ( (parameter_declaration "size_t tabsize" primitive_type identifier) ))) (compound_statement "{\n  tempnode *node;\n  \n  return (uint)node->pid % tabsize;\n}" { (declaration "tempnode *node;" type_identifier (pointer_declarator "*node" * identifier) ;) (return_statement "return (uint)node->pid % tabsize;" return (binary_expression "(uint)node->pid % tabsize" (cast_expression "(uint)node->pid" ( (type_descriptor "uint" type_identifier) ) (field_expression "node->pid" identifier -> field_identifier)) % identifier) ;) })))
(translation_unit "uint FUN_00015a60(int param_1,uint param_2)\n\n{\n  return *(uint *)(param_1 + 4) % param_2;\n}\n\n" (function_definition "uint FUN_00015a60(int param_1,uint param_2)\n\n{\n  return *(uint *)(param_1 + 4) % param_2;\n}" type_identifier (function_declarator "FUN_00015a60(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  return *(uint *)(param_1 + 4) % param_2;\n}" { (return_statement "return *(uint *)(param_1 + 4) % param_2;" return (binary_expression "*(uint *)(param_1 + 4) % param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) % identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT) ;) })))
(function_definition "uint FUN_00015a60(int param_1,uint param_2)\n\n{\n  return *(uint *)(param_1 + 4) % param_2;\n}" (type_identifier "uint") (function_declarator "FUN_00015a60(int param_1,uint param_2)" (identifier "FUN_00015a60") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  return *(uint *)(param_1 + 4) % param_2;\n}" ({ "{") (return_statement "return *(uint *)(param_1 + 4) % param_2;" (return "return") (binary_expression "*(uint *)(param_1 + 4) % param_2" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (% "%") (identifier "param_2")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

size_t function_1(size_t var_1)

{
  type_1 *node;
  
  return (type_2)node->pid % var_1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (return_statement (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: (identifier))))))

uint MASKED(int param_1,uint param_2)

{
  return *(uint *)(param_1 + 4) % param_2;
}

