Merge "Cast method pointer to uintptr_t before uint64_t"